.swiper-main .swiper-slide {
    position: relative;
    height: auto;
}
.swiper-main__img--mobile{
    height: 100%;
}
.text *{
    line-height: normal !important;
}
.banner_text,
.banner_title{
    max-width: 375px;
}
.swiper-main .text-bottom {
    position: absolute;
    z-index: 2;
    bottom: 60px;
    left: 50%;
    width: 100%;
    max-width: 1560px;
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    transform: translateX(-50%);
}

.swiper-main .text-bottom .banner_title{
    font-size: 34px;
    line-height: 44px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.swiper-main .text-bottom .banner_text {
    font-size: 24px;
    line-height: 43px;
    margin-top: 23px;
    margin-bottom: 30px;
    display: block;
}


.swiper-main .btn {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: 600;
    padding: 16px 40px 16px !important;
    overflow: hidden;
    border-radius: 3px;
}

.swiper-main .btn:before{
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: -2;
}

.swiper-main .btn:after {
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    background-color: red;
    top: 0;
    width: 100%;
    z-index: -1;
    transform: translateX(12.5px);
    transition: all .3s ease-in-out;
}

.swiper-main .btn {
    color: white !important;
    border: none;
    background-color: initial !important;
}

.swiper-main .btn:hover:after{
    left: 0;
    transform: translateX(0px);
    transition: all .3s ease-in-out;
}

.swiper-main .btn:hover {
    color: black !important;
}

.swiper-main .text__container{
    max-width: 400px;
}

.text .mobile{
    display: none !important;
}


@media screen and (max-width: 768px) {

    .swiper-main .text-bottom {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        bottom: initial;
        top: 60px;
    }
    .swiper-main .text-bottom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        bottom: initial;
        top: 60px;
    }
    .swiper-main .swiper-slide .text-bottom {
        left: 0;
        transform: translateX(0);
    }

    .swiper-main .swiper-slide .text-bottom .text__container{
        margin: 0 ;
        align-items: start;
        text-align: left;
    }

    .swiper-main .text-bottom .banner_text {
        text-align: left !important;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .swiper-main .text-bottom .banner_title {
        font-size: 28px;
        margin-bottom: 10px;
        max-width: 280px;
    }

    .text .desktop {
        display: none;
    }

    .text .mobile {
        display: block;
    }

    .swiper-wrapper {
        z-index: 11;
    }


    .swiper-main .text-bottom  .banner_text {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .swiper-main .text-bottom .banner_title {
        font-size: 28px;
        margin-bottom: 10px;
        max-width: 280px;
    }



    .text .desktop{
        display: none !important;
    }

    .text .mobile{
        display: block !important;
    }




}

.text .text__container {
    width: fit-content;
}


.text.center .text__container{
    margin: 0 auto;
    text-align: center;
}

.text.center  .banner_title {
    margin: 0 auto;
}

.text.right .banner_title {
    margin-left: auto;
}


.text.right .text__container{
    margin-left:auto;
}

/*.swiper-main .text-bottom.right {*/
/*    left: 42%;*/
/*}*/

@media screen and (max-width: 768px){
    .swiper-main__img--mobile{
        height: 66vh;
        object-fit: fill;
    }
}
@media screen and (max-width: 768px) and (orientation: landscape){
    .swiper-main__img--mobile{
        height: 500px;
        object-fit: cover;
    }
}

@media screen and (max-width: 767px) and (orientation: portrait ){
    .swiper-main__img--mobile{
        height: 62vh;
        object-fit: fill;
    }
}
@media screen and (max-width: 767px) and (max-height: 675px) and (orientation: portrait){
    .swiper-main__img--mobile{
        height: calc(75vh - 150px);
        object-fit: fill;
    }
}


