.navbar {
    align-items: center;
    background-color: var(--white);
    display: grid;
    grid-template-columns: auto 1fr auto;
    height: 5.85rem;
    justify-content: center;
    position: static;
    width: 100vw;
}
.navbar__link--image{
    display: flex;
    grid-area: 1 / 2 / 2 / 3;
    justify-content: center;
    position: static;
    /* left: 22.5%; */
}
.navbar__logo{
    height: 3.85rem;
    margin-bottom: 1vw;
}

.burger {
    display: none;
}
.burger__label {
    display: block;
    grid-area: 1 / 1 / 2 / 2;
    height: 7.5vw;
    margin: 3.5vw 0 4vw 8.5vw;
    object-fit: contain;
    position: static;
    text-align: center;
    transition: all 0.3s ease;
    width: 7.5vw;
    z-index: 1;
}
.navbar .burger__label::before {
  align-items: center;
  content: url("../../img/logosIcons/burger.svg");
  display: flex;
  height: 7.5vw;
  width: 7.5vw;
}
.navbar .burger:checked + .burger__label::before {
  content: url("../../img/logosIcons/burgerClosed.svg");
}
.navbar .burger:checked ~ .navbar__contact {
  display: none;
}
.navbar:has(.burger:checked) .navbar__link--image {
    display: none;
}
.navbar .burger:checked ~ .navbar__container {
  left: 0;
  transition: left .5s ease;
}
.navbar__container {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10vw;
    height: 90vh;
    left: -100vw;
    position: absolute;
    top: 19vw;
    transition: left .5s ease;
    width: 100vw;
    z-index: 10;
}
.navbar__list {
    display: flex;
    flex-direction: column;
    padding: 0 8.5vw 0 8.5vw;
}
.navbar__list > li {
    border-bottom: .0625rem solid var(--black);
    padding: 5.5vw 0;
}
.navbar__list > li > a, 
.navbar__list > li > p,
.sub-menu .hiddenTurned.menu-item-type-post_type a {
    color: var(--mColor);
    display: flex;
    font-family: var(--ffMBo);
    font-size: calc(var(--fsCorpsLess) * 2);
    line-height: 1.875rem;
    padding: 0;
    text-transform: uppercase;
    /* width: 100%; */
}
.sub-menu .hiddenTurned.menu-item-type-post_type a {
    /* background-color: var(--whiteBis); */
    width: 84vw;
}
.sub-menu .hiddenTurned.menu-item-type-post_type {
    background-color: transparent;
    left: -5.75vw;
    position: absolute;
    top: 2.25vw;
}
.navbar__list > li:has(.sub-menu) > p:after, .navbar__list > li > a:after{
    background-image: url(../../img/logosIcons/arrowGreen.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    display: block;
    height: var(--fsCorps);
    position: absolute;
    right: 10vw;
    transition: .25s all ease;
    width: var(--fsTitle);
}
.navbar__list > li#menu-item-328 > a:after, .navbar__list > li#menu-item-276 > a:after {
    display: none;
}
.navbar__list > li:has(.sub-menu) > a {
    position: relative;
}
.navbar__list > li:has(.sub-menu) > a:after {
    /* background-image: url(../img/dropdown.svg); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    content: "";
    display: block;
    height: var(--fsCorps);
    margin-top: .075rem;
    position: absolute;
    right: calc(var(--fsCorps) * -1);
    transform: rotate(0deg);
    transition: .25s all ease;
    width: var(--fsCorps);
}
.navbar__list > li > p.turned {
    color: var(--whiteBis);
    position: relative;
}
.navbar__list > li:has(.sub-menu) > p.turned:after,
.sub-menu .hiddenTurned.menu-item-type-post_type a:after {
    content: "";
    display: block;
    height: var(--fsCorps);
    position: absolute;
    right: 1vw;
    transition: .25s all ease;
    top: .25rem;
    width: var(--fsTitle);
}
.sub-menu .hiddenTurned.menu-item-type-post_type a:after {
    top: .75rem;
}
.sub-menu {
    display: none;
}

/* -- -- -- -- -- SUBMENUS -- -- -- -- -- */
.turned ~ .sub-menu {
    display: flex;
    flex-direction: column;    
    gap: 5vw;
    margin-top: calc(var(--fsTitleH3) * 1.25);
}
.sub-menu .menu-item-type-post_type a {
    align-items: center;
    color: var(--mColor);
    display: flex;
    font-family: var(--ffMRe);
    font-size: calc( var(--fsTitleH3) * 1.15);
    justify-content: space-between;
    line-height: calc(var(--fsTitleH3) * 1.45);
    position: relative;
    text-transform: uppercase;
    width: 100%;
}
.sub-menu .menu-item-type-post_type a::after {
    align-items: center;
    content: url("../../img/logosIcons/arrowGreen.svg");
    display: flex;
    height: 7.5vw;
    margin-left: 1rem;
    width: 3.5vw;
}

.sub-menu .menu-item-type-post_type {
    background-color: #EAFBFE;
    padding: .85rem 1.5rem;
}
.navbar__list > .menu-item-has-children:has(.turned) {
    padding-bottom: 7.5vw;
    position: relative;
}
.navbar .navbar__contact {
    font-family: var(--ffMBo);
    font-size: .8125rem;
    grid-area: 1 / 3 / 2 / 4;
    height: fit-content;
    line-height: var(--fsTitleH2);
    margin-right: 8.5vw; 
    padding: .65rem 1rem .4rem 1rem;
    position: static;
    right: 9vw;
    text-transform: uppercase;
    width: 7.5rem;
}
.navbar:has(.burger:checked) .button--navbar {
    display: none;
}
.navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)), .navbar__list > li:nth-child(6) {
    border: .0625rem solid var(--mColor);
    bottom: 43svw;
    display: flex;
    justify-content: center;
    left: 5%;
    padding: .75rem 0;
    position: absolute;
    width: 90%;
}
.navbar__list > li:nth-child(6) {
    background-color: var(--mColor);
    bottom: 24.5svw;
}
.navbar__list > li:nth-child(6) > a {
    color: var(--whiteBis);
}
.navbar__list > li:nth-child(5) > a, .navbar__list > li:nth-child(6) > a {
    font-size: var(--fsCorps);
    text-align: center;
    text-transform: uppercase;
}
.navbar__list > li:has(.turned) ~ li {
    display: none;
}
.navbar__list > li:has(.turned) > .turned:after {
    display: none;
}
.navbar__return {
    align-items: center;
    color: var(--mColor);
    display: flex;
    font-family: var(--ffMRe);
    font-size: 1.1875rem;
    gap: .75rem;
    line-height: .8125rem;
    margin: 1.5rem 0 1rem 0;
}
.navbar__return::before {
    align-items: center;
    content: url("../../img/logosIcons/return.svg");
    display: flex;
    height: 1.1875rem;
    width: 1.1875rem;
}
#menu-desktop { 
    display: none; 
}
.menu-item-desc {
    display: none;
}
.navbar__list > li.button--contactMenu {
    background-color: var(--mColor);
    border: .0625rem solid var(--mColor);
    padding-top: .9rem;
    transition: all .25s ease;
}

