*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration-line: none;
}
body{
    background: #f4f5f7;
}
/* HEADER */
header {
	background: #4497fe;
    z-index: 1000;
	color: #ffffff;
	width: 100%;
    display: flex;
    justify-content: space-between;
}
.col img{
    width: 100px;
    height: auto;
}
.row{
	margin: 0 35px;
	display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: left;
}
.col{
	margin: 5px 15px;
}
header h1{
	font-size: 40px;
    letter-spacing: 8px;
}
header h2{
    font-size: 20px;
    letter-spacing: 6px;
	text-align: left;
}
/* OCULTAR TITULO ABREVIADO */
.titulo-abrev{
    display: none;
}
/* MOSTRAR TITULO COMPLETO */
.titulo-full{
    display: block
}
/* ABREVIAR TITULO */
/*@media (max-width: 1300px){
    .titulo-full{
        display: none;
    }
    .titulo-abrev{
        display: block;
    }
    
}*/
@media (max-width:  1300px){
    header h1{
        letter-spacing: 0;
    }
}
@media (max-width: 1000px){
    .titulo-full{
        display: none;
    }
    .titulo-abrev{
        display: block;
    }
    header h1{
        font-size: 35px;
        letter-spacing: 4px;
    }
    header h2{
        font-size: 20px;
        letter-spacing: 2px;
        text-align: left;
    }
    header{
        position: sticky;
        top: 0;
    }
}
@media (max-width: 600px){
    
    .row{
        margin:inherit;
    }

    .col img{
        display:none;
    }
}

@media (max-width: 450px){
    header h2{
        font-size: 15px;
    }
    header h1{
        font-size: 30px;
    }
}



 /*NAVEGADOR*/
 nav{
   background-color: #4497fe;
   border-top: solid 1px  #ffffff;
   width: 100%;
   position: sticky;
   top: -1px;
   font-size:14px;
   z-index: 2000;
}
nav ul li a img{
    margin: 0;
    padding: 0;
    width: 15px;
    margin-left: 5px;
}

.menu__horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu__horizontal > li > a{
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}


.menu__horizontal li:hover .menu__vertical{
    display: block;
}

.menu__vertical{
    position: absolute;
    display: none;
    list-style:none;
    width: 175px;
    background-color:#ffffff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 8px rgba(10,10,10,.1);
}
.menu__vertical li a{
    display:block;
    color:#113a87;
    font-size: 16px;
    padding: 15px 15px 15px 18px;
    text-decoration: none;
}
.menu__vertical li a:hover{
    color:#4497fe;
}
.menu__vertical li:last-child:hover{
    border-radius: 0 0 15px 15px;
}

.abrir, .cerrar {
    display: none;
  }
/* OCULTAR NAV */
@media (max-width: 1000px) {
  .abrir, .cerrar {
    display: flex;
    margin-right: 40px;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    justify-content: right;
    align-items: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    padding: 32px;
    width: 250px;
    background-color: #4497fe;
    top: 0;
    right: 0;
    box-shadow: 0 0 0 1000vmax rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
  }

  nav.visible {
    opacity: 1;
    visibility: visible;
  }

  .menu__horizontal {
    flex-direction: column;
    align-items: start;
    justify-content: flex-start; 
    padding: 0; 
  }

.menu__vertical {
    position: inherit; 
    border-radius:inherit;
    box-shadow: inherit;
    text-align: left; 
    margin-left: 20px;  
    }

.menu__vertical li a {
    color: #113a87;
    padding: 5px 5px 10%px;
    }

.menu__vertical li a:hover {
    color: #ffffff;
    }

.menu__vertical li:last-child:hover {
    border-radius: inherit;
    }

  .menu__horizontal > li > .menu__vertical {
    display: none;
    }
/*muestra el submenu cuando esta activo*/
  .menu__horizontal > li.active > .menu__vertical {
     display: block;
    }

  .menu__horizontal > li > .menu__vertical > li {
     background: #4497fe;
    }

  .menu__horizontal > li > .menu__vertical > li > .menu__vertical {
    position: relative;
    width: 100%;
    left: 0;
  }
  header h1{
    font-size: 35px;
    letter-spacing: 4px;
    }
    header h2{
        font-size: 20px;
        letter-spacing: 2px;
        text-align: left;
    }
    header {
        position: sticky;
        top:0;
    }
}

