@media (max-width: 1900px) {
    .boite {
        flex-flow: row wrap;
        justify-content: center;
    }

    #text-38,
    #text-40,
    #text-50,
    #text-52 {
        top: 0;
    }

    #text-39,
    #text-51 {
        margin: 50px 75px;
    }

    #bordure {
        display: none;
    }

    #presentation-projet {
        height: auto;
    }
}




@media (max-width:1400px) {
    #presentation-projet {

        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
    }

    #presentation-gauche,
    #presentation-droite {
        width: auto;
    }

    nav ul {
        width: calc(100vw - 8px);
        height: 100vh;
        top: -203px;
        left: 0px;
        padding: 0 30px 50% 0;
    }
}



@media (max-width: 1500px) {

    header {
        height: 100px;
        position: absolute;
    }

    #menu {
        margin-left: 0;
        padding: 0;
    }




    #text-3,
    #text-4,
    #text-5,
    #text-6,
    #text-53,
    #text-54,
    #text-55,
    #text-56 {
        width: auto !important;
    }

    #savoir-faire {
        padding: 1em 0;
    }

    #text-15,
    #text-16,
    #text-17,
    #text-18,
    #text-19,
    #text-20,
    #text-21,
    #text-20,
    #text-42,
    #text-43,
    #text-44,
    #text-45,
    #text-46,
    #text-47,
    #text-48 {
        margin: 0 !important;
    }

    #footer {
        flex-flow: column;
        padding: 1em 0;
        height: auto !important;
    }

    #milieu {
        order: 3;
    }

    #social {
        margin: 2em 0 !important;
    }

    #media_image-4 a {
        display: flex;
        justify-content: center;
    }

    /*
    #primary-menu {
        display: none;
        background: #404B4F;
        margin-left: 0;
        position: absolute;
        top: unset;
        width: 100%;
        left: 0;
        flex-flow: column;
        z-index: 120;
        box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
    }

    .sub-menu {
        position: static !important;
        flex-flow: column;
        align-items: flex-end;
        height: auto !important;
        padding-top: 0 !important;
        justify-content: flex-end !important;
    }

    .sub-menu li {
        width: auto;
        max-width: unset;
    }

    #primary-menu ul li a {
        padding: 15px;
        background: none !important;
        display: flex;
        max-height: 120px;
        flex-flow: row-reverse;
    }

    .hovered-image.menu-image-title-below {
        margin-left: -91.55px !important;
    }

    .sub-menu .menu-image-hover-wrapper {
        width: 120px;
    }

    .menu-image-title-below.menu-image-title {
        align-self: center;
    }

    nav li a::before {
        height: 1px;
        width: 100px;
        bottom: 12px;
        right: 18px;
        top: unset;
    }

    .menu-item-has-children a::after {
        top: 10px;
        left: -10px;
        transform: rotate(90deg);
    }

    .menu-item-has-children {
        background: none;
        display: flex;
        flex-flow: column;
        align-items: flex-end;
    }

    #primary-menu > li > a {
        width: auto;

    }
*/

}


@media (min-width: 1501px) {}

@media (max-width: 1200px) {

    #realisations {
        width: 100%;
        justify-content: space-around;
    }

    #contenu-projet > div {
        width: 100%;
    }
}

@media (max-width: 800px) {}

@media (max-width: 1100px) {}



@media (max-width: 1000px) {

    #presentation-slider {
        flex-flow: column wrap;
    }

    #presentation-slider-gauche,
    #presentation-slider-droite {
        width: 100%;
    }

    #presentation h2 {
        margin: 15px 15px;
    }

    #projets-slider {
        width: 100%;
    }

    #projets-select,
    #projets-select ul {
        width: 100%;
    }

    .projets-slide img:first-of-type {
        justify-self: center;
        left: 0;
        top: 35px;
        width: 100vw;
    }

    .projets-slide img:last-of-type {
        display: none;
    }

    #text {
        left: 0;
    }

    #contact-contenu {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    #contact-texte-gauche {
        padding-right: 0;
    }

    #contact-texte-droite {
        padding-left: 0;
        text-align: center;

    }

    #contact-texte-gauche::after {

        bottom: 0;
        top: unset;
        height: 2px;
        width: 100%;
    }

    #contact-texte-2 {
        padding-right: 0;
    }


}

@media (max-width: 800px) {

    #qui {
        width: auto;
        margin: 3em;
    }

    .projets-slide h2 {

        font: 3em yeseva, serif;

    }

    h1 {
        font: 2em yeseva, sans-serif;
    }

    #burger {
        right: 30px;
    }

    #prestations-titres {

        flex-flow: row wrap;
        justify-content: space-around;
    }

    #prestations-titres > div {
        background: none;
        width: auto;
        height: auto;
    }

    #prestations-titres > div:hover {
        background: none;
        align-items: start;
    }

    #prestations h3 {
        color: #F08117;
        text-shadow: none;
    }

    #prestations h3:hover {
        color: #0479A0;
    }
}

@media (max-width:700px) {}


@media (max-width: 650px) {

    #presentation-contenu > p:nth-of-type(2) {
        width: auto;
    }

    #presentation-droite {
        padding-left: 10px;

    }






}

@media (max-width: 600px) {}


@media (max-width: 570px) {}

@media (max-width: 500px) {}

@media (max-width: 400px) {}


@media (max-height: 950px) {}

@media only print {

    nav,
    footer {
        display: none;
    }
}