.navbar__list > li.button--contactMenu > a {
    display: flex;
    gap: var(--fsCorpsLess);
    justify-content: center;
    transition: all .25s ease;
}

.navbar__list > li#menu-item-276 > a:after {
    display: none;
}

@media screen and (min-width: 575.98px) {
    .navbar__container {
        height: 95vh;
        top: 12vw;
    }
    .sub-menu .hiddenTurned.menu-item-type-post_type {
        top: 3.75vw;
    }
    .sub-menu .hiddenTurned.menu-item-type-post_type a {
        padding-left: 3vw;
        width: 60vw;
    }
    .navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)) {
        bottom: 37svw;
    }
}

@media screen and (min-width: 767.98px) {
    .sub-menu .hiddenTurned.menu-item-type-post_type {
        top: 3.25vw;
    }
    .navbar__container {
        top: 10vw;
    }
    .navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)) {
        bottom: 35svw;
    }
}


@media screen and (min-width: 919.98px) {
    .navbar__container {
        top: 8vw;
    }
}

@media screen and (min-width: 991.98px) {
    .navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)) {
        bottom: 20vw;
    }
    .navbar__list > li:nth-child(6) {
        background-color: var(--mColor);
        bottom: 11.5svw;
    }
    .navbar__list > li > a:hover {
        color: var(--sColor);
    }
    .navbar__list > li.button--contactMenu:hover > a {
        color: var(--mColor);
        transition: all .25s ease;
    }
    .navbar__list > li.button--contactMenu:hover {
        background-color: var(--tColorLight);
        border: .0625rem solid var(--mColor);
        color: var(--mColor);
        transition: all .25s ease;
    }
    .burger__label {
        margin-block: 0;
    }
}

