


.container{
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 99rem;
    margin-bottom: 7rem;
    overflow: hidden;
    }
    
.gallery {
    text-align: center;
    }
    
.main-image img {
    max-width: 50rem;
    max-height: 40rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    }



    /* Flèches de navigation */
.arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 18%;
}

.arrow.right {
    right: 18%;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1000px) {
    .arrow {
       display: none;
    }
}

.thumbnails {
    margin-top: 20px;
    }
    
.thumbnails img {
    width: 20rem;
    height: auto;
    margin: 5px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    }
    
.thumbnails img:hover {
    border-color: #333;
    }


/* Responsivité de l'image principale */
.main-image img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}
/* Responsivité des miniatures */
.thumbnails img {
    width: 100%;
    max-width: 170px;
    height: auto;
    margin: 5px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.thumbnails img:hover {
    border-color: #333;
}

/* Mise en page flexible et responsive */
.container {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 99rem;
    margin-bottom: 7rem;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1000px) {

    
    .thumbnails img {
        width: 80px;
    }

}