html,
body {
    overflow-x: hidden;
}

@font-face {
    font-family: "MD Lump";
    src: url("../fonts/md-lump-font/md-lump.otf");
}

header {
    position: fixed;
    box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.14);
    z-index: 99;
    width: 100%;
    top: 0;
}

.nav-mobile {
    display: none !important;
}

.entry-content {
    margin-top: 0.5rem;
}

#histoire h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-blue.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#sommes-nous h1.wp-block-heading::after,
#sommes-nous h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-red.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#docutheque h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-green.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#activite h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-green.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#contact h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-blue.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

h2.wp-block-heading::after,
h2.wp-block-heading.rouge::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-yellow.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#maquette h2.wp-block-heading::after {
    display: block;
    content: "";
    background-image: url("./img/underline-heading-pink.svg");
    width: 18rem;
    height: 0.75rem;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1rem;
}

#gform_submit_button_1 {
    font-family: var(--wp--preset--font-family--secondary);
    text-transform: uppercase;
}

.banniere-mobile {
    display: none;
}

#gform_submit_button_1 {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
}

.slick-list.draggable {
    background-color: white;
}

@media (max-width: 1300px) {
    #environnement .wp-block-columns {
        flex-direction: column;
    }
}

.autres-sites .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wp-block-group .perfecto-map-container {
    width: 50%;
    z-index: 1;
}

.wp-block-cover .wp-block-cover__inner-container {
    bottom: 0;
    position: absolute;
}

/* Responsive */
@media (max-width: 1024px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        bottom: 0;
        display: none;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }

    header .wp-block-group .wp-block-group .wp-block-group {
        width: 22rem;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block !important;
    }

    .wp-block-group .perfecto-map-container {
        width: 100%;
    }

}

@media screen and (max-width: 1200px) {
    .wp-block-column {
        margin-block-start: 2rem;
    }

    header .wp-block-group.wp-block-group.is-content-justification-space-between.is-nowrap.is-layout-flex.wp-block-group-is-layout-flex {
        padding: 0 1.5rem !important;
    }

    .redman-content {
        gap: 2rem;
    }

    .wp-block-group {
        width: 100%;
        padding: 0 !important;
    }

    #histoire .wp-block-columns,
    .redman-content .wp-block-columns {
        flex-direction: column;
    }

    #activite .wp-block-columns,
    #maquette .wp-block-columns {
        flex-direction: column-reverse;
    }

    .entry-content {
        margin-top: 1rem;
    }

    .entry-content .redman-content {
        margin: auto;
        width: 80%;
    }

    footer .wp-block-columns {
        padding: 0 2rem;
    }

    .wp-block-column figure {
        width: 50%;
    }
}