main {
    background: linear-gradient(#F4EAD0, #F6F4F4, #F6F4F4, #F4EAD0);
}

.baniere-produits {
    padding-top: 200px;
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width:1150px) {
    .baniere-produits {
        width: 95%;
    }
}

@media screen and (max-width:1111px) and (min-width:550px) {
    .baniere-produits {
        justify-content: center;
    }
}

.titres {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.titres h1 {
    padding: 0;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

@media screen and (max-width:519px) {
    .titres h1 {
        text-align: center;
        letter-spacing: normal;
        margin-right: 5%;
    }
}

@media screen and (max-width:410px) {
    .titres h1 {
        text-align: center;
        letter-spacing: normal;
        margin-right: 10%;
    }
}

@media screen and (max-width:373px) {
    .titres h1 {
        margin-right: 5%;
    }
}

.baniere-produits h2 {
    background-image: url(image/produits/triangle.png);
    background-position: center;
    background-attachment: local;
    background-repeat: no-repeat;
    height: 250px;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 25px;
    font-weight: lighter;
    width: 600px;
    line-height: 50px;
    text-align: center;
    padding-top: 20px;
}

.titres img {
    margin-bottom: 50px;
}

.strech {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 40%;
    margin: 0;

}

@media screen and (max-width:1052px) {
    .strech {
        width: 95%;
        text-align: center;
    }
}

.categorie {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 310px;
    align-items: center;
    margin: 0;
    padding-bottom: 50px;

}

.categorie span {
    margin: 0;
}

.baniere-produits figure {
    width: 100%;
    min-width: 320px;
}

.baniere-produits figure#louis-xv img {
    width: 100%;
    box-shadow: #424242 10px 10px 10px;
    border-radius: 0 80% 0 0;
    margin-bottom: 50px;
}

.baniere-produits figure.prod img {
    width: 70%;
    box-shadow: #424242 10px 10px 10px;
    border-radius: 0 40% 0 0;
    margin-bottom: 50px;
}

.baniere-produits figure.carre2 img {
    width: 100%;
    box-shadow: #424242 10px 10px 10px;
    border-radius: 0 30% 0 0;
    margin-bottom: 50px;
}

/*.....reparation....*/

.reparation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
}

.reparation span {
    color: #AF3232;
    margin-bottom: 100px;
    margin-top: 100px;
    font-size: 30px;
}

.avant {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: max-content;
    background-color: #E9CC82;
    justify-content: center;

    align-items: center;
}

@media screen and (max-width:500px) {
    .avant {
        width: 100%;
    }
}

figcaption {
    margin-bottom: 100px;
    text-align: center;
    line-height: 50px;
    font-size: 23px;
}

@media screen and (max-width:990px) {
    figcaption {
        width: 95%;
    }
}

.plus img {
    border: 6px solid grey;
}

.avant img {
    margin: 20px;
    height: 250px;
}

@media screen and (max-width:699px) {
    .avant img {
        width: 85%;
        height: auto;
    }
}


.petit img {
    height: 150px;
}

img.petit2 {
    height: 100px;
}

img.petit3 {
    height: 160px;

}

/*...avant/apres......*/
.apres {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 100px;
}

.av-apres {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    padding-bottom: 100px;
}

.apres figure img {
    border-radius: 0px 0PX 0PX 0PX;
    box-shadow: #424242 10px 10px 10px;
    margin-left: 50px;
    margin-right: 50px;
    width: 400px;
    border-color: transparent;
}

@media screen and (max-width:500px) {
    .apres figure img {
        margin-right: 0;
        margin-left: 0;
        width: 300px;
    }
}

.av-apres figcaption {
    margin-bottom: 20px;
    color: #AF3232;
    font-size: 25px;
}

.apres button {
    background-color: transparent;
    border: 2px solid #AF3232;
    color: #AF3232;
    width: 150px;
    height: 30px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
    font-size: 23px;
}

.apres .carre figure img {
    height: 350px;
    width: auto;
}