@media screen and (min-width: 1199.98px) {
    .navbar {
        align-items: center;
        background-color: var(--white);
        display: flex;
        gap: 2.5vw;
        height: 5rem;
        justify-content: center;
        width: 100vw;
        z-index: 5;
    }
    .burger__label, .navbar .navbar__contact {
        display: none;
    }
    .navbar__container {
        flex-direction: row;
        gap: 1rem;
        height: fit-content;
        justify-content: space-around;
        position: static;
        width: fit-content;
    }
    .navbar__list{
        align-items: center;
        flex-direction: row;
        padding: 0;
    }
    .navbar__link--image {
        height: fit-content;
        position: static;
    }
    .navbar__list > li > a, .navbar__list > li > p {
        font-size: var(--fsCorpsLess);
        line-height: 1.875rem;
    }
    .navbar__list > li:nth-child(5) > a, .navbar__list > li:nth-child(6) > a {
        font-size: var(--fsCorpsLess);
        line-height: 1.875rem;
    }
    .button.button--navbar {
        display: none;
    }
    .navbar__list > li:nth-child(5), .navbar__list > li:nth-child(6) {
        position: static;
    }
    .navbar__list > li:has(.sub-menu) > a:after {
        display: none;
    }
    .navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)) {
        border: unset;
        margin-right: 2.5vw;
        padding: 0 1rem;
        position: static;
        width: fit-content;
    }
    .navbar__list > li:nth-child(6) {
        padding: .75rem .65rem .6rem .65rem;
        width: fit-content;
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        height: 7vw;
        margin-bottom: -4.25vw;
        padding: 0 .5rem;
    }
    .navbar__logo {
        height: auto;
        margin-bottom: 0;
        width: 8rem;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        background-color: var(--white);
        border-top: 1px solid #DEDEDE;
        box-shadow: 0 .3125rem .3125rem rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 5vw;
        justify-content: start;
        left: 0;
        padding-bottom: 1.5vw;
        padding-top: 5rem;
        position: absolute;
        text-transform: uppercase;
        top: 5rem;
        width: 100vw;
        z-index: 5;
    }
    .sub-menu .menu-item-type-post_type a {
        align-items: start;
        display: flex;
        flex-direction: column;
        gap: var(--fsCorps);
        width: 100%;
    }
    .sub-menu .menu-item-type-post_type:not(.sub-menu .menu-item-title + .menu-item-type-post_type):hover {
        background-color: #86e4f23d;
    }
    .sub-menu .menu-item-type-post_type a p {
        font-family: var(--ffMXBo);
    }
    .sub-menu .menu-item-type-post_type a p, .sub-menu .menu-item-type-post_type a p::after {
        transition: all .25s ease-in;
    }
    .sub-menu .menu-item-type-post_type:not(.noClick):hover a p, .sub-menu .menu-item-type-post_type:hover a p::after {
        margin-left: .5rem;
        transition: all .25s ease-in;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned:not(.noClick):hover a p, .sub-menu .menu-item-type-post_type:hover a p::after {
        /* margin-left: unset; */
        margin-left: 1rem;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned a p::after {
        display: none;
    }
    .sub-menu .menu-item-type-post_type a p::after {
        background-image: url(../../img/logosIcons/arrowGreen.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: var(--fsTitleH2);
        content: "";
        height: 100%;
    }
    #menu-mobile { 
        display: none; 
    }
    #menu-desktop { 
        display: flex; 
    }
    .menu-item-desc {
        color: var(--tColor);
        display: block;
        font-size: var(--fsCorps);
        font-family: var(--ffMRe);
        line-height: 1.4375rem;
        text-transform: none;
    }
    .menu-item-title, .sub-menu .hiddenTurned.menu-item-type-post_type a {
        background-color: var(--white);
        color: var(--mColor);
        font-family: var(--ffMXBo);
        font-size: 2.9375rem;
        line-height: 3.6875rem;
        left: 9.5vw;
        position: absolute;
        text-transform: uppercase;
        top: -.5rem;
    }
    .navbar__list > li.button--contactMenu > a > p {
        gap: var(--fsCorpsLess);
        transition: all .25s linear;
    }
    .navbar__list > li.button--contactMenu:hover > a > p {
        gap: 2rem;
        transition: all .25s linear;
    }
    .navbar__list > li:has(.sub-menu) > .turned:after {
        transform: rotate(360deg);
        transition: .25s all ease;
    }
    .sub-menu .menu-item-type-post_type a::after {
        display: none;
    }
    .sub-menu .menu-item-type-post_type a > p::after {
        align-items: center;
        background-image: none;
        content: url(../../img/logosIcons/arrowGreen.svg);
        display: flex;
        height: fit-content;
        margin-left: 1rem;
        width: 3.5vw;
    }
    .sub-menu .menu-item-type-post_type a p {
        align-items: center;
        display: flex;
        height: fit-content;
        width: 80%;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned:not(.noClick) a p {
        display: flex;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned:not(.noClick) a p {
        display: flex;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned:not(.noClick) a p::after {
        background-image: url(../../img/logosIcons/arrowGreen.svg);
        background-size: 65%;
        background-position: center 57.5%;
        content: "";
        display: block;
        font-size: 1vw;
        height: 3vw;
        width: 3vw;
    }
    .navbar__list > li > a > p {
        display: flex;
        font-family: var(--ffMBo);
    }
    .sub-menu .menu-item-type-post_type {
        background-color: unset;
    }
    .navbar {
        justify-content: space-around;
        padding: 3.5vw 5vw;
    }
    .navbar__list > li:nth-child(6) > a {
        align-items: center;
        display: flex;
        position: relative;
    }
    .navbar__list > li:nth-child(6) > a::after, .navbar__list > li > a::after {
        display: none;
    }
    .navbar__list > li:nth-child(6):hover > a::after {
        display: none;
    }
    .menu-item-title {
        color: transparent;
        left: 7vw;
        top: 2.5vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        border-top: 1px solid #DEDEDE;
        gap: 1vw;
        padding-left: 5vw;
        padding-top: 8.5vw;
        top: 7vw;
    }
    .navbar__list > li:nth-child(6) {
        padding-inline: var(--fsCorpsLess);
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        height: 5.5vw;
        margin-bottom: -3.5vw;
        padding-inline: 1rem;
    }
    .sub-menu .menu-item-type-post_type {
        width: 30vw;
    }
    .sub-menu .menu-item-type-post_type.hiddenTurned.noClick:hover a {
        pointer-events: none;
    }
    .navbar__list > li:has(.sub-menu) > p:after {
        display: none;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 20vw;
    }
}

@media screen and (min-width: 1399.98px) {
    .navbar__list > li:nth-child(6) {
        margin-left: var(--fsCorps);
    }
    .margin__list > li:nth-child(6) a {
        padding-inline: var(--fsCorps);
    }
    .navbar__list > li:nth-child(6) > a::after {
        margin-left: .75rem;
    }
    .menu-item-title {
        left: 7vw;
        top: 2rem;
    }
    .sub-menu .menu-item-type-post_type {
        gap: var(--fsCorps);
        width: 28vw;
    }
    .sub-menu .menu-item-type-post_type:not(:last-child) {
        margin-right: 1.5vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        gap: 1vw;
        padding-left: 5.5vw;
    }
    .sub-menu .menu-item-type-post_type a::after {
        width: 20%;
    }
    .navbar__list > li:nth-child(6) {
        padding-inline: var(--fsTitleH3);
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        margin-bottom: -4.25vw;
    }
    .navbar__logo {
        width: 9.5rem;
    }
    .navbar__list > li.button--contactMenu > a {
        width: 20vw;
    }
    .navbar__list > li:nth-child(6) > a::after {
        align-items: center;
        background-image: none;
        content: url("../../img/logosIcons/arrowButton.svg");
        display: block;
        height: var(--fsCorps);
        margin-top: -.5rem;
        position: static;
    }
    .navbar__list > li:nth-child(6):hover > a::after {
        align-items: center;
        content: url("../../img/logosIcons/arrowGreen.svg");
        display: block;
        height: var(--fsCorps);
        margin-top: -.5rem;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 18vw;
    }
}

@media screen and (min-width: 1599.98px) {
    .navbar {
        padding-inline: 6vw;
    }
    .sub-menu .menu-item-type-post_type {
        width: 23vw;
    }
    .menu-item-title {
        left: 14.5vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        padding-left: 13vw;
        padding-top: 6.5vw;
        top: 7vw;
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        padding-inline: 2rem;
    }
     .sub-menu .hiddenTurned.menu-item-type-post_type a {
        left: 17vw;
    }
    .navbar__list > li:nth-child(5):not(.navbar__list > .menu-item-has-children:has(.turned)) {
        padding-inline: 2rem;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 16vw;
    }
}

@media screen and (min-width: 1779.98px) {
    .navbar__list > li.button--contactMenu > a {
        width: 15vw;
    }
    .sub-menu .menu-item-type-post_type {
        width: 21vw;
    }
    .menu-item-title {
        left: 17.5vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        padding-left: 16vw;
    }
    .sub-menu .hiddenTurned.menu-item-type-post_type a {
        left: 20vw;
        top: -1rem;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 14vw;
    }
}

@media screen and (min-width: 1919.98px) {
    .navbar {
        padding: 3.5rem 10vw;
    }
    .sub-menu .menu-item-type-post_type {
        width: 19vw;
    }
    .menu-item-title {
        left: 20vw;
    }
    .navbar__list > li:nth-child(6) {
        margin-left: 4.5vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        padding-left: 19vw;
        padding-top: 6rem;
        top: 7rem;
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        height: 3.75vw;
        margin-bottom: -2.5vw;
    }
    .navbar__logo {
        width: 11rem;
    }
    .navbar__list > li.button--contactMenu > a {
        width: 15vw;
    }
    .navbar__list > li:nth-child(6) {
        padding: .75rem .65rem .55rem .65rem;
    }
    .sub-menu .hiddenTurned.menu-item-type-post_type a {
        left: 23vw;
        top: -2rem;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 12.5vw;
    }
}

@media screen and (min-width: 2199.98px) {
    .navbar__list > li:nth-child(6) {
        margin-left: 6.5vw;
    }
    .sub-menu .menu-item-type-post_type {
        width: 17vw;
    }
    .menu-item-title {
        left: 23vw;
    }
    .navbar__list > li:not(.navbar__list > li:last-child) {
        margin-bottom: -2.75vw;
    }
    .navbar__list > li:has(.sub-menu) > a:hover ~ .sub-menu, .navbar__list > li:has(.sub-menu):hover > .sub-menu, .sub-menu:hover {
        padding-left: 22vw;
    }
    .sub-menu .hiddenTurned.menu-item-type-post_type a {
        left: 25.75vw;
        top: -3.5rem;
    }
    .navbar__list > li:nth-child(6).button--contactMenu {
        width: 11vw;
    }
}