﻿/*.Caros {
    border-bottom: 10px solid rgb(8 42 250 / 0.78);
    height: 700px;
    width: 100%;
    position: relative;
    align-content: center;
    top: 125px;
    left: 10px;
    border-radius: 15px;
    background-color: rgb(8 42 250 / 0.32)
}

.anime {
    position: relative;
    left: 155px;
    top: -75px;
}

#mycarousel {
    height: 100%;
    margin-bottom: 10px;
    margin-top: -50px;
}

.container {
    height: 100%;
    width: 100%;
}


.carousel-item {
    height: 140%;
    width: 100%;
    margin-top: 80px;
    margin-left: 0;
}*/
/* Declare heights because of positioning of img element */
/*.carousel .item {
    height: 100%;
    background-color: #777;
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
}


@media(max-width:800px) {
    #mycarousel {
        height: 100%;
        margin-bottom: 10px;
        margin-top: -150px;
    }

    .container {
        height: 100%;
        width: 100%;
    }


    .carousel-item {
        height: 50%;
        width: 100%;
        margin-top: 20px;
        margin-left: 13px;
    }

    Declare heights because of positioning of img element
    .carousel .item {
        height: 30%;
        background-color: #777;
    }

    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 30%;
    }
}*/
.carousel {
    max-height: 80vh; /* Ajustez selon vos besoins */
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Pour que les images couvrent bien la zone */
}

/* Ajustements pour différentes tailles d'écran */
@media (max-width: 768px) {
    .carousel {
        max-height: 50vh;
    }
}

@media (max-width: 576px) {
    .carousel {
        max-height: 40vh;
    }
}

