.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px;
    border-radius: 9px;
    background: linear-gradient(
            45deg,
            var(--am-rose-500) 0%,
            var(--am-jaune-500) 100%
    );
}

.carousel-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-img > img {
    width: 350px;
    height: 280px;
    object-fit: cover;
    border-radius: 6px;
}

.carousel-next,
.carousel-prev {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: var(--blanc);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel:hover {
    .carousel-next,
    .carousel-prev {
        display: flex;
    }
}

.carousel-next:hover,
.carousel-prev:hover {
    background: rgba(0, 0, 0, 1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel {
        display: none;
    }
}
