.carousel-inner img {
    width: 100%;
    /* Set width to 100% */
    margin: auto;
}


.carousel-item {}

.carousel-item img {
    width: 100%;
    /*    height: 100vh;*/
    object-fit: cover;
}

.carousel-caption h3 {
    color: #fff !important;
}

@media (max-width: 600px) {
    .carousel-caption {
        display: none;
        /* Hide the carousel text when the screen is less than 600 pixels wide */
    }
}

/*about section*/

#about_index {
    margin-bottom: 8%;
}

#about_index h5 {

    color: #f16868
}

#about_index {
    margin-top: 7%;
}

#about_index > div > div div:last-child {
    margin-top: 7%;
}


.read_btn {
    background-color: #727376;
    color: #fff;
    text-transform: uppercase;
}

.read_btn:hover {
    background-color: #fff;
    color: #727376 !important;
    border: 1px solid #727376 !important;
}

.read_btn:hover {
    color: #fff;
}

.btn_ani {
    transition: all .2s !important;
}

.btn_ani:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, .2); */
}

/*END OF about section*/

#about_index .rotate h2,
.media-section .rotate h2,
#demos .rotate h2 {
    color: #F0796C;
}

/*events section*/

#demos {
    padding: 0%!important;
    background-color: #e5dbc2;
}

#demos > div {
    padding-top: 3%;
}

.owl-nav {
    display: none;
}

.event_images img {
    width: 110%;
    height: 29vh;
}

.event_images {
    color: #fff !important;
    background-color: #F0796C;
    text-align: center;

    max-height: 190px !important;
    height: 190px;
}

.event_images p {
    margin-bottom: 0.1rem !important;
    color: #fff !important;
    text-decoration: none;
}

/*END OF events section*/

/*Media*/

.media-section {
    padding: 5% 0%;
    background-color: #e5dbc2;
}

#demos .rotate h2,
.media-section .rotate h2,
#about_index .rotate h2 {
    color: #F0796C;
}

/*END OF  Media*/

@media (min-width: 768px) {
    .carousel-item img {
        height: 100vh !important;
    }

    .media-section .rotate h2 {
        color: #F0796C;
        margin-top: 50px;
        -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    .media-section .rotate:after {
        content: '';
        position: absolute;
        border: 1px solid #c4c5c7;
        height: 100%;
        right: 20px;
        top: 0;
    }

    #demos .rotate:after {
        content: '';
        position: absolute;
        border: 1px solid #c4c5c7;
        height: 70%;
        right: 20px;
        top: 0;
    }

    #demos .rotate h2 {
        color: #F0796C;
        margin-top: 60px;
        -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    #about_index .rotate:after {
        content: '';
        position: absolute;
        border: 1px solid #c4c5c7;
        height: 70%;
        right: 20px;
        top: 0;
    }

    #about_index .rotate h2 {
        color: #F0796C;
        margin-top: 60px;
        -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@media (max-width: 785.98px) {
    #about_index > div > div div:last-child img {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    #about_index .rotate:after,
    #demos .rotate:after,
    .media-section .rotate:after {
        right: 5px;
    }
}

@media (max-width: 767.98px) {
    .event_images img {
        width: auto !important;
    }


}

@media (max-width: 575px) {
    .owl-theme .item {
        margin-top: 30px !important;
    }


}
