@font-face {
    font-family: great;
    src: url(font/GreatVibes-Regular.ttf);
}

.baniere-realisation {
    background-image: url(image/realisation/decoration-1366.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    background-position-y: bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media screen and (max-width:900px) {
    .baniere-realisation {
        background-image: url(image/realisation/decoration-768.jpg);
    }
}


@media screen and (max-width:500px) {
    .baniere-realisation {
        background-image: url(image/realisation/decoration-421.jpg);
    }
}



.titres {
    width: 35%;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100vh;
    justify-content: center;
    align-content: center;
}

@media screen and (max-width:1000px) {
    .titres {
        width: 50%;

    }
}

@media screen and (max-width:500px) {
    .titres {
        width: 100%;
        justify-content: center;
    }
}


.titres h1 {
    text-align: center;
    line-height: 13vh;
    padding-top: 0;
    margin-top: 8vh;
    margin-bottom: 5vh;
    text-shadow: #f5f5dc -8px 8px 8px;
}

@media screen and (max-width:500px) {
    .titres h1 {
        margin-top: 0;
    }
}

/*...icone realisations................*/

@media screen and (max-width:500px) {
    .titres img {
        background-color: #f5f5dc;
        border-radius: 50%;
        width: 70px;
        box-shadow: #f5f5dc -6px 6px 2px, #f5f5dc 6px 6px 2px;
    }
}


@media screen and (max-height:450px) {
    .titres img {
        width: 50px;
        margin-bottom: -30px;
    }
}

/*...bouton....realisations............*/
.titres button {
    margin-top: 13vh;
    width: 180px;
}


@media screen and (max-height:450px) {
    .titres button {

        margin-bottom: -30px;
    }
}


/* Fleche de defilement vers le bas bouge */

@-webkit-keyframes bounce {

    0%,
    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@keyframes bounce {

    0%,
    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

.fleche {
    position: absolute;
    bottom: 2.5vh;
    left: 50%;
}

.fleche img {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;


}



/*...ligne rouge................*/
img.ligne-rouge {

    position: absolute;
    top: 95vh;
}

@media screen and (max-width:900px) {
    img.ligne-rouge {
        top: 98vh;
    }
}

/*....formulaire............*/
.selection {
    background-color: #AF3232;
}

.selection h2 {
    padding-top: 150px;
    font-family: great;
    font-size: 60px;
    font-weight: lighter;
    color: #F4E8B6;
    word-spacing: 23px;
    margin: 0;
    text-align: center;
}

/*....1er tri..........*/

.block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    color: white;
    width: 330px;
    margin-top: 50px;
    padding-bottom: 80px;
}



.liste-de-tri {
    position: relative;
    height: 40px;
    margin-right: 20px;
    z-index: 200;
}


.liste {
    background-color: #AF3232;
    color: white;
    border: 1px solid white;
    border-radius: 3%;
    height: 40px;
    width: 200px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.liste span {
    margin: 0;
    text-align: left;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    cursor: pointer;
    font-size: 23px;
}


#liste:hover {
    position: relative;
    height: max-content;
}

#liste:active {
    position: relative;
    height: max-content;
}

.list2 {
    position: relative;
    height: 100px;
    background-color: #3D3A37;

}

/*...filter ..liste.......*/

.unit {
    display: none;
}

.show {
    display: block;
}

.relativ {
    position: absolute;
    right: 0;
}

@media screen and (max-width:900px) {
    .selection .relativ {
        margin-top: 50px;
    }
}




/*..........relook................*/
.relook {
    background: linear-gradient(#F4EAD0, #F6F4F4, #F6F4F4, #F4EAD0);
    padding-bottom: 70px;
}

.contain {
    width: 90%;
}

.categorie .titre {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    width: 50%;
    margin: 0;
}

.categorie .titre img {
    width: 50%;
    min-width: 500px;
    margin-left: 15px;
}

h3 {
    margin: 0;
    text-align: left;
    font-family: great;
    font-size: 60px;
    font-weight: lighter;
    color: #AF3232;
    word-spacing: 23px;
    padding-top: 70px;
}

/*...........ARTICLES.........*/

.categorie article {
    padding: 70px;
    padding-bottom: 0px;
}

.produits .relativ {
    position: relative;
    min-width: 180px;
}

.produits {
    display: flex;
    flex-wrap: wrap;
}

/*images avant.............*/
.produits article img:first-child {
    width: 70px;
    position: absolute;
    left: -40px;
    top: 35px;
}


.produits article img:first-child:hover {
    width: 280px;
}

.produits article img:first-child:active {
    width: 280px;
}

/*....annimation au scroll....*/

.moove img {
    transition: 0.3s;
    animation: slideright 1s ease-in-out 1 backwards;
    position: relative;
}

@keyframes slideright {
    from {
        opacity: 0;
        transform: scale(0, 0);
    }

    to {
        transform: scale(1, 1);
        opacity: 100;
    }
}

/*.............................*/


.produits article figure img {
    height: 300px;
    box-shadow: 15px 15px 6px #665F5E;
}

@media screen and (max-width:1200px) {
    .produits article figure img {

        height: 250px;
    }
}

@media screen and (max-width:700px) {
    .produits article figure img {
        width: 100%;
        height: auto;
    }
}

.produits article {
    text-align: center;
}

figcaption {
    text-align: center;
    color: #3D3A37;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 10px;
}

.produits button {
    width: 160px;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    font-weight: lighter;
}

/*ligne rouge*/

/*style modale*/
/* Style pour la boîte modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 95%;
    /* Permet à l'image de conserver son ratio d'aspect */
    height: auto;
    /* Permet à l'image de conserver son ratio d'aspect */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}