.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.s-slide1 {
    background: url(../images/b1.jpg);
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.s-slide2 {
    background: url(../images/b2.jpg);
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.s-slide3 {
    background: url(../images/b3.jpg);
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.content {
    width: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 6;
}

.content h5 {
    color: #fff;
    font-size: 65px;
    line-height: 1.4;
}

.content p {
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
    margin-top: 1rem;
}

.content p br {
    display: none;
}

.swiper-slide-active .content h5 {
    animation: slideAnimation 1.5s .3s both;
}

.swiper-slide-active .content p {
    animation: slideAnimation 1.5s .5s both;
}


@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/*==================================================*/
@media (max-width: 1250px) {
    .swiper-slide {
        padding: 0 20px;
    }
}


@media (max-width: 850px) {
    .carousel,
    .content {
        height: 500px;
    }
    
    .content h5 {
        width: 80%;
        font-size: 40px;
    }

    .content p {
        font-size: 18px;
        font-weight: 300;
    }

    .content p br {
        display: block;
    }

    .swiper-button-prev,
    .swiper-rtl .swiper-button-next {
        left: 20px !important;
    }

    .swiper-button-next,
    .swiper-rtl .swiper-button-prev {
        right: 20px !important;
    }
}


@media (max-width: 550px) {
    .content h5 {
        font-size: 32px;
    }

    .content p {
        font-size: 15px;
    }
}