/* === IMPORTS DES POLICES === */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Petit+Formal+Script&display=swap");

/* === STYLES GENERAUX === */
.container-full {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

/* === STYLES DES TITRES === */
h1 {
    margin-top: 30px !important;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: lighter;
    color: rgb(236, 235, 234);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding-top: 10%;
}

h3 {
    /* ... propriétés ... */
    text-align: center;
    font-family: 'Open sans', sans-serif;
    color: rgb(59, 57, 56);
    font-size: 1.3rem;
    font-weight: lighter;
    margin-bottom: 10px;
    margin-bottom: 0;
}

.conditions{
    width: 30%;
}

.no-title{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
    margin-bottom: 13%;
}
.title-image{
    width: 40%;
}
.title-forbiden{

    width: 100%;
}
.text-title{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.imagine {
    width: 80%;
    font-family: 'Open sans', sans-serif;
    text-align: left;
    font-size: 12px;
    padding-left: 5%;
}
/* === STYLES DES CARDS ET DE LA GALLERIE === */
.product-card {
    display: flex;
    flex-direction: column;
    width: 30%;
    margin-bottom: 5%;
    margin-top: 5%;
}

.product-card>img {
    margin-top: 16px;
    width: 300px;
    height: 300px;
    cursor: pointer;
    align-self: center;
}
.products-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-left: 2%;
    padding-right: 2%;
    margin-bottom: 10%;
    margin-top: 13%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Blanc complet */
    z-index: 999;
    text-align: center;
    padding: 90px 0;
    /* overflow-y: auto; */
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.4rem;
    font-weight: 100;
    cursor: pointer;
    color: rgb(59, 57, 56);
}

/* === STYLES DU CAROUSEL ET DE L'OVERLAY === */
.carousel-wrapper {

    display: flex;
    justify-content: space-between;
    height: 90vh;
    background-color: rgb(236, 235, 234);
    box-sizing: border-box;
    width: 100%;
}

.carousel-container {
    width: 75%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(236, 235, 234);
}

.carouselImage {
    display: none;
    max-width: 75%;
    max-height: 100%;
    justify-content: center;
    align-self: center;
    display: block;
}
.format{
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 40%;
    margin-right: 10%;
}

.thumbnails {
    /* top: 5%; */
    /* right: 0; */
    /* padding-left: 5%; */
    /* Déplace les miniatures à droite */
    margin: 0 5%;
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-self: baseline;
    justify-content: flex-start;

}

.thumbnail {
    width: 100px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.carousel-prev {
    background-color: transparent;
    color: rgb(59, 57, 56);
    font-size: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 200;
    z-index: 10;
    /* box-sizing: border-box; */
    margin: 4%;
    align-self: center;
}

.carousel-next {
    background-color: transparent;
    color: rgb(59, 57, 56);
    font-size: 2rem;
    border: none;
    cursor: pointer;
    font-weight: 200;
    z-index: 10;
    /* box-sizing: border-box; */
    align-self: center;
    margin: 4%;
}

.carousel-prev {
    left: 0;
    /* positionné tout à gauche */
}

.carousel-next {
    right: 0;
    /* positionné tout à droite */
}

/* === MEDIA QUERIES === */
@media (max-width: 1100px) {
    .product-card {
        margin: 20px;
        width: 40%;
    }
    .no-title{

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: auto;
        padding-bottom: 13%;
        padding-top: 10%;
    }
    h1 {
        width: 100%;
        text-align: center;
        margin: auto;
    }
}


@media (max-width: 768px) {

    .no-title{

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: auto;
        padding-bottom: 13%;
        padding-top: 10%;
    }
    .title-image{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .title-forbiden{
        width: 80%;
    }
    .text-title{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .imagine {
        width: 90%;
        font-family: 'Open sans', sans-serif;
        text-align: center;
        font-size: 1rem;
    }
    .thumbnails {
        display: none;
    }
    .product-card {
        margin: 10px;
        width: 80%;
    }
    .carousel-wrapper {
        flex-direction: column;
    }

    .carousel-container {
        width: 100%;
        margin-top: 50px;
        align-items: center;
    }

    .format{
        justify-content: center;
        align-items: center;
        width: 70%;
        margin: auto;
        padding-bottom: 50%;
    }
    .imageWork-format, .imageWork-technique{
        font-size: 1rem;
    }

   
}

@media (max-width: 450px) {

    .title-forbiden{
        width: 95%;
    }
    
    .imagine {
        width: 95%;
        font-family: 'Open sans', sans-serif;
        text-align: center;
        font-size: 1.3rem;
        margin-right: 5%;
    }
   
    .display-none {
        display: none;
    }

    .product-card {
        margin: 10px;
        width: 95%;
    }

    .carousel-container {
        margin: 0;
        justify-content: center;
    }

    .desc-img {
        padding-top: 0;
    }

    .epv {

        width: 20%;
        margin-right: 0.90rem;
    }

    .mof {
        margin-left: 0, 90rem;
        width: 20%;
    }
}