/* @media(min-width:769px) {
    .carousel {
        min-height: 500px !important; 
    }
}
.carousel {
    width: 100%;
    min-height: 300px; 
    overflow: hidden;
    position: relative;
}

.carousel img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

@keyframes carousel {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    53.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.carousel img:nth-child(1) {
    animation: carousel 9s infinite;
}

.carousel img:nth-child(2) {
    animation: carousel 9s infinite 3s;
}

.carousel img:nth-child(3) {
    animation: carousel 9s infinite 6s;
}



 */

@media(min-width:769px) {
    #carousel a {
        text-align: center;
        /* height: 170px !important;  */
    }

    #carousel img {
        /* max-width:600px ; */
        border-radius: 20px;
        height: 300px;
    }
}

#carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.carousel-title {
    width: 100%;
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    margin-left: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

#carousel img {
    width: 100%;
    height: 220px;
    /* height: 100%; */
    /* object-fit: cover; */
    border-radius: 20px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.caroiseActive {
    opacity: 1 !important;
}