@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=PT+Sans+Narrow:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

:root{
    --color-borde: #e0dede;
    --color-texto: #777676;
    --color-azul: #406cff;
    --font-roboto: 'Roboto', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-narrow: 'PT Sans Narrow', sans-serif;
    --opacidad-negro: 0.2;
}
.fondo-gris{
    background-color: #f6f5f5;
}
/*** INICIO RESET CSS ***/
html {
    box-sizing: border-box;
    font-family: var(--font-roboto);
    font-size: 13px;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

body, html {
    color: var(--color-texto);
    height: 100%;
    width: 100%;
}
h1{
    font-family: var(--font-montserrat);
    font-size: 24px;
    font-weight: 500;
    margin: 0 auto;
    width: fit-content;
}
.subrayado{
    border-bottom: 4px solid #919090;
}
.separador{
    height: 30px;
}
p{
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    text-align: justify;
    padding: 5px 0;
}
.texto-centrado{
    text-align: center;
}
.texto-justificado{
    text-align: justify;
}
@media(min-width: 800px){
    h1{
        font-size: 30px;
    }
    .separador{
        height: 50px;
    }
    p{
        font-size: 18px;
        line-height: 24px;
    }
}
@media(min-width: 1024px){
    h1{
        font-size: 40px;
    }
    p{
        font-size: 20px;
        line-height: 26px;
    }
}
@media(min-width: 1900px){
    h1{
        font-size: 60px;
    }
    p{
        font-size: 24px;
        line-height: 35px;
    }
}
/*** FIN RESET CSS ***/

.contenedor-elementos{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.elemento{
    cursor: pointer;
    width: 240px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin: 15px auto;
    position: relative;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.card-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card-titulo{
    color: #fff;
    font-size: 23px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    text-shadow: black 0.1em 0.1em 0.2em;
    text-align: center;
}
.card-titulo-medium{
    font-size: 20px !important;
}
.card-titulo-mini{
    font-size: 14px !important;
}
.card-body{
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    color: #fff;
    position: absolute;
    background: #1f3d4738;
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
}

.elemento:hover .card-body{
    right: 0;
}
.card-title{
    font-family: var(--font-montserrat);
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 600;
}
.card-info{
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}
.contenedor-convenios{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    justify-items: center;
    text-align: center;
}
.elemento-convenio{
    margin: 0 auto;
}
.elemento-convenio-info{
    border: 3px solid var(--color-borde);
    border-radius: 50%;
    height: 250px;
    padding-top: 80px;
    text-align: center;
    width: 250px;
}
.elemento-convenio-info img{
    max-width: 200px;
}
@media(min-width: 800px){
    .contenedor-elementos, .contenedor-convenios{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width: 1024px){
    .contenedor-elementos, .contenedor-convenios{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(min-width: 1400px){
    .contenedor-elementos, .contenedor-convenios{
        grid-template-columns: repeat(4, 1fr);
    }
    .elemento{
        font-size: 15px;
    }
}
@media(min-width: 1900px){
    .contenedor-elementos{
        grid-template-columns: repeat(5, 1fr);
    }
    .elemento{
        font-size: 16px;
    }
}
.container{
    height: 100%;
    position: relative;
    width: 100%;
}
.container img{
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    max-height: fit-content;
    width: 100%;
}
.container-info{
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-montserrat);
    font-weight: 300;
    line-height: 20px;
    padding: 20px 30px;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 280px;
    text-align: justify;
    transform: translate(0, -50%);
}
.btn-mas{
    margin-top: 15px;
}
.btn-mas a{
    background-color: darkorange;
    border-radius: 10px;
    color: #fff;
    display: block;
    height: 100%;
    padding: 8px 10px;
    text-decoration: none;
    text-align: center;
    width: 100%;
}
@media(min-width: 600px){
    .container-info{
        font-size: 16px;
        padding: 40px 30px;
        width: 300px;
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    }
}
@media(min-width: 800px){
    .container-info{
        font-size: 18px;
        line-height: 23px;
        padding: 40px;
        width: 300px;
    }
}
@media(min-width: 1024px){
    .container-info{
        font-size: 19px;
        line-height: 25px;
        padding: 40px 50px;
        width: 350px;
        right: 60px;
    }
}
@media(min-width: 1200px){
    .container-info{
        font-size: 21px;
        line-height: 27px;
        padding: 40px 60px;
        width: 370px;
        right: 70px;
    }
    .btn-mas{
        margin-top: 25px;
    }
}
@media(min-width: 1400px){
    .container-info{
        font-size: 23px;
        line-height: 30px;
        padding: 50px 60px;
        width: 390px;
        right: 100px;
    }
    .btn-mas{
        margin-top: 25px;
    }
}
@media(min-width: 1900px){
    .container-info{
        font-size: 23px;
        line-height: 30px;
        padding: 50px 60px;
        width: 420px;
        right: 100px;
    }
    .btn-mas{
        margin-top: 25px;
    }
}

/*** INICIO BOTÓN MENU ***/
.hamburger-menu {
    margin: auto;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.hamburger-menu .bar,
.hamburger-menu .bar:after,
.hamburger-menu .bar:before {
    width: 30px;
    height: 5px;
}
.hamburger-menu .bar {
    position: relative;
    transform: translateY(15px);
    background: var(--color-azul);
    transition: all 0ms 300ms;
}
.hamburger-menu .bar.animate {
    background: rgba(255, 255, 255, 0);
}
.hamburger-menu .bar:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 11px;
    background: var(--color-azul);
    transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-menu .bar:after {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    background: var(--color-azul);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-menu .bar.animate:after {
    top: 0;
    transform: rotate(45deg);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.hamburger-menu .bar.animate:before {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
/*** FIN BOTÓN MENU ***/

/*** INICIO NO FOUND ***/
#nofound{
    position: relative;
    height: 50%;
    text-align: center;
    padding-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#nofound img{
    width: 360px;
}
@media(min-width: 1200px){
    #nofound{
        height: calc(100% - 100px);
        padding-top: 120px;
    }
    #nofound img{
        width: 500px;
    }
}
/*** FIN NO FOUND ***/

/*** INICIO HEADER ***/
header{
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 15px 20px;
    position: fixed;
    z-index: 10;
    width: 100%;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
    #logo img{
        max-height: 70px;
    }
    #btn-menu{
        border: 2px solid var(--color-azul);
        border-radius: 8px;
        cursor: pointer;
        height: 45px;
        padding-top: 3px;
        transition: all 0.7s ease;
        width: 45px;
    }
    nav{
        background-color: #fff;
        bottom: 0;
        height: calc(100% - 100px);
        left: 0;
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform .3s ease;
        transform: translate(-100%, 0);
        width: 100%;
        z-index: 14000;
    }
    .active-nav{
        transform: translate(0, 0);
    }
        #contenedor-nav{
            /*background-color: #00f;*/
            height: 100%;
            overflow-x: hidden;
            overflow-y: auto;
            width: 300px;
        }
            #menu{
                /*background-color: #f0f;*/
                padding: 40px 0 20px 0;
                width: inherit;
            }
                #menu ul{
                    margin: 0;
                    padding: 0;
                    list-style: none;
                }
                    #menu ul li a{
                        color: var(--color-texto);
                        border-bottom: thin solid var(--color-borde);
                        display: block;
                        font-size: 22px;
                        font-family: var(--font-montserrat);
                        font-weight: 100;
                        padding: 18px 0;
                        position: relative;
                        text-decoration: none;
                        transition: transform .3s ease;
                    }
                        #menu ul li a:hover{
                            color: var(--color-azul);
                        }
            #menu-comunicate{
                padding-top: 30px;
            }
            #menu-comunicate a{
                /*background-color: #0ff;*/
                color: #ff8c00;
                font-family: var(--font-montserrat);
                font-size: 22px;
                padding: 35px 0 35px 45px;
                position: relative;
                text-decoration: none;
                width: inherit;
            }
                #menu-comunicate span{
                    color: #ff8c00;
                    font-size: 32px;
                    left: 0;
                    top: 30px;
                    position: absolute;
                }
