/* Depuración (No tocar)*/
* {
	margin: 0;
	padding: 0;
	border:0;
}

/*scrol configuracion*/
html::-webkit-scrollbar{
	width: 10px;
}

html::-webkit-scrollbar-track{
	background-color:#50abd8;
}

html::-webkit-scrollbar-thumb{
	background-color:#50abd8 ;
}
html {
	scroll-behavior:smooth ;
}

/*------------------- Banner pag.principal(index)------------------*/
.cabecera{
	display: flex;
	justify-content: center;
	padding-top: 3px;
	height: 138px;
}



/*------------------ Cuerpo -----------------*/
body {
	background-color: #E7EEF9 ;
	overflow-x: hidden;
}

/*------------------ Accesos a demás paginas ---------------*/
/* Esto sirve para permitir la organizacion de los accesos en la pagina */
.nav {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-left: 5%;
	column-gap: 5px;
	justify-content: center;
}
.navv{
	display: grid;
	grid-template-columns: 1fr 1fr;
	
	margin-left: 20%;
	
	
	justify-content: center;
}

/*Configuracion de las diferentes cabeceras*/

/* Banner pag. 
.cabecera_1{
	display: flex;
	justify-content: center;
	padding-top: 3px;
	height: 158px;
}
/* Esto de abajo es para modificar los accesos directamente */
 
/*iconos*/
a .insc{
	padding: 10px;
	width: 50%;
}
a img {
	transition: linear .5s;
	padding: 9%;
	width: 65%;

}

/* Esto de aqui es para que al posicionar el cursor sobre los accesos, estos tengan un efecto */
a:hover {
	transition: linear .5s ;
	transform: scale(110%);
	color: black;
	filter: drop-shadow(5px 5px 1px #2186c1) ;
}
 /*mas sobre la configuracion de las imagenes*/
.cuerpo img{
    justify-content: space-between;
	margin: 16px;
    object-fit: cover;
}

/* --------------------- Footer -------------------- */
/* Se encarga del color y fondo del div pie

.linea {
	border-top: 1px solid black;
	height: 2px;
	padding: 0;
	margin: 20px auto 0 auto;
  }*/


.box-2{
    background: #F8F6F6 ;
    height: 85px;
    text-align: center;
    padding-top: 15px; 
}



.Volver{
  display: inline-block;
  width: 85px;
  height: 50px;
  background: #f3812d;
  border-radius: 100px;
  cursor: pointer;
  position: relative; 
  margin-top: 15px;
  color: #F8F6F6;
}

.Volver::after{
  color: #efab79;
}
.Volver:hover {
  background: #efab79;
  color:#ae0606;
}
.box-3{
    background: #F8F6F6 ;
    height: 85px;
    text-align: center;
    padding-top: 15px; 
}

.Atras{
  display: inline-block;
  width: 85px;
  height: 50px;
  background: #f3812d;
  border-radius: 100px;
  cursor: pointer;
  position: relative; 
  margin-top: 15px;
  color: #F8F6F6;
}

.Atras::after{
  color: #efab79;
}
.Atras:hover {
  background: #efab79;
  color:#ae0606;
}


footer {
    width: 100%;
	background:#50abd8;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Esto es para organizar los contenidos del footer */
footer .grupo1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    padding: 20px 0px;
}
footer .grupo1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    /*justify-content: left;*/
    align-items: left;
    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: #c6e1f0;
	text-decoration: none;
}
footer .grupo1 .box a:hover{
    color: #ffffff;
}

#facebook, #instagram, #twitter, #youtube{
    height: 48px;
    width: 48px;
}
#facebook{
    background-image: url("../img/facebook.png");
}
#facebook:hover{
    background-image: url("../img/facebook-color.png");
}
#instagram{
    background-image: url("../img/instagram.png");
}
#instagram:hover{
    background-image: url("../img/instagram-color.png");
}
#twitter{
    background-image: url("../img/twitter.png");
}
#twitter:hover{
    background-image: url("../img/twitter-color.png");
}
#youtube{
    background-image: url("../img/youtube.png");
}
#youtube:hover{
    background-image: url("../img/youtube-color.png");
}
#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: 10px 10px;
    text-align: center;
	font-size: 20px;
    color: #184fa0;
}








/* RESPONSIVE */

/* De aqui para abajo solo debe haber codigo relacionado al responsive */
@media (max-width: 1200px) {
	.cabecera{
		display: flex;
		justify-content: center;
		padding-top: 3px;
		height: 110px;
	}
	
	
}


@media (max-width: 800px){
	.cabecera{
		display: flex;
		justify-content: center;
		padding-top: 1%;
		height: 80px;
	}
	a img {
		transition: linear .5s;
		padding: 9%;
		width: 65%;


		grid-template-columns: 
		repeat(auto-fit, minmax(min(100%, 250px), 1fr));

	}

/*
	.iconos ,.nav{
        display: grid;
        flex-wrap: wrap;
        align-items: center;
		height: 28%;

		grid-template-columns: 
		repeat(auto-fit, minmax(min(100%, 250px), 1fr));

		
    }*/


	
	footer .grupo1 .box figure img {
		width: 100px;
	}
	
	.navv{
		display: grid;
		grid-template-columns: 1fr 1fr;
		
		margin-left: 5%;
		margin-right: 5%;
		
		justify-content: center;
	}
	
	a .insc{
		padding: 10px;
		width: 80%;
	}
}




*@media (max-width:550px){

	

	.cabecera{
		display: flex;
		justify-content: center;
		padding-top: 1%;
		
		width: 100%;
	}
	
	footer .grupo1 .box figure img {
		width: 80px;
	}
	.navv{
		display: grid;
		grid-template-columns: 1fr 1fr;
		
		margin-left: 5%;
		margin-right: 5%;
		
		justify-content: center;
	}
	
	a .insc{
		padding: 10px;
		width: 80%;
	}
} 
@media (max-width:410px){


	.cabecera{
		display: flex;
		justify-content: center;
		padding-top: 1%;
		height: 100px;
	}
	/*
	.iconos ,.nav{
        display: block;
        flex-wrap: wrap;
        align-items: left;
		height: 90%;
		
    }*/

    a img {
			transition: linear .5s;
			padding: 9%;
			width: 60%;


			grid-template-columns: 
			repeat(auto-fit, minmax(min(100%, 250px), 1fr));

		}
	
}

@media (max-width:770px){

	

	.cabecera{
		display: flex;
		justify-content: center;
		padding-top: 1%;
		
		height: 58px;
	}
	
	
	.iconos ,.nav{
        display: block;
        flex-wrap: wrap;
        align-items: center;
		height: 30%;

		
    }

	a img {
		width: 50%;
	}
	.navv{
	
		grid-template-columns: 1fr;
		
		margin-left: 5%;
		margin-right: 5%;
		
		justify-content: center;
	}
	
	a .insc{
		padding: 10px;
		width: 70%;
	}

	footer .grupo1{
		width: 90%;
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 5px;
		padding: 35px 0px;
	 }
	
}



