header.site-header {
    margin-bottom: 30px;
}

header .container {
    padding: 0 20px;
}

header .inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    /* margin-top: 10px; */
}

header .menu-box {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

header .inner> :is(*, div) {
    margin: 0;
}

.custom-logo-link {
    max-width: 200px;
}

#menu {
    width: 100%;
}

header .instagram {
    justify-content: center;
    align-items: center;
    display: inline-flex;
    margin-right: 10px !important;
}

header .instagram img {
    width: 25px;
}

header nav {
    position: relative;
    z-index: 10;
}

header nav h1 {
    font-size: clamp(1.2rem, 6vw, 3rem);
    font-weight: normal;
    text-transform: uppercase;
    color: #e0d4be;
    font-size: 1.3rem;
    background-color: #cc033f;
    padding: 5px 10px;
}

header nav ul {
    display: flex;
    color: #f5f5f5;
}

header nav ul li:not(#burger) {
    visibility: hidden;
    margin-right: 1.5em;
}

/* ----- switcher -----*/
.lang-switcher {
    position: relative;
    display: flex;
    margin-right: 4px !important;
}

.lang-switcher > button {
    background: #f5f5f5;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.lang-switcher > button img {
    width: 30px;
    height: auto;
    border-radius: 30px;
    margin-right: 6px;
}

.lang-switcher ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: none;
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.lang-switcher.active ul {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

.lang-switcher ul li {
    padding: 5px;
}

.lang-switcher ul li a {
    display: flex;
    font-size: 12px;
    align-items: center;
    text-decoration: none;
}

.lang-switcher ul li a img {
    width: 24px;
    height: auto;
    border-radius: 30px;
    margin-right: 6px;
}

#burger {
    cursor: pointer;
    height: 30px;
    width: 54px;
    margin-bottom: 0;
    overflow: visible;
    position: relative;
    top: -6px;
    z-index: 2;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#burger::after {
    content: 'MENU';
    color: #242424;
    display: inline-block;
    font-size: 12px;
    position: relative;
    top: 28px;
    left: 9px;
    letter-spacing: .2rem;
}

#burger span,
#burger span:before,
#burger span:after {
    background: #cccccc;
    display: block;
    height: 4px;
    opacity: 1;
    position: absolute;
    transition: 0.3s ease-in-out;
}

#burger span:before,
#burger span:after {
    content: "";
}

#burger span {
    right: 0px;
    top: 13px;
    width: 45px;
}

#burger span:before {
    left: 0px;
    top: -10px;
    width: 32px;
}

#burger span:after {
    left: 0px;
    top: 10px;
    width: 32px;
}

#burger.close span {
    transform: rotate(-30deg);
    top: 13px;
    width: 45px;
}

#burger.close span:before {
    top: 0px;
    transform: rotate(60deg);
    width: 45px;
}

#burger.close span:after {
    top: 0px;
    left: 0;
    transform: rotate(90deg);
    opacity: 0;
    width: 0;
}

header section {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    min-height: 100vh;
    max-height: 100vh;
    padding: 5em 2em 2em 2em;
    background-color: #f5f5f5;
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    overflow-y: auto;
}

.level-1 {
    display: grid;
    grid-template-columns: 65% 1fr;
    grid-auto-rows: min-content;
    grid-gap: 2em;
    max-width: 1260px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.level-1 h3 {
    font-weight: 600;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-top: 0;
}

.level-1 p {
    margin: 0.5em 0 0 0.5em;
}

.level-1 p small {
    font-size: 1rem;
    opacity: 0.5;
}

.level-1 p small:hover {
    opacity: 1;
    color: #cc033f;
}

.level-1 ul>li {
    font-size: 1.2rem;
    padding: 0.3em;
    transition: color 0.3s;
}

.level-1 li:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 1/4;
}

.level-1 li:nth-of-type(2) {
    grid-column: 2/3;
    grid-row: 1/2;
}

.level-1 li:nth-of-type(3) {
    grid-column: 2/3;
    grid-row: 2/3;
}

.level-1 li:nth-of-type(4) {
    grid-column: 2/3;
    grid-row: 3/4;
}

.level-2 {
    margin-left: 0;
}

.level-2 li p {
    color: #cc033f;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1em 0;
    text-transform: uppercase;
    border-bottom: 1px solid #fde0ac;
}

.level-3 {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    gap: 20px 3px;
}

.level-3 li {
    padding-right: 1.5em !important;
}

.level-3 li a {
    padding: 0.5em 1em !important;
    background-color: #e0d4be;
    border-radius: 500px;
    margin-bottom: 10px;
    font-size: 1rem !important;
    color: #242424;
}

.level-1 .menu {
    font-family: "Lato", sans-serif;
}


@media screen and (max-width: 600px) {
    nav h1 {
        font-size: 0.9rem;
    }

    header section {
        padding: 8em 2em 2em 2em;
    }

    .level-1 {
        grid-template-columns: 1fr;
    }

    .level-1 li:nth-of-type(1) {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .level-1 li:nth-of-type(2) {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .level-1 li:nth-of-type(3) {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .level-1 li:nth-of-type(4) {
        grid-column: 1/2;
        grid-row: 4/5;
    }
}

@media screen and (max-width: 480px) {
    #wpadminbar {
        display: none;
    }

    body.admin-bar header.site-header {
        top: 0 !important;
    }
    
    #burger {
        width: 40px;
    }

    #burger span {
        width: 32px;
    }

    #burger span:before, #burger span:after {
        width: 26px;
    }

    #burger.close span {
        width: 32px;
    }

    #burger.close span:before {
        width: 32px;
    }

}