@media(min-width: 800px){
    #btn-menu{
        display: none;
    }
    nav{
        background-color: transparent;
        bottom: unset;
        left: unset;
        height: auto;
        transform: translate(0, 0);
        width: 580px;
        right: 20px;
        top: 40px;
    }
        #contenedor-nav{
            display: flex;
            justify-content: space-between;
            overflow-y: hidden;
            width: 100%;
        }
            #menu{
                padding: 0;
                width: auto;
            }
                #menu ul{
                    display: flex;
                }
                    #menu ul li a{
                        border-bottom: unset;
                        font-size: 18px;
                        font-weight: 500;
                        padding: 5px 10px;
                    }
            #menu-comunicate{
                padding: 5px;
                text-align: right;
            }
                #menu-comunicate a{
                    font-size: 14px;
                    font-weight: 600;
                    padding: 35px 0 35px 35px;
                }
                #menu-comunicate span{
                    font-size: 20px;
                    top: 33px;
                }
}
@media(min-width: 1200px){
    header{
        padding: 15px 90px;
    }
    nav{
        width: 780px;
        right: 150px;
    }
    #menu ul li a{
        font-size: 20px;
        padding: 5px 20px;
    }
    #menu-comunicate a{
        font-size: 20px;
    }
    #menu-comunicate span{
        font-size: 24px;
    }
}
/*** FIN HEADER ***/

