/* ==========================================================
   HEADER
========================================================== */
.MainNavSite{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.77);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 14px 44px rgba(0,0,0,.08);
    z-index: 20;
}
.desk-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4.5rem;
    position: relative;
    z-index: 100;
}

.logo {
    flex-shrink: 0;
}

img.brandImg {
    display: block;
    width: 120px;
    height: auto;
}

/* ==========================================================
   NAVIGATION
========================================================== */

.main-navigation {
    width: 100%;
}

.menu-area {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    flex: 2;
}

.menu-area li {
    list-style: none;
}

.menu-area a {
    display: block;
    padding: .75rem 1rem;
    text-decoration: none;
    transition: .3s;
    position:relative;
}

.menu-area a:hover {
    opacity: 1;
}
.menu-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}
.menu-area li.active > a,
.menu-area a.active{
}
.menu-area a:before{
    content:'';
    position:absolute;
    top:-100px;
    right:5px;
    width:8px;
    height:8px;
    border-radius:20px;
    transition:.3s ease-in-out;
}
.menu-area a.active:before{
    background-color:#f8d347;
    top:5px;
}
/* ==========================================================
   HAMBURGER
========================================================== */

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 999;
}

.hamburger .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #7a7a7a;
    transition: .3s ease;
}

.hamburger .bar:nth-child(1) {
    top: 0;
}

.hamburger .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger .bar:nth-child(3) {
    bottom: 0;
}

/* X Animation */

.hamburger.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ==========================================================
   MOBILE
========================================================== */
@media(max-width:1024px){
    .desk-menu{
        padding-left:1rem;
        padding-right:1rem;
        padding-bottom: 1.5rem;
    }
}
@media (max-width:991px){

    .desk-menu{
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    img.brandImg{
        margin-top: 0;
        width: 100px;
    }

    .hamburger{
        display:block;
        position:absolute;
        right: 41px;
        top: 34px;
    }

    .main-navigation{
        width:100%;
        max-height:0;
        overflow:hidden;
        transition:max-height .35s ease;
    }

    .main-navigation.active{
        max-height:500px;
    }

    .menu-area{
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:0;
    }

    .menu-area li{
        width:100%;
    }

    .menu-area a{
        width:100%;
        padding: 0;
        /* border-bottom:1px solid rgba(0,0,0,.08); */
        padding-top: 2rem;
    }
    .menu-buttons{
        margin-top:2rem;
        /* flex-direction: column; */
        justify-content: center;
    }
    .menu-buttons .buttonDefault{
        font-size:.8rem;
        padding: .3rem .3rem .3rem 1rem;
    }
    .menu-area a.active:before{
        display:none;
    }

}

/* ==========================================================
   DESKTOP
========================================================== */

@media (min-width:992px){

    .hamburger{
        display:none;
    }

    .main-navigation{
        display: flex !important;
    }

    .menu-area{
        justify-content: center;
    }

    .menu-area > li{
        text-align:center;
    }

}