header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    border: 3px solid var(--white);
    position: relative;
}

header .nav-container {
    display: flex;
    position: relative;
}

header .nav {
    height: 100%;
    width: 97px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    padding: 0 26px;
    border-left: 3px solid var(--white);
    border-right: 3px solid var(--white);
}

header .lang-header {
    height: 100%;
    width: 100px;
    cursor: pointer;
    border-left: 3px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

header .expand-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: calc(100% + 3px);
    height: calc(100vh - 100px);
    left: calc(-100% - 6px);
    top: 97px;
    transition: .3s;
    z-index: 99999;
}

header .expand-menu.active {
    left: -3px;
}

header .expand-menu {
    border-style: solid;
    border-color: var(--white);
    border-width: 0 3px 3px 3px;
    padding: 100px 50px;
    background: var(--black);
}

header .expand-menu ul li {
    margin-bottom: 50px;
}

header .expand-menu ul li a,
header .expand-menu .submenu p {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: var(--white);
    display: flex;
    text-transform: uppercase;
    cursor: pointer;
}

header .expand-menu ul li a:hover,
header .expand-menu ul li.current_page_item a,
.author header .expand-menu ul li#menu-item-127 a,
header .expand-menu .submenu p:hover {
    color: var(--primary);
}

header .expand-menu ul li a span {
    font-weight: 300;
    font-size: 12px;
    line-height: 140%;
    margin-right: 10px;
    margin-top: 2px;
}

header .expand-menu .submenu {
    margin-top: 150px;
    border-top: 2px solid var(--white);
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

header .expand-menu .submenu div {
    display: flex;
    align-items: center;
    gap: 10PX;
}

header .expand-menu .submenu .terms {
    text-transform: uppercase;
    margin-top: 50px;
}

header .lang-popup {
    position: absolute;
    right: -320px;
    top: 100%;
    margin-top: 30px;
    z-index: 99999;
    padding: 87px 77px;
    border: 3px solid var(--white);
    background: var(--black);
    transition: .5s;
}

header .lang-popup.active {
    right: 87px;
}

header .lang-popup ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

header .lang-popup li a {
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--white);
    transition: .3s;
    position: relative;
    display: flex;
}

header .lang-popup li.current-lang a, header .lang-popup li a:hover {
    color: var(--primary);
}

header .lang-popup li.current-lang a::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 7px;
    width: 14px;
    height: 10px;
    background-image: url('../img/icons/check-solid-yellow.svg');
    filter: brightness(0) saturate(100%) invert(78%) sepia(96%) saturate(988%) hue-rotate(356deg) brightness(102%) contrast(103%);


}

/* BURGER  */

.nav svg {
    height: 80px;
    position: absolute;
    width: 80px;
    top: 10px;
    left: 10px;
}

.nav .plate {
    height: 100px;
    width: 100px;
}

.nav .burger {
    filter: url(#gooeyness);
}

.x {
    transform: scale(0);
    transition: transform 400ms;
}
.line {
    fill: none;
    stroke: #fff;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms, transform 500ms 200ms, stroke 500ms;
}

.nav svg:hover .line {
    stroke: var(--primary);
}

.x .line {
    stroke-width: 5.5px;
}

.plate2 .line1 {
    stroke-dasharray: 21 185.62753295898438;
    transition-delay: 0;
}
.plate2 .line2 {
    stroke-dasharray: 21 178.6514129638672;
    transition-delay: 30ms;
}
.plate2 .line3 {
    stroke-dasharray: 21 197.92425537109375;
    transition-delay: 60ms;
}
.plate2 .line4 {
    stroke-dasharray: 21 190.6597137451172;
    transition-delay: 90ms;
}
.plate2 .line5 {
    stroke-dasharray: 21 208.52874755859375;
    transition-delay: 120ms;
}
.plate2 .line6 {
    stroke-dasharray: 21 186.59703063964844;
    transition-delay: 150ms;
}
.active.plate2 .line1 {
    stroke-dasharray: 5 185.62753295898438;
    stroke-dashoffset: -141px;
}
.active.plate2 .line2 {
    stroke-dasharray: 5 178.6514129638672;
    stroke-dashoffset: -137px;
}
.active.plate2 .line3 {
    stroke-dasharray: 5 197.92425537109375;
    stroke-dashoffset: -176px;
}
.active.plate2 .line4 {
    stroke-dasharray: 5 190.6597137451172;
    stroke-dashoffset: -159px;
}
.active.plate2 .line5 {
    stroke-dasharray: 5 208.52874755859375;
    stroke-dashoffset: -139px;
}
.active.plate2 .line6 {
    stroke-dasharray: 5 186.59703063964844;
    stroke-dashoffset: -176px;
}
.active.plate2 .x {
    transition: transform 400ms 250ms;
}
.active .line {
    transition: stroke-dasharray 500ms, stroke-dashoffset 500ms, transform 500ms;
}
.active .x {
    transform: scale(1);
    transition: transform 400ms 350ms;
}

@media(max-width: 768px) {
    header .logo {
        position: relative;
        z-index: 9999;
    }
    #wpadminbar {
        position: fixed;
    }
    header {
        height: 40px;
        border-width: 2px;
    }
    header .nav-container {
        width: 100%;
    }
    header .nav {
        width: 40px;
    }
    .nav svg {
        left: -20px;
    }
    
    .nav .plate {
        transform: scale(0.5);
    }
    header .nav img {
        width: 10px;
    }
    header .lang-header {
    	width: 40px;
    	min-width: 40px;
    }
    header .logo {
        border-width: 0 0 0 2px;
        width: 100%;
        justify-content: center;
    }
    header .logo img {
        width: 60px;
        min-width: 60px;
    }
    header .expand-menu, header .lang-popup {
        border-width: 0 2px 2px 2px;
        width: calc(100% + 4px);
        top: 38px;
        height: calc(100vh - 40px);
        padding: 50px 40px;
        left: calc(-100% - 6px);
        right: unset;
        margin: 0;
    }
    header .expand-menu {
        width: calc(100% + 44px);
        left: calc(-100% - 6px - 60px);
    }
    header .expand-menu.active, header .lang-popup.active {
        left: -2px;
    }
    header .lang-popup {
        padding-left: 80px;
    }
    header .expand-menu ul li {
        margin-bottom: 35px;
    }
    header .expand-menu ul li a, header .expand-menu .submenu p {
        font-size: 16px;
    }
    header .expand-menu ul li a span {
        font-size: 8px;
        line-height: 120%;
        margin-right: 5px;
        margin-top: 1px;
    }
    #menu-header {
        margin-left: 20px;
    }
    header .expand-menu .submenu {
        margin-top: 15px;
        gap: 35px;
        padding-left: 20px;
    }
    header .expand-menu .submenu .terms {
        margin-top: 15px;
        font-size: 12px;
    }
}