.mnc {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

.l-top-nav {
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 10px 10px #dedede;
}

.l-top-nav a {
    display: flex;
    align-items: center;
    margin: 0 0 0 2rem;
    text-align: center;
}

.l-top-nav h3, .l-top-nav h5 {
    margin: 0;
}

svg.menu-button {
    float: right;
    margin: 2rem;
    width: 2rem;
    height: 2rem;
    fill: #505050;
}

#nav-logo {
    height: 2.5rem;
}

#nav-logo-color-span {
    font-weight: 500;
}

.menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: right;
    background-color: white;
    box-shadow: 0px 10px 10px #dedede;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(-20%);
    pointer-events: none;
}

.show-menu {
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
}

.menu div, .menu a {
    color: #575757;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    cursor: pointer;
}

.dropdown:hover, .menu > a:hover, .submenu > a:hover, .active-nav {
    background-color: #f0f0f0;
}

div.submenu {
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: height 0.2s ease-in-out;
    height: 0px;
    overflow: hidden;
}

.submenu a {
    font-size: 1rem;
    margin-right: 2rem;
}

.border-cyan {
    border-color: #00aaff;
}

.border-magenta {
    border-color: #ff00b3;
}

.border-yellow {
    border-color: #ffe600;
}

.border-black {
    border-color: black;
}

.border-black-80 {
    border-color: #454545;
}

.border-black-60 {
    border-color: #656565;
}

.border-black-40 {
    border-color: #7d7d7d;
}

.border-black-20 {
    border-color: #969696;
}

.border-cyan, .border-magenta, .border-yellow, .border-black,
.border-black-80, .border-black-60, .border-black-40, .border-black-20 {
    border-right-style: solid;
    border-right-width: 1rem;
}

/* TABLET */
@media screen and (min-width: 800px) {
    
    #nav-logo {
        height: 3rem;
    }
}

/* DESKTOP */
@media screen and (min-width: 1080px) {

    .mnc {
        display: flex;
        box-shadow: 0px 10px 10px #dedede;
    }

    .l-top-nav {
        box-shadow: none;
        width: 100%;
    }

    .l-top-nav a {
        margin: 1.2rem 0 0 2rem;
        display: flex;
        align-items: start;
    }

    .l-top-nav h3 {
        font-size: 1.4rem;
    }
    
    .l-top-nav h5 {
        font-size: 1rem;
    }

    #nav-logo {
        display: block;
        height: 3rem;
        margin-right: 0.8rem;
    }

    .menu-button {
        display: none;
    }
    
    .menu {
        position: static;
        transform: translateY(0%);
        flex-direction: row;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        height: 100%;
        justify-content: right;
    }

    .top-nav {
        width: 100%;
    }

    .menu > div, .menu > a {
        padding: 2rem 1rem 1rem 1rem;
        width: 33.3%;
        text-align: center;
    }

    div.submenu {
        position: absolute;
        height: auto;
        padding: 0;
        transform: translateY(82px);
        background-color: white;
        box-shadow: 0px 10px 10px #dedede;
        height: 0px;
    }

    div.services-submenu {
        transform: translate(-200%, 82px);
    }

    div.submenu > a {
        width: 100%;
        margin: 0;
        padding: 1rem;
        box-sizing: border-box;
    }

    .border-cyan, .border-magenta,
    .border-yellow, .border-black {
        border-right: none;
        border-bottom-style: solid;
        border-bottom-width: 0.5rem;
    }

    .border-black-80, .border-black-60,
    .border-black-40, .border-black-20 {
        border-right: none;
    }
}

@media screen and (min-width: 1366px) {
    .mnc {
        width: 80%;
        margin: auto;
    }
}

/* QHD */
@media screen and (min-width: 2560px) {

}

/* UHD */
@media screen and (min-width: 3840px) {

}