/*** INICIO FOOTER ***/
footer{
    background-color: #0338a6;
    padding: 10px 20px;
    width: 100%;
}
    .footer-elemento{
        border-bottom: thin dotted var(--color-borde);
        padding: 20px 0;
    }
    .footer-elemento:last-child{
        border-bottom: none;
    }
    .footer-elemento h2{
        color: #fff;
        font-family: var(--font-montserrat);
        font-size: 18px;
        font-weight: 400;
    }
    .footer-elemento-card-titulo{
        border-bottom: 2px solid #fff;
        width: fit-content;
    }
    .footer-elemento-card-titulo h3{
        color: #fff;
        font-family: var(--font-montserrat);
        font-size: 18px;
        padding-bottom: 5px;
        font-weight: 400;
    }
    .footer-elemento-card-item{
        padding: 10px 0 10px 25px;
        position: relative;
    }
    .footer-elemento-card-item a{
        color: #fff;
        font-size: 16px;
        font-weight: 300;
        text-decoration: none;
    }
    .footer-elemento-card-item a span{
        font-size: 18px;
        left: 0;
        position: absolute;
        top: 11px;
    }
    .footer-elemento-card-redes-sociales{
        display: flex;
        padding-top: 20px;
    }
    .footer-elemento-card-redes-sociales-item{
        background-color: #fff;
        border-radius: 50%;
        height: 45px;
        margin-right: 15px;
        width: 45px;
    }
    .footer-elemento-card-redes-sociales-item a{
        display: block;
        height: 100%;
        padding-top: 8px;
        text-align: center;
        text-decoration: none;
        width: 100%;
    }
    .footer-elemento-card-redes-sociales-item a span{
        color: var(--color-azul);
        font-size: 30px;
    }
@media(min-width: 800px){
    footer{
        display: flex;
        flex-wrap: wrap;
        padding: 20px;
    }
    .footer-elemento{
        border-bottom: none;
        border-left: thin dotted var(--color-borde);
        width: 33.3%;
        padding: 0 10px;
    }
    .footer-elemento:first-child{
        border-left: none;
    }
    .footer-elemento-card img{
        max-width: 160px;
    }
}
@media(min-width: 1024px){
    footer{
        padding: 30px;
    }
    .footer-elemento{
        padding: 0 20px;
    }
}
@media(min-width: 1200px){
    .footer-elemento-card-titulo h3{
        font-size: 20px;
        padding-bottom: 5px;
    }
    .footer-elemento-card-item{
        padding: 15px 0 10px 25px;
    }
    .footer-elemento-card-item a{
        font-size: 18px;
    }
    .footer-elemento-card-item a span{
        top: 15px;
    }
    .footer-elemento-card img{
        max-width: 200px;
    }
}
@media(min-width: 1400px){
    footer{
        padding: 50px 60px;
    }
    .footer-elemento{
        padding: 0 25px;
    }
    .footer-elemento-card img{
        max-width: 220px;
    }
}
@media(min-width: 1900px){
    footer{
        padding: 60px 150px;
    }
    .footer-elemento{
        padding: 0 30px;
    }
    .footer-elemento-card img{
        max-width: 260px;
    }
}
/*** FIN FOOTER ***/

/*** INICIO SECTION ***/
.section{
    padding: 40px 20px;
}
.section-interna{
    padding-top: 100px;
}
@media(min-width: 800px){
    .section{
        padding: 60px 60px;
    }
}
@media(min-width: 1024px){
    .section{
        padding: 70px 80px;
    }
}
@media(min-width: 1200px){
    .section{
        padding: 80px 100px;
    }
}
@media(min-width: 1400px){
    .section{
        padding: 80px 150px;
    }
}
@media(min-width: 1900px){
    .section{
        padding: 100px 250px;
    }
}
/*** FIN SECTION ***/
.imagen-cabecera {
    position: relative;
    width: 100%;
}
    .imagen-cabecera img{
        background-size: cover;
        background-position: center;
        width: 100%;
    }
    .titulo-imagen{
        color: #fff;
        font-family: var(--font-montserrat);
        font-size: 25px;
        font-weight: 600;
        position: absolute;
        bottom: 10px;
        left: 20px;
        text-shadow: black 0.1em 0.1em 0.2em
    }
    @media(min-width: 480px){
        .titulo-imagen{
            font-size: 35px;
        }
    }
    @media(min-width: 800px){
        .titulo-imagen{
            bottom: 20px;
            left: 40px;
            font-size: 50px;
        }
    }
    @media(min-width: 1024px){
        .titulo-imagen{
            left: 50px;
            font-size: 70px;
        }
    }
    @media(min-width: 1200px){
        .titulo-imagen{
            left: 70px;
            font-size: 80px;
        }
    }
    @media(min-width: 1400px){
        .titulo-imagen{
            bottom: 30px;
            font-size: 100px;
        }
    }
