@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/BentonSansBBVA-Book.otf') format('opentype');
    font-style: regular;
    font-weight: 400;
}
@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/BentonSansBBVA-Medium.otf') format('opentype');
    font-style: semibold;
    font-weight: 600;
}
@font-face {
    font-family: 'BentonSansBBVA';
    src: url('../fonts/BentonSansBBVA-Bold.otf') format('opentype');
    font-style: bold;
    font-weight: 700;
}


:root {
    --color-01: #004481;  /*** COLOR PRINCIPAL ***/
    --color-02: #028484;  /*** COLOR SECUNDARIO ***/
    --color-03: #072146;  /*** COLOR TERCIARIO ***/
    --color-04: #1973b8;  /******** LINKS ********/
}

*{
  font-family: 'BentonSansBBVA' !important;
}

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

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

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



.w-periodos{
    width: 100%;
}



.ratio-carrousel{
    aspect-ratio: 1 / 1;
}


.carousel-control-prev {
  left: -6%;
}

.carousel-control-next {
  right: -6%;
}


.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");
}


.carousel-inner{
    width: 85%;
    margin: auto;
}




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

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


.text-primary{
    color: var(--color-01) !important;
}
.text-tertiary{
    color: #5AC4C4 !important;
}


.text-ciudades{
    background: linear-gradient(to right, #910063,#DB0007,#E8720A);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    font-weight: 600;
}



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

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

.bg-banner-principal{
    background: var(--color-01);
    padding-top: 8rem;
    padding-bottom: 8rem;
}


.bg-white-transparente{
    background: linear-gradient(rgba(255, 255, 255, .7) , rgba(255, 255, 255, .85));
    backdrop-filter: blur(8px);
}

.bg-cards-transparent{
    background: rgba(20, 100, 165, .70);
    backdrop-filter: blur(3px);
}


.bg-header{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}




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

.nav-link{
    color: rgb(248, 249, 250) !important;
}
.nav-link:hover{
    color: rgb(255, 255, 255) !important;
}


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




.btn-primary{
    background: var(--color-02) !important;
    color: rgb(248, 249, 250);
    border-color: var(--color-02) !important;
    border-radius: 0px;
}
.btn-primary:hover{
    background: #02a5a5 !important;
    color: rgb(248, 249, 250);
    border-color: #02a5a5 !important;
}


.btn-outline-secondary{
    color: var(--color-03) !important;
    border-color: var(--color-03) !important;
}
.btn-outline-secondary:hover{
    color: #f8f9fa !important;
    background: var(--color-03) !important;
}




/* BANNER ==========================================
====================================================*/

.logo-banner{
    height: 20px;
}





@media (min-width: 768px){

    html{
        font-size: 16px;
    }



    .w-periodos{
        width: 32%;
        display: flex;
    }


    .cont-slider{
        width: 75%;
        margin: auto;
    }

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

    .carousel-inner{
        width: 90%;
    }


    /* BANNER ===================================
    =============================================*/

    .logo-banner{
        height: 25px;
    }
}



@media (min-width: 992px){

    .bg-header{
        width: 49%;
    }


    .carousel-control-prev {
      left: -8%;
    }

    .carousel-control-next {
      right: -8%;
    }
}




@media (min-width: 1200px){

    .w-periodos{
        width: 19%;
    }

}

