.mi-container-banner {
    width: 100%;
    /* Ocupa todo el ancho disponible */
    height: 1070px;
    /* Altura fija de 1080px */
    display: flex;
    /* Flexbox para organizar el contenido */
    justify-content: center;
    /* Centra el contenido horizontalmente */
    align-items: center;
    /* Centra el contenido verticalmente */
    position: relative;
    overflow: hidden;
    /* Asegura que no haya desbordamiento */
}

.contenedor-scroll {
    position: absolute;
    display: flex;
    left: 50%;
    bottom: 40px;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
}

.texto-scroll {
    color: #FFF;

    font-family: Roboto;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-right: 10px;
}

.vector-scroll {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    margin-top: 10px;
}

/* Aseguramos que el row ocupe todo el ancho disponible */
.mi-row {
    display: flex;
    justify-content: center;
    width: 100%;
    /* Aseguramos que ocupe el 100% del ancho */
}



.mi-col {
    width: 100%;
    /* Ocupa todo el ancho disponible */
    height: 1070px;

    padding: 30px;
    text-align: center;
    background-image: url(../imagenes/Imagen-fondo-cabecera.jpg);
    /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    /* Asegura que los elementos internos se apilen verticalmente */
    justify-content: center;
    /* Centra los elementos en el eje vertical */
}

/* Subcontenedor con los textos centrados */
.mi-sub-content {
    width: 80%;

    max-width: 310px;

    position: absolute;
    right: 300px;


    text-align: left;




    display: flex;
    flex-direction: column;
    /* Para alinear el título, párrafo y enlace en columna */
    justify-content: center;
    /* Centra el contenido verticalmente */
}

/* Estilo del enlace con la flecha */
.mi-video-link.responsive {
    display: none;
}
.mi-video-link {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    color: white;
    margin-top: 20px;
    font-family: Roboto;
}

.mi-video-link img {
    width: 128px;
    /* Tamaño de la flecha */
    margin-right: 10px;
    height: 7.59px;
}

.mi-flecha-banner {
    flex-shrink: 0;
}

/* Estilo para el título */
h2 {
    color: #FFF;
    font-family: Roboto;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    text-align: left;

}

/* Estilo para el párrafo */
p {
    color: #FFF;
    font-family: Roboto;
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
    text-align: left;


    margin-top: 10px;
}

/* Estilo para los enlaces */
.mi-container-banner a {
    color: #FFF;
    font-family: Roboto;
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
    text-align: left;
}

@media(max-width:1440px) {
    .mi-col {
        background-image: url(../imagenes/Imagen-fondo-cabecera-1440.jpg);
        height: 810px;
    }

    .mi-container-banner {
        height: 810px;

    }

    .mi-sub-content{
        right: 210px;
    }
}
@media(max-width:1100px) {
    .mi-sub-content{
        right: 160px;
    }
}

@media(max-width:1024px) {
    .mi-container-banner a {
        font-size: 18px;
    }

    .mi-sub-content {


        right: 40px;

    }

    .mi-sub-content h2 {
        font-size: 18px;
    }

    .mi-sub-content p {
        font-size: 17px;
        font-style: normal;
    }

    .mi-container-banner {
        height: 576px;

    }

    .mi-col {
        background-image: url(../imagenes/Imagen-fondo-cabecera-1024.jpg);
        height: 576px;
    }
}

@media (max-width: 820px) {

    .mi-container-banner {
        height: 461px;
        background-size: contain;

    }

    .mi-col {

        background-position: left;
        background-image: url(../imagenes/Imagen-fondo-cabecera-820.jpg);
        height: 461px;
    }

    .mi-sub-content {
        right: 0px;
        padding-right: 40px;
        bottom: 25%;
    }

    .contenedor-scroll {
        /* right: 35%; */
        bottom: 30px;
    }
}

@media (max-width: 768px) {

    .contenedor-scroll {
        display: none;
    }

    .mi-container-banner {
        height: 640px;

    }

    /* Ajustar el tamaño y márgenes de la subcontenido */
    .mi-sub-content {
        width: 90%;

        max-width: 280px;

    }

    /* Ajuste de márgenes en las pantallas pequeñas */
    .mi-col {
        padding: 20px;
        background-position: center;
        height: 640px;
        background-image: url('../imagenes/Imagen-fondo-cabecera-768-v2.jpg');
    }

    .mi-sub-content {

        bottom: 34%;


    }

}

@media (max-width: 430px) {
    .mi-sub-content {

        max-width: 100%;
        right: 0px;
        padding-right: 40px;
        bottom: 10px;
    }

    .mi-col {
        width: 100%;
        height: 725px;
        background-position: center;
        background-size: cover;
        background-image: url('../imagenes/Imagen-fondo-cabecera-430.jpg');
        /* background-image: unset;
        background-color: #1c2834; */
    }

    .mi-container-banner {
        height: 725px;
    }

    .mi-video-link {
        display: none;


    }

    .mi-video-link.responsive {
        display: block;
        margin: 0 40px;
    }

    .mi-sub-content p {
        margin-top: 10px;
    }

}

@media (max-width: 375px) {

    .mi-container-banner {
        width: 100%;
        height: 640px;
        /* Ocupa todo el ancho disponible */

    }

    .oculto {
        visibility: visible;
        height: 93px;
        width: 100%;
        background-color: #231B18;
    }

    .mi-col {


        background-image: url(../imagenes/Imagen-fondo-cabecera-375.jpg) !important;
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        height: 640px !important;
    }


    .mi-sub-content {


        max-width: 80%;
        right: 30px;

        height: auto;


    }

    h2 {
        color: #FFF;

        font-family: Roboto;
        font-size: 19px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;

    }

    p {
        color: #FFF;

        font-family: Roboto;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;



    }

    .mi-video-link img {
        width: 106.626px;
        height: 6.318px;
        flex-shrink: 0
    }

}


/*Para el swiiper slider */

@media (max-width: 375px) {
    .mySwiper .swiper-slide {
        width: 50% !important;
        /* Establece el ancho de cada slide al 50% */
        box-sizing: border-box;
        /* Asegura que el ancho tenga en cuenta el padding y los bordes */
    }
}