section{
    margin-bottom: 20px;
}
section h2{
    padding: 15px 20px 0 20px;
    color: #143687;
    font-size: 32px;
}
section h3{
    padding: 15px 20px 0 0;
    color: #143687;
    font-size: 22px;
}
section p{
    margin: 10px 8px 2ch 30px;
    text-indent: 3ch;

}
.acordeon__item p{
    margin-left: 0;
}
.galeria div{
    margin: 20px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}
@media(max-width: 810px){
    .galeria img{
        width: 90%;
    }
}


.contenedor{
    width: 70%;
    height: auto;
    display: flex;
    justify-content: start;
    padding: 10px 10px 10px 20px;
}
.contenedor img{
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
@media (max-width: 1320px){
    .contenedor img {
        border-radius: 10px 10px 0 0;
        margin-bottom: 0;
    }
}

/*SECTION*/
.color {
    background: rgb(137,201,255);
    background: linear-gradient(0deg, rgba(137,201,255,1) 35%, rgba(44,118,255,1) 100%);
    padding-top: 10px;

}

.cuadro {
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);

    position: relative;
    top: 80px;
    margin: 20px 8% 140px 8% 
}

.contenedor {
    min-width: 40%; 
    overflow: hidden;
}

.contenedor img {
    max-width: 100%;
    object-fit: cover;
    border-radius: 18px;
}
.contenedor-texto h2, .contenedor-texto p{
    margin:initial ;
    padding: initial;
    text-align: left;
    text-indent: initial;
}
.contenedor-texto {
    padding: 25px;
    text-align: left;
}
.contenedor-texto p{
    margin:  10px 0 0 10px;
}

@media (max-width: 1000px) {
    .cuadro {
        flex-direction: column; 
        justify-content: space-between;
    }

    .contenedor img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    }

    .contenedor-texto {
        flex: 2; 
    }
}


/*TARJETAS*/

.tarjeta-conteiner{
    display: flex;
    flex-direction: row;
    justify-content:space-around;
}
.tarjeta {
    background: #f5f5f5;
    box-shadow: 0 5px 20px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:20px;
    min-width: 270px;
    max-width:350px;  
    border-radius: 24px;    
}

.tarjeta-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    bottom: 25px;
}

.tarjeta-img img{
    width: 90%;
    object-fit: cover;
    padding: 15px;

}

.tarjeta-info h2, .tarjeta-info p{
    margin:initial ;
    padding: initial;
    text-align: left;
    text-indent: initial;
}

.tarjeta-info {
    height: 80%;
    padding: 0px 20px 20px 20px;
}
.tarjeta-info p{
    margin:  10px 0 0 10px;
}
@media (max-width: 1000px) {
    .tarjeta-conteiner{
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    .tarjeta{
        min-width: 80%;
        margin-top: 40px;
    }

}




/* FOOTER */
footer {
    width: 100%;
    background-color: #113a87;
}
footer .grupo1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    padding: 25px 0px;
}
footer .grupo1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
footer .grupo1 .box figure img {
    width: 150px;
}


footer .grupo1 .box h4 {
    color: #fff;
    margin-bottom: 5px;
    margin-top: 5px;
}
footer .grupo1 .box a {
    color: #a8a8a3;
}
footer .grupo1 .box a:hover{
    color: #ffffff;
}
/*footer .grupo1 .box .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-top: 5px;
}*/
#facebook, #instagram, #twitter, #youtube{
    height: 48px;
    width: 48px;
}
#facebook{
    background-image: url("../img/facebook.webp");
}
#facebook:hover{
    background-image: url("../img/facebook-color.webp");
}
#instagram{
    background-image: url("../img/instagram.webp");
}
#instagram:hover{
    background-image: url("../img/instagram-color.webp");
}
#twitter{
    background-image: url("../img/twitter.webp");
}
#twitter:hover{
    background-image: url("../img/twitter-color.webp");
}
#youtube{
    background-image: url("../img/youtube.webp");
}
#youtube:hover{
    background-image: url("../img/youtube-color.webp");
}
#facebook, #instagram, #twitter, #youtube{
    display: inline-block;
}
.red-social a{
    display: inline-block;
    margin: 10px 15px 0 0;
}
/*footer .grupo1 .box .red-social img {
    width: 30px;
    height: auto;
}*/

footer .grupo2 {
    padding: 15px 10px;
    text-align: center;
    color: #a8a8a8;
}

/* RESPONSIVE */
@media (max-width: 850px) { 
footer .grupo1{
    width: 90%;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 5px;
    padding: 35px 0px;
 }
}