#menubar {
    background-color: #3d405b;
    position: fixed; left: 0; top: 0;
    width: 100vw; height: 6rem; overflow: hidden;
    display: flex; align-items: center;
    z-index: 1000;
}

#menubar:hover {
    opacity: 1 !important;
}

#pages-wrapper {
    display: flex; gap: 2rem; align-items: center;
    position: fixed; height: 6rem; right: 2rem;
    font-size: 1.2rem;
}

.has-sub::after {
    content: "\25BC";
    font-size: 0.6rem;
    position: relative; bottom: 0.2rem;
}

.sub .submenu {
    display: none;

    position: absolute;
    flex-direction: column;
    gap: 0.2rem;
    background-color: #3d405b;
    padding: 2.3rem 1rem 1rem;
    border-radius: 0.2rem;
}


.menu-link, .submenu-link {
    color: white;
    text-decoration: none;
}

.menu-link:hover, .submenu-link:hover {
    color: #f4a460;
    text-decoration: none;
}




/* for on hover opening */
@media all and (min-width: 992px) {
    .sub:hover .submenu {
        display: flex;
    }

    .submenu-link {
        padding-left: 0;
        padding-right: 0.5rem;
        -webkit-transition: .25s ;
        -moz-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }

    .submenu-link:hover {
        padding-left: 0.5rem;
        padding-right: 0;
        -webkit-transition: .25s ;
        -moz-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }

    #submenuAwards {
        margin-left: -3.5rem;
        white-space: nowrap;
    }
}

#mobile-menu-icon { opacity: 0 }

/* for mobile */
@media all and (max-width: 991px) {
    #mobile-menu-icon {
        opacity: 1;
        position: absolute; right: 0; top: 0;
        margin: 2.4rem 2.2rem 2.4rem 0;
    }

    #pages-wrapper {
        width: 100vw; height: 0;
        position: fixed; left: 0; top: 0;
        display: none;
        justify-content: center; align-items: center; gap: 1.5rem; flex-direction: column;
        font-size: 1.6rem; font-weight: bold;
    }

    .has-sub::after {
        display: inline-block;
        transform: rotate(270deg);
        font-size: 0.8rem;
        position: relative; bottom: 0.25rem;
    }

    .sub .submenu {
        width: 100vw; height: 100vh;
        position: absolute; left: 100vw; top: 0;
        justify-content: center; align-items: center; gap: 0.8rem; flex-direction: column;
        font-size: 1.3rem; font-weight: bold;
    }

    .back {
        display: flex; align-items: center;
        position: absolute; height: 100vh;
        width: 20vw;
        left: 0; top: 0;
        justify-content: right;
    }

    .back::before {
        content: '\140A';
        font-size: 2rem;
        color: white;
    }
}

.logo { width: 8rem; position: absolute; left: 0; top: 0; margin: 0.9rem 0 0 0.9rem; }
