@import url('https://fonts.cdnfonts.com/css/segoe-ui-7');

* {
    font-family: 'Segoe UI', sans-serif;
}

/* navbar Section */
/* .bagian-menu {
    position: absolute;
    top: 16px;
    right: 16px;
}

.title-menu {
    margin-left: 4px;
    color: #333;
    font-size: 16px;
    font-weight: 700 !important;
}

.btn-menu {
    border: none;
    background: none;
    padding: 12px;
}

.btn-menu:hover {
    background-color: rgba(224, 224, 224, 0.5);
}

.btn-close:focus,
.btn-close:active {
    outline: none !important;
    box-shadow: none !important;
} */


/* konten Section */
.frame-konten {
    display: flex;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 64px;
    width: 50%;
    height: auto;
    margin: 0 auto;
    min-height: 100vh;
}

/* title Konten */
.title-konten {
    display: flex; 
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);;
    padding-bottom: 38px;
}

.namet-konten h2{
    font-size: 28px;
    font-weight: 700;
}

.namet-konten p {
    font-size: 18px;
}

.nama-konten h2 {
    font-size: 24px;
    font-weight: bold;
}

.about-konten .nama-konten p {
    font-size: 18px;
}

.title-img img {
    max-width: 100px;
    height: auto;
    transform: scaleX(-1);
    display: block;
}

/* about me Konten */
.about-konten {
    display: flex; 
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 38px;
    padding-bottom: 38px;
}

/* skill konten */
.skill-konten {
    display: flex;
    gap: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 38px;
    padding-bottom: 22px;
}

.skill-frame {
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 8px;
}

.skill-img {
    transition: transform 0.2s ease-in-out;
}

.skill-img img {
    width: 50%;
    height: auto;
    max-width: 100px;
    height: auto;
    display: block;
}

.skill-img:hover {
    transform: scale(1.05);
}

/* project konten */
.project-konten {
    display: flex;
    gap: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 38px;
    padding-bottom: 38px;
}

.project-konten .nama-konten h2 {
    padding-bottom: 10px;
}

.card-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.card-konten {
    text-align: center;
}

.card {
    border: 1px solid #0964AF !important;
    border-radius: 8px;
    padding: 20px;
    width: 210px;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    cursor: pointer;
    margin-bottom: 8px;
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card:hover {
    transform: scale(1.05);
}

.card h2 {
    margin-top: 0;
}

.card a {
    text-decoration: none;
}

/* kontak section */
.kontak-konten {
    display: flex;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 38px;
    padding-bottom: 38px;
}

.kontak-konten .nama-konten h2 {
    padding-bottom: 10px;
    margin-bottom: 0;
}

.card-email {
    display: flex;
    align-items: center;
    border: 1px solid #0964AF;
    border-radius: 8px;
    padding: 20px;
    width: 75px;
    height: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    cursor: pointer;
    margin-bottom: 8px;
}

.card-email p {
    margin-left: 20px;
    color: #00FFFF;
}

.card-email a {
    text-decoration: none;
    color: #1f0f0f;
}

.card-email:hover {
    transform: scale(1.05);
}

/* sosial section */
.sosial-konten {
    display: flex;
    padding-top: 64px;
    padding-bottom: 12px;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 55px;
    margin-bottom: 8px;
}

.social-icons i {
    max-width: 100%;
}

/* Footer Section */
.foot-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-section p {
    text-align: center;
    color: #333;
    margin-bottom: 0px;
    font-size: 14px;
}

.foot-section a {
    color: #333;
    text-decoration: none !important;
}

/* Media Queries untuk layar lebih kecil (smartphone) */
@media (max-width: 768px) {
    .frame-konten {
        width: 100%; /* Membuat lebar konten menjadi 100% pada layar kecil */
        padding-left: 16px;
        padding-right: 16px;
    }

    .title-konten {
        flex-direction: column; /* Mengubah layout menjadi kolom */
        text-align: center; /* Menengahkan teks dan gambar */
        gap: 8px;
    }

    .title-img {
        display: none;
    }

    .title-img img {
        max-width: 80px; /* Mengurangi ukuran gambar */
    }

    .namet-konten h2 {
        font-size: 20px; /* Mengurangi ukuran font pada mobile */
    }

    .about-konten, .skill-konten, .project-konten, .kontak-konten {
        flex-direction: column; /* Menata elemen secara vertikal */
        align-items: center;
        padding-top: 16px;
    }
}

/* Media Queries untuk layar lebih besar (tablet ke atas) */
@media (max-width: 1024px) {
    .frame-konten {
        width: 80%; /* Lebar konten 80% untuk tablet */
    }

    .card-container {
        grid-template-columns: 1fr 1fr 1fr; /* Menampilkan 3 kolom pada tablet */
    }
}