.carousel-section {
    background-color: #0e0e0e; /* Couleur de fond noire */
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid rgb(240, 156, 51);
    border-radius: 1rem;

}

.carousel-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    position: relative;
}

.carousel-image {
    flex: 2;
    background-size: cover;
    background-position: center;
    height: 400px;
    margin-right: 2rem;
    position: relative;
    transition: background-image 1s ease-in-out; /* Transition d'une seconde pour le changement d'image */
    opacity: 0;
    animation: fadeIn 1s forwards; /* Animation d'apparition */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.carousel-description {
    flex: 1;
    color: rgb(240, 156, 51); /* Texte jaune */
    font-family: 'Epilogue', sans-serif;
    font-size: 2rem;
    margin-left: 2rem; /* Espacement entre l'image et la description */
    text-align: center;
    font-weight: bold;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Désactive les événements de souris sur ce conteneur */
}

.carousel-prev, .carousel-next {
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent pour les flèches */
    border: none;
    color: rgb(240, 156, 51); /* Couleur des flèches */
    font-size: 2rem;
    cursor: pointer;
    pointer-events: all; /* Active les événements de souris pour les boutons */
    transition: color 0.3s ease;
    padding: 10px;
}

.carousel-prev {
    margin-left: -90px; /* Position à gauche de l'image */
}

.carousel-next {
    margin-right: -8rem; /* Position à droite de l'image */
}

.carousel-prev:hover, .carousel-next:hover {
    color: #ffffff; /* Couleur blanche au survol */
}

.services-oracles {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    color: rgb(240, 156, 51);
    position: relative;
    top: 25px;
    margin-bottom: 30px;
}

.oracles-description{
    font-size: 25px;
    margin: 0;
    margin-bottom: 30px;
}
