nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 4;
    background-color: var(--white);
    height: 64px;
    display: flex;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
}

.navContainer {
    margin: 0px auto;
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding: 0px 96px;
}

.navLogo {
    display: flex;
}

.navLogo img {
    height: 100%;
    margin: auto 0px;
    padding: 8px 0px;
}

#navMenu, #openMobileMenu {
    display: flex;
    margin: 0px 0px 0px auto;
}

#navMenuMobile, #navMenuMobileBg, #openMobileMenu {
    display: none;
}

#navMenu a {
    float: left;
    font-size: var(--font-s);
    color: var(--primary);
    text-align: center;
    padding: 16px 24px 16px 24px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
    height: 64px;
}

.dropLink {
    line-height: 33px;
}

.dropdown .dropbtn {
    font-size: var(--font-s);
    border: none;
    color: var(--primary);
    padding: 0px 24px 0px 24px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    height: 100%;
}

#navMenu a:hover, .dropdown:hover .dropbtn {
    background-color: var(--primary);
    color: var(--white);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    max-width: 230px;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: var(--primary);
    padding: 16px;
    text-decoration: none;
    display: block;
    text-align: left !important;
    width: 100%;
}

.dropdown-content a:hover{
    background-color: var(--primary);
}

/*
.dropdown:hover .dropdown-content {
    display: block;
}*/

.dropdown-content.show {
    display: block; 
}

@media screen and (max-width: 1080px) {
    #navMenu {
        display: none;
    }
    .navContainer {
       padding: 0px 16px;
    }

    #openMobileMenu, #closeMobileMenu {
        background-color: inherit;
        font-family: inherit;
        border: none;
        display: flex;
    }
    #openMobileMenu img, #closeMobileMenu img {
        height: 40px;
        margin: auto;
    }

    #navMenuMobile {
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        z-index: 10;
        background-color: var(--white);
        height: 100vh;
        padding: 24px 0px;
        max-width: 240px;
        overflow-y: scroll;
    }
    #navMenuMobile hr {
       width: 100%;
       opacity: 0.3;
    }
    #navMenuMobileBg {
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100vw;
        height: 100vh;
        z-index: 5;
    }
    #navMenuMobile h2 {
        color: var(--primary);
        margin: 12px 0px;
    }
    #navMenuMobile h2{
       font-size: var(--font-m);
       font-weight: 500;
       padding: 0px 24px;
    }
    #navMenuMobile a {
        font-size: var(--font-s);
        color: var(--primary);
        padding: 12px 24px;
    }
    #navMenuMobile a:hover{
       background-color: var(--primary);
       color: var(--white);
    }
}