.carousel-container {
    position: relative;
    width: 61vw; 
    overflow: hidden; 
    margin: auto; 
}

.carousel-content {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.carousel-slide {
    display: none; 
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%; 
}

.carousel-slide.active {
    display: flex; 
}

.cycle-text {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
}

.cycle-text p {
    font-size: 18px;
    color: #333;
}

.cycle-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Styles des boutons */
.carousel-btn-single {
    position: absolute;
    top: 2%; 
    background-color: #166a64;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-single {
    left: 10px; 
}

.next-single {
    right: 10px; 
}

.carousel-btn-single:hover {
    background-color: #1b5250; 
}


.center-content-parts {
    text-align: center;
    margin-top: 10px;
}