/*
==========
= HEADER =
==========
 */

/*Header stuff (Navigation, Logo etc.)*/

header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
}

.logo {
    position: absolute;
    right: 10px;
    display: block;
    text-decoration: none;
    width: 85px;
    z-index: 11;
    margin-top: 16px;
}
@media screen and (min-width: 768px) {
    .logo {
        width: 179px;
        margin-top: 42px;
    }
}
.logo svg g,
.icn-menu-open path {
    transition: all 0.4s;
}
.header_is_dark .logo svg g {
    fill: var(--blue);
}
.header_is_dark .icn-menu-open path {
    stroke: var(--blue);
}

/*Main-Nav*/

.main-nav-container {
    position: fixed;
    transform: translateY(-100vh);
    z-index: 9;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    background-color: var(--orange);
    color: #fff;
    transition: all 0.25s ease-in-out;
    top: 0;
    font-family: var(--sans);
    right: 0;
    left: 0;
    overflow: auto;
    padding-top: 73px;
    padding-bottom: 20px;
    pointer-events: none;
}
@media screen and (min-width: 768px) {
    .main-nav-container {
        padding-top: 100px;
    }
}
.nav_is_open .main-nav-container {
    visibility: visible;
    height: 100vh;
    height: auto;
    opacity: 1;
    pointer-events: all;

    -webkit-overflow-scrolling: touch;
    margin-bottom: 3.741149158vw;
    transform: translateY(0);
    overflow: visible;
}
.main-nav-container:after {
    content: "";
    display: block;
    width: 100%;
    height: 3.741149158vw;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-image: url(../images/ui/wave-orange.svg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.main-nav-container > .main-nav {
    padding: 0;
    position: relative;
    max-width: 366px;
}

.main-nav li {
    list-style: none;
    margin-bottom: 0;
}

.main-nav a {
    display: block;
    text-align: left;
    padding: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0;
    color: #fff;
}
@media screen and (min-width: 768px) {
    .main-nav a {
        font-family: Parkinsans;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 24px;
        leading-trim: NONE;
        line-height: 33px;
        letter-spacing: 0%;
    }
}
@media (hover: hover) {
    .main-nav a:hover {
        color: var(--blue);
    }
}
/* .main-nav .current-menu-ancestor > a,
.main-nav .current-menu-item > a {
    color: var(--blue);
    text-decoration: underline !important;
    -webkit-text-decoration-style: wavy;
    text-decoration-style: wavy;
    text-decoration-offset: 25%;
    text-decoration-thickness: 10%;
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
} */
@media screen and (min-width: 768px) {
    .main-nav .current-menu-ancestor > a,
    .main-nav .current-menu-item > a {
        text-decoration-thickness: 16%;
    }
}
.menu-btn {
    z-index: 11;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    border: none;
    background-color: transparent !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px 16px;
    padding-left: 12px !important;
    padding-right: 0 !important;
}

@media screen and (min-width: 768px) {
    .menu-btn {
        top: 49px;
        left: auto;
        background-size: 24px 16px;
    }
}
@media screen and (min-width: 1270px) {
    .menu-btn {
        transform: translateX(-65px);
    }
}
.menu-btn svg {
    position: absolute;
    left: 12px;
    right: auto;
    top: 0;
    bottom: 0;
    margin: auto auto auto 0;
    transition: opacity 0.2s ease-out;
}
.icn-menu-open {
    opacity: 1;
    width: 32px !important;
}
.icn-menu-close {
    opacity: 0;
    width: 32px;
}
.nav_is_open .icn-menu-open {
    opacity: 0;
}
.nav_is_open .icn-menu-close {
    opacity: 1;
}
.menu-btn:focus {
    background-color: transparent;
}
