﻿.seccion-banner-principal {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.btn-anterior, .btn-siguiente {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 75px;
    color: white;
    cursor: pointer;
    z-index: 100;
    text-shadow: 3px 0px 12px rgba(150, 150, 150, 0.91);
}

.btn-anterior {
    left: 45px;
}

.btn-siguiente {
    right: 45px;
}

.cont-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.cont-slider-expan {
    width: 400%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 25%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 30px 150px;
}

.slide.slide1 {
    background: url('/Personas/Paginas/millasPopularNuevo/assets/images/BPD_Tarjeta_BannerIB_Millas_1920x550px.webp');
    background-position: center;
}

.slide.slide2 {
    background: url('/Personas/Paginas/millasPopularNuevo/assets/images/2-BPD_Tarjeta_BannerIB_Millas_1920x550px-concierto.webp');
    background-position: center;
}

.slide.slide3 {
    background: url('/Personas/Paginas/millasPopularNuevo/assets/images/3-BPD_Tarjeta_BannerIB_Millas_1920x550px.webp');
    background-position: center;
}

.slide.slide4 {
    background: url('/Personas/Paginas/millasPopularNuevo/assets/images/4-BPD_Tarjeta_BannerIB_Millas_1920x550px.webp');
    background-position: center;
}

.btn-naranja {
    background: #ed8b00;
    color: #fff;
    border-radius: 30px;
    padding: 22px 40px;
    display: inline-block !important;
    font-size: 16px;
    line-height: 1;
    font-family: roboto !important;
    font-weight: 500;
    border: none;
    margin-left: 0px !important;
}

.btn-naranja:hover{
    background: #9b5a00;
}

.cont-texto{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    margin-left: 150px;
}

.cont-texto h1{
    text-transform: none !important;
    margin-bottom: 20px !important;
    color: white !important;
    font-size: 34px !important;
    text-align: left !important;
    width: 100%;
}

.cont-texto p{
    color: white !important;
    font-size: 20px !important;
    text-align: left !important;
    width: 80%;
}

@media (max-width: 1199px) {
    .cont-texto{
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        margin-left: 0px;
    }
}

@media (max-width: 768px) {
    .seccion-banner-principal {
        height: auto;
    }

    .btn-naranja {
        background-color: #f7921e;
        padding: 10px 35px !important;
        border-radius: 50px !important;
        font-size: 16px;
        text-transform: none;
        color: #fff;
        border-radius: 25px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
    }

    .slide {
        width: 100%;
        height: 500px !important;
        position: relative;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        display: flex
    ;
        align-items: center;
        justify-content: center;
        padding: 30px 70px;
    }

    .cont-texto{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .cont-texto h1{
        text-transform: none !important;
        margin-bottom: 20px !important;
        color: white !important;
        font-size: 27px !important;
        text-align: center !important;
    }
    
    .cont-texto p{
        color: white !important;
        font-size: 18px !important;
        text-align: center !important;
    }

    .btn-anterior, .btn-siguiente {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 40px;
        color: white;
        cursor: pointer;
        z-index: 100;
        text-shadow: 3px 0px 12px rgba(150, 150, 150, 0.91);
    }
}