/*=========================================
        NAVBAR
=========================================*/

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    background:#f2f5ed;

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid transparent;

    transition:.4s ease;

}

/*==============================
        Sticky
==============================*/

.header.sticky{

    background:#f2f5ed;

    border-color:#f5f2ed;

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

}

/*==============================
        Navbar
==============================*/

.navbar{

    height:88px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

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

.logo{

    font-family:'Anton',sans-serif;

    font-size:2.4rem;

    letter-spacing:2px;

    color:#050505;

    transition:.35s;

}

.logo:hover{

    color:var(--red);

}

.logo img{
    height:65px;
    width:auto;
}

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

.nav-links{

    display:flex;

    align-items:center;

    gap:52px;

}

.nav-links li{

    position:relative;

}

.nav-links a{

    position:relative;

    display:inline-block;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:2px;

    color:#111;

    transition:.35s;

}

/*==============================
        Underline Animation
==============================*/

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--red);

    transition:.35s;

}

.nav-links a:hover{

    color:var(--red);

}

.nav-links a:hover::after{

    width:100%;

}

/*==============================
        Hire Button
==============================*/

.hire-btn{

    height:48px;

    padding:0 28px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--red);

    color:#f5f2ed;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:2px;

    transition:.35s;

}

.hire-btn:hover{

    background:#050505;

    transform:translateY(-3px);

}

/*==============================
        Mobile Toggle
==============================*/

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    cursor:pointer;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:6px;

}

.menu-toggle span{

    width:24px;

    height:2px;

    background:#111;

    transition:.35s;

}

/*==============================
        Active Toggle
==============================*/

.menu-toggle.active span:nth-child(1){

    transform:translateY(8px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-8px) rotate(-45deg);

}

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

@media(max-width:991px){

    .menu-toggle{

        display:flex;

    }

    .nav-links{

        position:fixed;

        top:88px;

        right:-100%;

        width:340px;

        height:calc(100vh - 88px);

        background:#f5f2ed;

        flex-direction:column;

        justify-content:flex-start;

        align-items:flex-start;

        padding:60px 45px;

        gap:34px;

        transition:.45s ease;

        border-left:1px solid #f5f2ed;

    }

    .nav-links.active{

        right:0;

    }

    .hire-btn{

        display:none;

    }

}

/*==============================
        Tablet
==============================*/

@media(max-width:1200px){

    .nav-links{

        gap:34px;

    }

}

/*==============================
        Small Devices
==============================*/

@media(max-width:576px){

    .navbar{

        height:78px;

    }

    .logo{

        font-size:2rem;

    }

    .nav-links{

        width:100%;

        top:78px;

        height:calc(100vh - 78px);

        padding:45px 35px;

    }

    .nav-links a{

        font-size:.95rem;

    }

}