@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Jersey+10&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Shadows+Into+Light&display=swap');

* {
    box-sizing: border-box;
}

@keyframes imagefloat {
    50% {
        transform: translateY(10px);
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    position: sticky;
    margin: -15px 50px 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo {
    font-size: 30px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

header nav ul {
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 2rem 1rem;
}

header nav li {
    list-style-type: none;
}

header nav ul li::after {
    content: '';
    width: 0%;
    height: 1.5px;
    background-color: brown;
    display: block;
    margin: auto;
    transition: 0.5s;
}

header nav ul li:hover::after {
    width: 100%;
}

a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 16px;
    color: black;
    font-weight: 700;
    transition: all 0.5s ease-in-out;
}

main {
    display: flex;
    justify-content: center;
    padding: auto;
    margin: auto;
}

main .content {
    display: flex;
    flex-direction: row-reverse;
    padding-top: 55px;
    align-items: center;
    gap: 90px;
}

aside {
    height: 200px;
    width: 200px;
    animation: imagefloat 5s infinite;
    margin: auto;
}

aside .profile img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.description-content .description p {
    font-size: 16px;
    word-wrap: break-word;
    width: 500px;
}

.description-content .description h1 {
    font-size: 28px;
}

.social-media {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.social-media img {
    width: 20px;
    height: 20px;
    border-radius: 10%;
    cursor: pointer;
}

.social-media img:hover {
    background-color: rgb(183, 208, 255);
}

footer {
    display: flex;
    flex-direction: column;
    color: white;
    background-color: #202020;
    text-align: center;
    font-weight: bold;
    margin-top: auto;
}

footer ul li {
    list-style-type: none;
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    main .content {
        display: flex;
        flex-direction: column;
    }

    aside {
        height: 170px;
        width: 170px;
    }

    .description-content .description p {
        max-width: 350px;
    }

    .social-media {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    header {
        flex-direction: column;
    }

    main .content {
        display: flex;
        flex-direction: column;
    }

    aside {
        height: 200px;
        width: 200px;
    }

    .description-content .description p {
        max-width: 500px;
    }

    .social-media {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Dropdown Bahasa */
/* Container dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Saira Condensed', sans-serif;
}

/* Tombol utama */
.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
}

/* Bendera */
.flag {
    font-size: 16px;
}

/* Chevron (tanda panah) */
.chevron {
    font-size: 10px;
    transition: transform 0.2s;
}

/* Panel dropdown */
.lang-menu {
    position: absolute;
    top: 110%;
    /* sedikit di bawah tombol */
    left: 0;
    background: #020617;
    border-radius: 12px;
    padding: 6px 0;
    min-width: 140px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid #111827;
    display: none;
    z-index: 20;
}

/* Item di dalam dropdown */
.lang-option {
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e5e7eb;
    text-align: left;
}

.lang-option:hover {
    background: #111827;
}

/* Saat dropdown aktif */
.lang-dropdown.open .lang-menu {
    display: block;
}

.lang-dropdown.open .chevron {
    transform: rotate(180deg);
}

.dropDown {
    display: block;
}

/* dropdown mode mobile */
@media screen and (max-width: 768px) {
    .dropDown {
        display: none;
    }

}

.dropUp {
    display: none;
}

/* dropUp mode mobile */
@media screen and (max-width: 768px) {
    .dropUp {
        display: block;
    }



    footer ul {
        display: flex;
        justify-content: space-between;
        /* kiri-kiri & kanan-kanan */
        align-items: center;
        width: 100%;
        padding: 0 20px;
        margin: 0;

    }
        footer ul li {
            list-style-type: none;
        }

        footer ul li::after {
            content: '';
            width: 0%;
            height: 1.5px;
            background-color: brown;
            display: block;
            margin: auto;
            transition: 0.5s;
        }

        footer ul li:hover::after {
            width: 100%;
        }

        .lang-dropup {
            position: relative;
            display: inline-block;
            font-family: 'Saira Condensed', sans-serif;
            display: block;
        }

        /* Tombol utama */
        .lang-trigger {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 2px 10px;
            background: #020617;
            color: #e5e7eb;
            border: 1px solid #374151;
            border-radius: 999px;
            cursor: pointer;
            font-size: 14px;
        }

        /* Bendera */
        .flag {
            font-size: 16px;
        }

        /* Chevron (tanda panah) */
        .chevron {
            font-size: 10px;
            transition: transform 0.2s;
        }

        /* Panel dropdown */
        .lang-menu {
            position: absolute;
            bottom: 110%;
            top: auto;
            left: 0;
            background: #020617;
            border-radius: 12px;
            padding: 6px 0;
            min-width: 140px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
            border: 1px solid #111827;
            display: none;
            z-index: 20;
        }

        /* Item di dalam dropdown */
        .lang-option {
            width: 100%;
            padding: 8px 12px;
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #e5e7eb;
            text-align: left;
        }

        .lang-option:hover {
            background: #111827;
        }

        /* Saat dropdown aktif */
        .lang-dropup.open .lang-menu {
            display: block;
        }

        .lang-dropup.open .chevron {
            transform: rotate(180deg);
        }

    }

    /*

header {
    display: flex;
    position: sticky;
    margin: -15px 50px 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo {
    font-size: 30px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
}

header nav ul {
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 2rem 1rem;
}


    */
