/*
this file handles the carousol responsiveness
*@Author Myxo victor
*@Date 7th july 2026
*/

.carousel-container,
.partners{
    overflow: hidden;
}

#carousel-container .smooth-media-frame{
    width: 100%;
    height: clamp(180px, 24vw, 300px);
    aspect-ratio: auto;
    border-radius: 20px;
}

#carousel-container .smooth-media-image{
    object-fit: cover;
}

#schools-carousel-container .smooth-media-frame{
    width: 100%;
    height: 130px;
    aspect-ratio: auto;
    border-radius: 0;
    background: #ffffff;
}

#schools-carousel-container .smooth-media-image{
    padding: 18px;
    object-fit: contain;
    background: #ffffff;
}

@media screen and (min-width: 900px){
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .carousol{
       width: 100%;
       height: 400px;
       background-color: white;
       padding: 10px;
       margin: 30px auto;
    }

    .carousol-image{
        width: 400px;
        height: auto;
        border-radius: 20px;
    }

    .carousel-container,
    .carousol-container{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
    }
}