@media(min-width: 800px){
    .contenedor-dos-columnas{
        border-bottom: thin solid #f6f5f5;
        display: flex;
    }
    .columna-elemento{
        width: 50%;
    }
}

.contenedor-valores{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    text-align: center;
}
.elemento-valores-info{
    border: 2px solid var(--color-texto);
    border-radius: 50%;
    height: 180px;
    margin: 0 auto;
    padding-top: 35px;
    text-align: center;
    width: 180px;
}
.elemento-valores-info span{
    font-size: 100px;
}
.elemento-valores .elemento-valores-info p{
    font-family: var(--font-montserrat);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding-top: 30px;
    width: 100%;
}
@media(min-width: 800px){
    .contenedor-valores{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width: 1024px){
    .contenedor-valores{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(min-width: 1400px){
    .contenedor-valores{
        grid-template-columns: repeat(5, 1fr);
    }
}
.item-contacto{
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 18px;
    padding: 8px 30px;
    position: relative;
}
.item-contacto span{
    position: absolute;
    left: 0;
    top: 8px;
}
/*** INICIO FORMULARIO ***/
.contendor-formulario{
    background-color: #f6f5f5;
    border-radius: 10px;
    padding: 20px;
}
.caja-input{
    width: 100%;
    padding-bottom: 20px;
}
.caja-input-titulo{
    font-size: 14px;
    font-weight: 300;
}
input, select, textarea, button{
    border: thin solid #e0dede;
    border-radius: 8px;
    color: var(--color-texto);
    padding: 10px 15px;
    outline: none;
    width: 100%;
}
button{
    border: unset;
    background-color: var(--color-azul);
    color: #fff;
    cursor: pointer;
    padding: 15px 20px;
}
@media(min-width: 800px){
    .contenedor-doble{
        display: flex;
        flex-wrap: wrap;
    }
    .contenedor-doble-card-texto p{
        font-size: 20px;
        padding-right: 25px;
    }
    .contenedor-doble-card{
        width: 50%;
    }
    .contenedor-doble-card-item{
        font-size: 20px;
        padding: 10px 40px;
    }
    .contenedor-doble-card-item span{
        font-size: 22px;
    }
}
@media(min-width: 1200px){
    .contenedor-doble-card-texto p{
        font-size: 25px;
        padding-right: 30px;
    }
}
/*** FIN FORMULARIO ***/

.contenedor-sedes{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;

}
.elemento-sede{
    /*border: thin solid var(--color-borde);*/
    border-radius: 8px;
    height: 290px;
    width: 280px;
    text-align: center;
    margin: 0 auto;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.titulo-sede{
    font-family: var(--font-montserrat);
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 30px;
    text-align: center;
}
.direccion-sede{
    font-size: 20px;
    text-align: center;
}
.elemento-sede a{
    display: block;
    height: 100%;
    text-decoration: none;
    color: var(--color-texto);
    padding: 30px 40px;
    width: 100%;
    transition: all 0.7s ease;
}
.elemento-sede a:hover{
    background-color: var(--color-azul);
    border-radius: 8px;
    color: #fff;
}
.elemento-sede a:hover span{
    color: #fff;
}
.activo-sede{
    background-color: var(--color-azul);
    border-radius: 8px;
}
.activo-sede p, .activo-sede span{
    color: #fff !important;
}
.elemento-sede a span{
    color: var(--color-texto);
    font-size: 70px;
}
.ubicacion{
    height: 500px;
    position: relative;
    width: 100%;
}
.map{
    width: 100%;
    height: 100%;
}
@media(min-width: 800px){
    .contenedor-sedes{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width: 1024px){
    .contenedor-sedes{
        grid-template-columns: repeat(3, 1fr);
    }
    .ubicacion{
        height: 580px;
    }
}
@media(min-width: 1900px){
    .elemento-sede{
        height: 330px;
    }
    .ubicacion{
        height: 640px;
    }
}
#mensaje-ok, #mensaje-error{
    font-size: 30px;
    display: block;
    text-align: center;
}
#mensaje-ok span, #mensaje-error span{
    font-size: 60px;
    display: block;
    text-align: center;
    padding: 20px 0;
}
#mensaje-ok, #mensaje-ok span{
    color: #8EC141;
}
#mensaje-error, #mensaje-error span{
    color: #CB1515;
}