/* ===========================
   Navigation Bar
=========================== */

.navbar{

    position:fixed;

    top:25px;
    left:50%;

    transform:translateX(-50%);

    width:92%;
    max-width:1200px;

    height:75px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 35px;

    background:rgba(15,15,15,.60);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.35);

    z-index:1000;

}

/* ===========================
   Logo
=========================== */

.logo{

    font-size:1.7rem;

    font-weight:700;

    letter-spacing:2px;

    color:white;

    cursor:pointer;

    user-select:none;

    transition:.3s;

}

.logo:hover{

    color:#4da3ff;

}

/* ===========================
   Navigation Links
=========================== */

.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links li{

    display:flex;

    align-items:center;

}

.nav-links a{

    color:white;

    font-weight:500;

    font-size:1rem;

    position:relative;

    transition:.3s;

}

/* ===========================
   Animated Underline
=========================== */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;

    height:2px;

    background:white;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

.nav-links a:hover{

    color:#ffffff;

}

/* ===========================
   Mobile (We'll Improve Later)
=========================== */

@media (max-width: 900px){

    .navbar{

        width:95%;

        padding:0 20px;

        height:70px;

    }

    .nav-links{

        gap:16px;

    }

    .nav-links a{

        font-size:.9rem;

    }

}
/* ==========================
   Hamburger Button
========================== */

.hamburger{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:2rem;

    cursor:pointer;

}

/* ==========================
   Mobile Navigation
========================== */

@media(max-width:768px){

    .hamburger{

    display:none;

    width:45px;
    height:45px;

    background:none;

    border:none;

    cursor:pointer;

    position:relative;

}

.hamburger span{

    position:absolute;

    left:8px;

    width:28px;
    height:3px;

    background:white;

    border-radius:10px;

    transition:.35s ease;

}


.hamburger span:nth-child(1){

    top:12px;

}


.hamburger span:nth-child(2){

    top:21px;

}


.hamburger span:nth-child(3){

    top:30px;

}


/* ===========================
   Hamburger Animation
=========================== */

.hamburger.active span:nth-child(1){

    transform:rotate(45deg);

    top:21px;

}


.hamburger.active span:nth-child(2){

    opacity:0;

}


.hamburger.active span:nth-child(3){

    transform:rotate(-45deg);

    top:21px;

}
    .nav-links{

        position:fixed;

        top:95px;

        left:50%;

        transform:translateX(-50%) scale(.95);

        width:90%;

        padding:40px;

        flex-direction:column;

        gap:25px;

        text-align:center;

        background:rgba(15,15,15,.92);

        backdrop-filter:blur(20px);

        border-radius:20px;

        border:1px solid rgba(255,255,255,.08);

        opacity:0;

        visibility:hidden;

        transition:.35s;

    }

    .nav-links.active{

        opacity:1;

        visibility:visible;

        transform:translateX(-50%) scale(1);

    }

}