/* Style du carrousel */
.carrousel {
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    width: 250px;
    overflow : hidden;
}

.carrousel-large {
    /* Défilement fluide */
    width: 100%;
    /* Masque les images qui dépassent */
    ;
    display: flex;
    margin-bottom: 10px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out
}

.carrousel img {
    max-height: 250px;
    min-height: 250px;
    min-width: 250px;
    object-fit: contain;
    transition: transform 0.5s ease
}

.carrousel-small {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    max-width: 250px;
    min-width: 250px;
}

.carrousel-small .thumbnail {
    cursor: pointer;
    height: 76px;
    min-height: 76px;
    min-width: 76px;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 76px
}

.carrousel-small .thumbnail {
    transition: opacity 0.5s ease-in-out
}

.carrousel-small .thumbnail:hover {
    transform: scale(1.1)
}

/* Styles pour les flèches */
.prev,
.next {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8)
}

.prev {
    left: 20px
}

.next {
    right: 20px
}

/* Responsivité */
@media (max-width: 1200px) {
    .carrousel-large img {
        max-height: 300px
    }
}