header {
    z-index: 20;
}
/* 
    Header Mobile
*/
#header-mobile {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: .5rem 1rem;
    background-color: white;
}

/* button */
#header_m-button {
    grid-column: 1/3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header_m-button div {
    width: 1.5rem;
    height: 1px;
    background-color: black;
    margin: 2px 0;
    transition: 250ms ease-in-out;
}

#header_m-button.open div:nth-child(1),
#header_m-button.open div:nth-child(3) {
    width: 0;
}

/* logo */
.header_m-logo {
    grid-column: 3/-3;
}

/* languages */
.header_m-langs {
    grid-column: -3/-1;
    display: flex;
    justify-content: end;
    align-items: center;
}

.header_m-langs ul {
    display: flex;
}

.header_m-langs li {
    margin-left: .25rem;
}

/* MENU */
#header_m-menu {
    height: 0;
    overflow: hidden;
    background-color: white;
    transition: 250ms ease-in-out;
}

#header_m-menu.open {
    padding: .5rem 0 0;
}

#header_m-menu li:not(:last-of-type) {
    margin-bottom: .25rem;
}

/* Desktop */
@media screen and (min-width: 1024px) {
    #header-mobile {
        display: none;
    }
}


/* 
    Header Desktop
*/
#header-desktop {
    display: none;
}
/* DESKTOP */
@media screen and (min-width: 1024px) {
    #header-desktop {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        display: grid;
        align-items: center;
        padding: .3rem 1rem;
        background-color: white;
    }
}

/* pages */
.header_d-pages {
    grid-column: 1/5;
}

.header_d-pages ul {
    display: flex;
}

.header_d-pages a {
    display: block;
    margin-right: 1.5rem;
}

/* logo */
.header_d-logo {
    display: flex !important;
    grid-column: 5/-5;
}

.header_d-logo img {
    height: 2.2rem;
    width: auto;
    margin: 0 auto;
}

/* langs */
.header_d-langs {
    grid-column: -5/-1;
    display: flex;
}

.header_d-langs ul {
    display: flex;
    margin-left: auto;
}

.header_d-langs li {
    margin-left: .5rem;
}

.header_d-langs a {
    display: block;
}