/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Umum */
body {
    font-family: helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    /* background-color: #0b362e; */
}
/* Style untuk gambar */
a img {
    width: 100%; /* Pastikan gambar menyesuaikan lebar kontainer */
    height: auto; /* Menjaga rasio gambar */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi untuk transformasi dan bayangan */
    border-radius: 8px; /* Opsional: memberikan sudut bulat */
}

/* Efek ketika di-hover */
a:hover img {
    transform: scale(1.1); /* Membesarkan gambar 10% */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Memberikan efek bayangan */
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.title {
    text-align: center;
    margin: 20px 0;
    color: #444;
}

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

/* Layout Utama */
.profile-skill, .experience-education {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.profile, .skill, .experience, .education {
    flex: 0 0 48%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .profile, .skill, .experience, .education {
        flex: 0 0 100%;
    }
}

/* Profil */
.profile img {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.profile span {
    display: block;
    margin-top: 20px;
    text-align: justify;
}

/* Skill */
.skill ul {
    list-style: none;
}

.skill li {
    margin-bottom: 20px;
}

.skill li div {
    background-color: #ddd;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.skill li div::after {
    content: '';
    display: block;
    height: 100%;
    background-color: #4caf50;
}

.level1::after {
    width: 95%;
}

.level2::after {
    width: 85%;
}

.level3::after {
    width: 75%;
}
.level4::after {
    width: 50%;
}
.level5::after {
    width: 45%;
}
.level6::after {
    width: 35%;
}
/* Experience & Education */
.table-container {
    width: 100%;
    overflow-x: auto;
}

.tabel {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tabel th, .tabel td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.tabel th {
    background-color: #f4f4f4;
}

/* Projects */
.project .content {
    margin-bottom: 40px;
}

.project .content h2 {
    margin-bottom: 10px;
}

.project .content img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.project .content p {
    margin-top: 10px;
    text-align: justify;
}

/* Kontak */
.contact {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
}

.contact .form-group {
    margin-bottom: 15px;
}

.contact input[type="text"],
.contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    padding: 10px 20px;
    border: none;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

/* Individual Card */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 48%;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
    flex-grow: 1;
}

/* Adjust card width for smaller screens */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}


.contact button:hover {
    background-color: #45a049;
}




.contact_info table {
    width: 100%;
    border-collapse: collapse;
}

.contact_info  th, .contact_info  td {
    text-align: left;
    padding: 8px;
    vertical-align: top;
}

.contact_info  th {
    width: 120px;
    font-weight: bold;
}

.contact_info  tr:nth-child(even) {
    background-color: #f9f9f9;
}

.concontact_info tact a {
    color: #007BFF;
    text-decoration: none;
}

.contact_info  a:hover {
    text-decoration: underline;
}


/* Responsif */
@media (max-width: 768px) {
    .profile-skill, .experience-education {
        flex-direction: column;
    }

    .project .content img {
        max-width: 100%;
    }
}
