﻿.banner {
    position: relative;
}

.banner .swiper-wrapper{
    height: auto;
} 

.banner__item img {
    width: 100%;
}

.banner__item > a {
    text-decoration: none;
}

.banner__desktop{
    height: 100%;
    object-fit: cover;
}

.banner__mobile{
    height: 100%;
    object-fit: cover;
}

.banner__text {
    /* bottom: 20%; */
    left: 0;
    margin: 0 auto;
    max-width: 1140px;
    /* max-width: 80%; */
    padding: 0 5%;
    position: absolute;
    right: 0;
    top: 5%;
    z-index: 1;
    /* width: 1000px; */
}

.banner__content {
    text-align: center;
}

.banner__logo {
    margin: 0 0 20px 0;
}

.banner__logo img {
    max-width: 65%;
    width: auto;
}

.banner__title {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 45px;
    margin: 0 0 15px 0;
    width: 100%;
}

.banner__subtitle {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin: 0 0 15px 0;
    width: 100%;
}

.banner__link, .banner__link.visited{
    background: #E31F26;
    border-radius: 40px;
    color: #fff !important;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 45px 10px 45px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.banner__link:hover{
    background: black;
    color: white;
    text-decoration: none;
}

.banner .banner__pagination.swiper-pagination {
    bottom: 5%;
}

.banner .swiper-horizontal .banner__pagination .swiper-pagination-bullet {
    background: #fff;
    height: 11px;
    margin: 0 8px 0 8px;
    opacity: 1;
    transition: all 0.6s;
    width: 11px;
}

.banner .swiper-button-next, 
.banner .swiper-button-prev{
    height: 30px;
    width: 20px;
} 

.banner .swiper-button-prev {
    left: 4%;
    background: #7E7E7E;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
}

.banner .swiper-button-next {
    right: 4%;
    background: #7E7E7E;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
}

.banner .banner-button-prev.swiper-button-prev:after{
    color: white;
    font-size: 16px;
}

.banner .banner-button-next.swiper-button-next:after{
    color: white;
    font-size: 16px;
    padding-left: 2px;
}

.banner__cont-texto h2 {
    font-weight: 800;
    font-size: 51px;
    line-height: 60px;
    margin-bottom: 15px;
}

.banner__cont-texto h2 strong {
    color: var(--red);
}

.banner__pagination span.swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    border-radius: 0;
    background: white;
    opacity: 1;
    box-shadow: 0px 0px 2px 2px #0000000f;
}

.banner__pagination .swiper-pagination-bullet-active {
    background: gray !important;
}

.banner__pagination {
    text-align: center;
    margin-top: -20px;
    z-index: 2;
    position: relative;
}

@media ( min-width:768px ) {

    .banner__item {
        min-height: 350px;
    }

    .banner__text {
        max-width: min(1320px,92%);
        top: 50%;
        transform: translateY(-50%);
    }

    .banner__content {
        max-width: 55%;
        text-align: left;
    }
    
    .banner__logo {
        margin: 0 0 10px 0;
    }

    .banner__logo img {
        max-width: 30%;
    }

    .banner__title {
        font-size: 20px;
        line-height: 24px;
    }

    .banner__subtitle {
        font-size: 16px;
        line-height: 20px;
    }

    .banner__link{
        font-size: 16px;
        padding: 15px 40px 15px 40px;
    }
}

@media (min-width: 1024px){

    .banner__item {
        min-height: 450px;
    }

    .banner__content {
        max-width: 50%;
    }

    .banner__logo img {
        max-width: 40%;
    }

    .banner__title{
        font-size: 40px;
        line-height: 44px;
        width: 55%;
    }
    
    .banner__subtitle {
        width: 50%;
    }

}


@media (min-width: 1200px){
    .banner__text {
        max-width: min(1320px,92%);
    }
}

@media (max-width: 1320px){
    .banner__desktop {
        object-fit: cover;
        height: 500px;
    }
}

@media (max-width: 768px){

    .banner__text {
        bottom: 120px !important;
        top: inherit;
    }

    .banner__pagination {
        margin-top: -40px;
    }

    .banner__cont-texto h2 {
        font-size: 28px;
        line-height: 33px;
    }

    .banner__link, .banner__link.visited {
        font-size: 14px;
    }

    .banner__content {
        text-align: left;
        padding: 0 40px;
        margin: auto;
    }

    .banner .swiper-button-next, 
    .banner .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .banner .banner-button-next.swiper-button-next:after,
    .banner .banner-button-next.swiper-button-prev:after {
        font-size: 12px;
    }
}