@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/BentonSansBBVA-Book.woff2') format('woff2');
    font-style: book;
    font-weight: 400;
}
@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/BentonSansBBVA-Medium.woff2') format('woff2');
    font-style: semibold;
    font-weight: 600;
}
@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/tiempos-headline-bold.woff2') format('woff2');
    font-style: bold;
    font-weight: 700;
}


:root {
    --color-01: #0c6dff;  /*** COLOR PRINCIPAL ***/
    --color-02: #001391;  /*** COLOR SECUNDARIO ***/
    --color-03: #070E46;  /*** COLOR TERCIARIO ***/
    --color-04: #85c8ff;  /******** LINKS FOOTER ********/
}

*{
  font-family: "BentonSansBBVA" !important;
  color: #070E46 !important;
}


html{
    font-size: 14px;
    scroll-behavior: smooth;
}

div, section{
    scroll-margin-top: 150px !important;
}

/* VARIOS ==========================================
====================================================*/


.bg-aqua-bbva{
    background-color: #8BE1E9;
}

.py-7{
    padding-top: 5.5rem;
    padding-bottom: 1rem;
}



.border-16px{
    border-radius: 16px;
}



.w-periodos{
    width: 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004481'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004481'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.ratio-carrousel{
    aspect-ratio: 16 / 9;
}


.pos-titulo{
    width: 100%;
    position: absolute;
    bottom: 0 !important;
    left: 0;
}




/* FUENTES ==========================================
====================================================*/

.text-small{
    font-size: 0.9rem;
}
.text-xsmall{
    font-size: 0.64rem;
}


.text-primary{
    color: var(--color-01) !important;
}
.text-secondary{
    color: var(--color-02) !important;
}
.text-tertiary{
    color: var(--color-03) !important;
}

.text-footer{
    color: var(--color-04) !important;
}

.text-dark{
    color: #070E46 !important;
}



/* BACKGROUNDS =====================================
====================================================*/

.bg-light{
    background: #F7F8F8 !important;
}

.bg-primary{
    background: var(--color-01) !important;
}
.bg-secondary{
    background: var(--color-02) !important;
}
.bg-tertiary{
    background: var(--color-03) !important;
}




/* BOTONES / LINK ==================================
====================================================*/

.nav-link{
    color: var(--color-02) !important;
}
.nav-link:hover{
    color: var(--color-03) !important;
}


.link-primary{
    color: var(--color-02) !important;
    text-decoration-color: color-mix(in srgb, var(--color-02) 75%, transparent) !important;
}
.link-primary:hover{
    color: color-mix(in srgb, var(--color-02) 75%, black) !important;
    text-decoration-color: color-mix(in srgb, var(--color-02) 90%, transparent) !important;
}




.btn-primary{
    will-change: background-position;
    background-size: 210% 100%;
    background-position: 99% center;
    background-repeat: no-repeat;
    transition: background-position 0.66667s cubic-bezier(0.24, 0.22, 0.31, 1.07);
    background-image: linear-gradient(100deg, #2165ca 50%, #0c6dff 50%);
    background-color: #0c6dff;
    color: #fff !important;
    border: thin solid #0c6dff;
}
.btn-primary:hover{
    background-position: 0px center;
    border: thin solid #0c6dff;
}






@media (min-width: 768px){

    html{
        font-size: 16px;
    }
}

@media (min-width: 768px){

    .pos-titulo{
        width: auto;
        top: 50%;
        bottom: auto !important;
        left: 0;
        transform: translateY(-50%);
    }
}




@media (min-width: 1200px){

    .w-periodos{
        width: 19%;
    }

}

