nav .active,
.menu-collapse .active,
.menu-collapse li .product-links .active {
    color: rgb(0, 168, 107);
}

header {
    background-color: white;
    max-width: 100%;
    height: 6.25rem;
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    padding-left: 1.5625rem;
    padding-right: 1.5625rem;
}

header .menu-and-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

header .menu {
    position: absolute;
    left: 1.5625rem;
}

header .menu img {
    max-width: 2rem;
    
    transition: opacity 0.15s;
}

header .menu img:hover {
    opacity: 0.4;
}

header .logo {
    display: flex;
    justify-content: center;
}

header .logo img {
    max-width: 12.190625rem;
}

/* Collapsable menu start */
.menu-collapse {
    max-width: 100%;
    max-height: 0rem;

    transition: max-height 0.8s;
}

.show-menu {   /* JavaScript toggle */
    max-height: 62.5rem;
}

.show-products {   /* JavaScript toggle */
    transition: max-height 0.2s;
    max-height: 6.25rem;
}

.show-languages {   /* JavaScript toggle */
    transition: max-height 0.2s;
    max-height: 3.125rem;
}

.menu-collapse > li {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    margin-left: 5%;
    margin-right: 5%;
    border-bottom: 0.0625rem solid rgba(67,67,67,0.5);
}

[class$="collapse"] {   /* for both the li of .product-collapse and .language-collapse*/
    max-height: 0rem;
    overflow: hidden;

    transition: max-height 0.2s;
}

.menu-collapse [class$="links"] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#productArrow,   /* arrow images */
#languageArrow {
    height: 1.25rem;
}

.menu-collapse > li a,
.menu-collapse [class$="links"] a,
.show-products > li a,
.show-languages > li a {
    color: black;
    line-height: 1.625rem;
    font-family: "Noto Serif", sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;

    transition: color 0.25s;
}

.menu-collapse > li:hover > a,
.menu-collapse [class$="links"]:hover a,
.show-products > li:hover a,
.show-languages > li:hover a {
    color: rgb(26, 188, 156);
}
/* Collapsable menu end */

/* Nav start */
header nav {
    height: 5.625rem;

    display: none;
}

header nav ul {
    height: inherit; 

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header nav ul li {
    height: inherit;  

    padding-left: 1rem;
    padding-right: 1rem;
}

header nav ul li a {
    height: inherit;  
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    color: black;
    text-decoration: none;
    letter-spacing: 0.0625rem;

    font-weight: 500;

    transition: color 0.3s;
}

header nav li:hover > a{   
    color: rgb(26, 188, 156);
}

header nav li {
    position: relative;
}

.product-content {
    width: 15.625rem;
}

.product-content a {
    padding-left: 1.0625rem;
}

.language-content {
    width: 100%;
    font-size: 0.8125rem;
}

.language-content a {
    padding-left: 0.3125rem;
}

header [class$="content"] {
    background-color: white;
    position: absolute;
    top: 100%;
    z-index: 3;

    display: none;
}

[class$="content"] a {
    display: block;

    border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.2);   

    line-height: 3.125rem;
}

[class$="content"] a:hover {
    color: rgb(26, 188, 156);
}

nav li:hover [class$="content"] {  
    display: block;
}
/* Nav end */

@media (min-width: 68.75em) {   /* 1100px */
    header {
        width: 100%;
        height: 5.625rem;
        position: sticky;
        top: -5.625rem;
        z-index: 3;

        justify-content: space-between;

        padding-left: 5%;

        opacity: 0.9;
        transition: top 0.3s ease;
    }

    header.sticky {
        top: 0;
    }

    header .menu {
        display: none;
    }

    .menu-collapse {
        display: none;
    }

    header nav {
        display: flex;
    }
}