@import url('https://fonts.googleapis.com/css2?family=Cuprum:ital,wght@0,400..700;1,400..700&family=DynaPuff:wght@400..700&family=Lilita+One&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gasoek+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #005dd6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    opacity: 0;
}

.navbar {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    background-color: #f8f8f8;
    margin: 20px 25px;
    padding: 8px 40px;
    border: 2px solid black;
    border-radius: 30px;
    box-shadow: 3px 3px 0 black;
    z-index: 99;
}

.navbar a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 0 10px;
    font-family: 'Cuprum';
    padding: 5px;
    transition: 0.3s;
}

.navbar a button {
    font-family: 'Cuprum';
    font-size: 15px;
    font-weight: bold;
    border-radius: 20px;
    padding: 8px 15px;
    background-color: rgb(255, 217, 0);
}

.navbar a:hover {
    color: rgb(243, 223, 9);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
}

.dropdown-pendahuluan,
.dropdown-rencana,
.dropdown-hasil,
.dropdown-penutup {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dropdown-pendahuluan:hover .dropdown-pendahuluan-content,
.dropdown-rencana:hover .dropdown-rencana-content,
.dropdown-hasil:hover .dropdown-hasil-content,
.dropdown-penutup:hover .dropdown-penutup-content {
    display: block;
}

.dropdown-pendahuluan-content,
.dropdown-rencana-content,
.dropdown-hasil-content,
.dropdown-penutup-content {
    display: none;
    position: absolute;
    top: 100%;
    transform: none;
    border-radius: 5px;
    border: 3px solid black;
    z-index: 10;
    padding: 0;
}

.dropdown-pendahuluan-content a,
.dropdown-rencana-content a,
.dropdown-hasil-content a,
.dropdown-penutup-content a {
    color: black;
    background-color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 50px auto;
    margin-top: 620px;
    margin-bottom: 100px;
}

.text-section {
    max-width: 40%;
}

.text-section p {
    color: white;
    margin-top: 10px;
    font-family: 'Funnel Display';
}

h1 {
    position: relative;
    z-index: 2;
    font-size: 5rem;
    -webkit-text-stroke: 1px black;
    text-shadow: 3px 3px 0 black;
    color: white;
    font-family: 'Gasoek One';
    display: inline-block;
    line-height: 0.9;
    margin-bottom: -10px;
}

h1 span {
    font-weight: bold;
    font-family: 'Lilita One';
    color: white;
    padding: 5px;
    border-radius: 5px;
    -webkit-text-stroke: 1px black;
    text-shadow: 2px 2px 0 black;
}

.btn {
    background-color: #ffcc00;
    border: 2px solid black;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 5px 5px 0px black;
}

.btn:hover {
    background-color: #ffaa00;
}

/* Image Section */
.image-section {
    position: relative;
    max-width: 45%;
    background-color: rgb(35, 35, 35);
    border-radius: 20px;
    border: 2px solid black;
    box-shadow: 5px 5px 0px black;
    margin-top: 15px;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.star-yogi{
    position: absolute;
    top: 9%;
    left: 0;
    width: 550px;
    z-index: -1;
    transform: rotate(50deg);
    scale: 1.2;
}

.star-img{
    position: absolute;
    top: 53%;
    left: 37%;
    z-index: -1;
    transform: rotate(30deg);
    scale: 0.75;
}

.star-team{
    position: absolute;
    top: 100%;
    left: 1%;
    width: 550px;
    z-index: -1;
    transform: rotate(50deg);
    scale: 0.9;
}

.team {
    width: 100%;
    height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;
    }

.team-content {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, auto));
    align-items: center;
    gap: 2rem;
    text-align: center;
    margin-top: 4rem;
    margin-top: -10px;
}

.team-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.center {
    text-align: center;
}

.center h1 {
    color: #fff;
    font-size: 4rem;
    text-align: center;
}

.box {
    padding: 16px;
    background: #fff;
    border-radius: 15px;
    transition: all .38s ease;
    border: 3px solid black;
    box-shadow: 3px 3px 0 black;
}

.box h3 {
    font-size: 23px;
    font-weight: 600;
    color: black;
    font-family: 'Cuprum';
    margin-bottom: 8px;
}

.icons i {
    display: inline-block;
    color: black;
    font-size: 20px;
    margin: 0 8px;
    transition: all .38s ease;
}

.icons i:hover {
    transform: scale(1.2);
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(to bottom right, rgb(157, 0, 255), rgb(255, 0, 81), rgb(255, 213, 0));
}

.box:hover {
    transform: translateY(-10px) !important;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .content {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin-top: 300px; /* Adjust as needed */
    }

    .text-section {
        max-width: 100%;
        text-align: center;
    }

    .image-section {
        max-width: 100%;
    }

    .team-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 20px;
    }

    h1 {
        font-size: 3rem;
    }

    .btn {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .navbar a {
        font-size: 14px;
    }
}

.navbar a button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navbar a button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 217, 0, 0.4);
}

.navbar a button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.navbar a button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.navbar {
    animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgb(243, 223, 9);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.home {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-pick {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f7afb6;
    color: #333;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}