
/*---------------------------------- update ----------------------------------*/
#updates{
    margin-top: 40px;
    margin-bottom: -80px;
    padding: 50px;
    /* padding-bottom: 100px; */
    display: flex;
    justify-content: center;
    flex-direction: column;
}


.des-img .carousel-inner .item {
    width: 100%;
    max-width: 800px;     
    height: 380px;        
    overflow: hidden;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.des-img .carousel-inner .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     
    display: block;
}

.des-cnt{
    padding-right: 30px;
    width: 30%;
    color: var(--text-color);
}

div img {
    width: 100%;
    padding: 0;
    margin: 0;
}

#updates .des {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#updates .des-cnt h3{
    font-weight: 700;
}

div .carousel-inner {
    width: 50vw;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.myCarousel{
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 1024px) {
    #updates {
        padding: 40px 30px;
    }

    #updates .des {
        flex-direction: column-reverse;
        align-items: center;
    }

    .des-cnt {
        width: 100%;
        padding-right: 0;
        margin-top: 20px;
        text-align: left;
    }

    .des-img .carousel-inner {
        width: 80vw;
        height: auto;
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    #updates .des {

        flex-direction: column-reverse;
    }
    .des-cnt{
        width: auto;
    }    
    #updates .upd-contents{
        margin-top: 0;
        margin-bottom: 40px;
    }
    #updates h2{
        font-size: 15px;
        padding: 0 30px 0 30px;
    }
    #updates {
        padding: 20px;
    }
    div .row{
        margin: 20px;
    }
    div .carousel-inner{
        width: 70vw;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    #updates {
        padding: 30px 15px;
    }

    #updates .des-cnt {
        font-size: 14px;
        line-height: 1.6;
    }

    #updates .des-cnt h3 {
        font-size: 16px;
    }

    .des-img .carousel-inner {
        width: 90vw;
        max-height: 250px;
    }

    .des-img {
        margin-bottom: 20px;
    }
}