@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,300;1,400&family=Poppins:wght@500;600&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@charset "utf-8";

:root{
	--blanco: #fff;
	--azul:   #000099;
	--rojo:   #ec1b11;
	--gris:   #262626;
	--negro:  #000;
}

/* CSS Document */
*{box-sizing: border-box; line-height: 1.5em;}

/* FONTS Document */
.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}
.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}
.merriweather-light-italic {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-style: italic;
}
.merriweather-regular-italic {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
}
.roboto-regular {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ESTILOS NORMALES (para escritorios muy grandes) */
body{
	background: var(--blanco);
	margin: auto;
}
header{
  width: 100%;
	height: 100px;
  margin: 0;
  padding: 0;
	top: 0;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
	background-color: var(--blanco);
	box-shadow: 0px 2px 3px 1px #999;
	position: fixed;
	z-index: 10;
}
header>#logo{
  width: auto;
	height: 100px;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  text-decoration: none;
}
header>#logo>img{
	height: 90%;
}
/* -------------------------------- */
/* ------------ Banner ------------ */
.banner{
	width: 100%;
	height: 550px;
	margin: 0;
	padding-top: 100px;
	background-image: url(../images/bg_banner.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
.banner>article, .banner-2>article{
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	justify-content: center;
}
.banner>article h2, .banner-2>article h2{
	margin-bottom: 120px;
	color: var(--blanco);
	font-size: 3em;
	text-align: center;
	text-shadow: 1px 1px #000;
}
.banner>article a{
	padding: 15px 40px;
	text-decoration: none;
	font-size: 1.2em;
	color: var(--blanco);
	border-radius: 8px;
	background-color: var(--rojo);
}
/* ------------ Banner secundario ------------ */
.banner-2{
	width: 100%;
	height: 150px;
	margin: 0;
	margin-top: 100px;
	padding: 0;
	background-image: url(../images/bg_banner.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-position: bottom;
	background-repeat: no-repeat;
	z-index: 0;
}
.banner-2>article h2{
	margin: 0;
}
/* -------------------------------- */
.niveles_admi>h2, .niveles>h2, .logros>h2, .beneficios>h2, .noticias>h2, .instalaciones>h2, .aviso>h2, .admision>h2{
	width: 100%;
	text-align: center;
	font-size: 2em;
}
/* ----------- Noticias ----------- */
.noticias>.swiper-container{
	width: 90%;
	margin: auto;
}
.noticia>article{
	width: 100%;
	background-color: var(--blanco);
	display: grid;
	grid-template-columns: 500px 1fr;
	grid-template-rows: auto 1fr;
	grid-template-areas:
    "imagen titulo"
    "imagen texto"
    ;
}
.swiper-wrapper{
	padding: 1px;
}
.noticia>article{
	width: 100%;
}
.noticia>article>img{
	grid-area: imagen;
	width: auto;
	height: 380px;
	object-fit: cover;
	aspect-ratio: 4/3;
}
.noticia>article>iframe{
	grid-area: imagen;
	width: auto;
	height: 380px;
	/* object-fit: cover;
	aspect-ratio: 4/3; */
}
.noticia>article>h2{
	grid-area: titulo;
	text-align: center;
}
.noticia>article>div{
	grid-area: texto;
	padding: 0 45px;
}
.noticia>article>div>p{
	text-align: justify;
}
.noticia>article>div>a{
	padding: 10px 15px;
	text-decoration: none;
	background: var(--rojo);
	color: var(--blanco);
	border-radius: 6px;
	box-shadow: 1px 1px 3px 0px var(--negro);
}
/* -------------------------------- */
/* ------------ Niveles ----------- */
.logros, .niveles_admi{
	margin: auto;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
.logros{
	height: 400px;
	background-image: url("../images/bg_niveles.jpg");
}
.niveles_admi{
	background-image: url("../images/bg_niveles_admi.jpg");
}
.logros>h2, .niveles_admi>h2{
	color: var(--blanco);
}
.logros>div{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
.logros>div>p{
	width: 30%;
	color: var(--blanco);
	font-size: 1.5em;
	line-height: 1.5em;
	text-align: center;
	text-shadow: 1px 1px 3px #000;
}
.logros-2{
	width: 90%;
	margin: auto;
}
.logros-2>ul{
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column wrap;
	grid-gap: 35px;
	align-items: center;
}
.logros-2>ul>li{
	width: 50%;
	font-size: 1.2em;
}
.logros-2>ul>li>i{
	color: var(--rojo);
	font-size: 1.3em;
}
.niveles>h2{
	margin-bottom: 100px;
}
.niveles_admi>article{
	width: 250px;
	height: auto;
	margin-bottom: 25px;
	padding: 8px;
	background-color: var(--blanco);
	box-shadow: 2px 2px 6px 1px #333;
	border-radius: 4px;
	display: flex;
	flex-flow: column;
}
.niveles{
	margin: auto;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
.niveles>article>i{
	width: 100%;
	color: var(--rojo);
	font-size: 2em;
	text-align: center;
}
.niveles_admi>article>img{
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1/1;
	border-radius: 4px;
	background-color: var(--gris);
}
.niveles>article>h3, .niveles_admi>article>h3{
	margin: 5px 0 0 0;
	text-align: center;
	color: var(--negro);
}

/* -------------------------------- */
/* ------------- Somos ------------ */
.somos{
	width: 90%;
	margin: auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
}
.aviso>h3, .aviso>ul{
	width: 50%;
	margin: auto;
	line-height: 2.5em;
}
.aviso>p{
	width: 50%;
	margin: auto;
	font-size: 1em;
	line-height: 1.5em;
	text-align: justify;
}
.somos>article{
	width: 45%;
	margin: auto;
	padding: 100px 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	color: var(--gris);
}
.somos>article>p{
	width: 100%;
	text-align: justify;
}
.somos>img{
	width: 45%;
}
.somos>p{
	width: 50%;
	text-align: center;
}
.somos>.myv{
	width: 30%;
	padding: 10px;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
}
.myv>h3{
	color: var(--negro);
}
.myv>i{
	font-size: 3em;
	color: var(--rojo);
}
.myv>p{
	text-align: justify;
	color: var(--gris);
}
.somos>.valores{
	width: 90%;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
}
.somos>.valores>li{
	width: 25%;
	margin: 35px 0;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	color: var(--negro);
}
.valores>li>i{
	width: 50%;
	text-align: center;
	font-size: 4.5em;
	padding: 10px 0;
	color: var(--gris);
	border-bottom: 1px solid var(--rojo);
}
.somos>.fortalezas{
	width: 60%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.somos>.fortalezas>li{
	margin: 15px 0;
	padding: 5px;
}
.somos>.fortalezas>li>i{
	padding-right: 10px;
	color: var(--rojo);
}

/* -------------------------------- */
/* -------- Instalaciones --------- */
.instalacion{
	width: 80%;
	height: 100%;
	margin: 100px auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
}
.instalacion>div{
	width: 50%;
}
.instalacion h3{
	width: 100%;
	color: var(--negro);
	font-size: 1.5em;
	text-align: center;
	text-transform: uppercase;
}
.instalacion p{
	width: 80%;
	margin: 10px auto;
	text-align: justify;
}
.instalacion img{
	width: 100%;
	height: 100%;
}
.ingles{
	align-items: center;
}
.ingles img{
	aspect-ratio: 4/3;
	object-fit: cover;
}
/* -------------------------------- */
/* ------------ Logros ------------ */
.logros>ul{
	width: 90%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	grid-gap: 1%;
	justify-content: space-around;
	align-items: stretch;
}
.logros li{
	width: 19%;
	padding: 15px;
	text-align: center;
	background-color: var(--blanco);
	box-shadow: 2px 2px 6px 1px #333;
	border-radius: 4px;
}
.logros li>i{
	width: 100%;
	margin-bottom: 20px;
	font-size: 1.5em;
	color: var(--rojo);
}
/* -------------------------------- */
/* ----------- Admisión ----------- */
.admision>div{
	width: 80%;
	margin: auto;
	display: flex;
	flex-flow: column wrap;
	justify-content: space-around;
	align-items: center;
}
.admision>div>p{
	width: 50%;
	font-size: 1.2em;
	text-align: justify;
}
.admision>div>img{
	width: 60%;
	margin: 20px 0;
}
.lista_admi>ul{
	width: 60%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: column wrap;
	grid-row-gap: 50px;
	justify-content: space-between;
}
.lista_admi>ul>li{
	margin: 0;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
}
.lista_admi>ul>li>img{
	width: 50%;
	border-radius: 4px 0 0 4px;
	aspect-ratio: 4/3;
	object-fit: cover;
}
.lista_admi>ul>li>h3, .lista_admi>ul>li>div{
	width: 50%;
}
.lista_admi>ul>li>h3, .lista_admi>ul>li>div>h3{
	text-align: center;
	color: var(--negro);
	text-transform: uppercase;
	font-size: 2em;
	letter-spacing: 2px;
}
/* -------------------------------- */
/* --------- Bachillerato --------- */
.bach>h2{
	text-align: center;
	font-size: 2em;
	color: var(--negro);
}
.bach>p{
	text-align: center;
	font-size: 1.5em;
}
.bach>.pasos{
	width: 40%;
	margin: auto;
}
.bach>.pasos>div{
	padding: 5px 20px;
	background-color: var(--azul);
	border-radius: 16px;
}
.bach>.pasos>div>h3{
	font-size: 1.2em;
	text-align: center;
	color: var(--blanco);
}
.bach>.pasos>div>p{
	text-align: center;
	color: var(--blanco);
}
.bach>.pasos>div>ul, .bach>.pasos>div>ol{
	color: var(--blanco);
}
.bach>.pasos>i{
	width: 100%;
	font-size: 2.5em;
	margin: 30px 0;
	text-align: center;
	color: var(--rojo);
}
.info_bach{
	text-align: center;
}
.info_bach>a{
	text-decoration: none;
	margin: auto;
  padding: 20px;
  text-align: center;
  font-size: 1.5em;
  color: var(--blanco);
  background-color: var(--rojo);
  border-radius: 8px;
}
/* -------------------------------- */
/* ----------- Generales ---------- */
.espacio{
	margin-top: 50px;
}
.reverso{
	flex-flow: row-reverse wrap;
}
.centro{
	text-align: center !important;
}
/* -------------------------------- */
.contenido{
	width: 100%;
	padding: 3% 5%;
	margin: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
.contenido p{width: 100%;}
.contenido h2, .contenido h3, .contenido h4, .contenido h5{
	width: 100%;
	text-align: center;
}
.contenido h2{
	font-size: 3em;
	color: var(--blanco);
}
.contenido>h3{
	margin: 0;
	font-size: 3em;
	color: #d80315;
}
.contenido>h4{
	margin: 0;
	font-size: 2em;
	color: var(--blanco);
}
.contenido>h5{
	margin: 0;
	font-size: 1.5em;
}
/* -------------------------------- */
/* ----------- Contacto ----------- */
.mapa, .contacto{
	width: 80%;
	margin: auto;
}
.contacto>form{
	width: 60%;
	margin: 20px auto 40px auto;
}
.contacto>form>div{
	width: 100%;
	margin: 20px 0;
	display: flex;
	flex-flow: row wrap;
}
.contacto>form>div>label{
	width: 30%;
	text-align: right;
}
.contacto>form>div>input{
	width: 70%;
}
.contacto>form>button{
	width: 30%;
	margin: 20px 35%;
}
.mapa>iframe{
	width: 100%;
	height: 450px;
}
/* -------------------------------- */
/* ------------- Boton ------------ */
.whatsapp{
	position: fixed;
	bottom: 50px;
	right: 0;
	background-color: #25d366;
	border-radius: 8px 0 0 8px;
	box-shadow: -2px 2px 5px 1px #555;
	z-index: 100;
}
.whatsapp i{
	font-size: 3em;
	padding: 5px 10px 5px 15px;
	color: var(--blanco);
}
/* -------------------------------- */
/* ------------ Footer ------------ */
footer{
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
	background-color: var(--gris);
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
}
footer>img{
	height: 50px;
	margin: 20px 0;
}
footer>section{
	width: 100%;
	margin: 0;
	padding: 10px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	background-color: #1B1B1B;
}
footer>section>article{
	width: 30%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
footer>section p{
	margin: 0;
	text-align: center;
	color: #ccc;
}
footer a{
	color: #ccc;
	text-decoration: none;
}
footer a:hover{
	color: #fff;
}
footer a>i{
	font-size: 1.3em;
}

/* -------------------------------- */


/* ============================== RESPONSIVE ============================== */

/* Tablets en horizonal y escritorios normales
------------------------------------------------------------------------ */

@media (min-width: 768px) and (max-width: 1023px){

	header{	width: 100%; }

	section, aside, footer{
		width: 96%;
		margin: 0;
	}
}

/* Móviles en horizontal o tablets en vertical
------------------------------------------------------------------------ */

@media (max-width: 767px){
	header{
		width: 100%;
		height: 80px;
		left: 0;
		top: 0;
		position: fixed;
		z-index: 100;
		display: flex;
		justify-content: center;
	}

	/* header img{
		width: 208px;
		height: 80px;
	} */
	.somos>p, .aviso>p{
		width: 90%;
	}
	.logros>ul{
		grid-gap: 25px;
	}
	.logros li{
		width: 100%;
	}
	.somos>.fortalezas{
		width: 90%;
	}
	.whatsapp i{
		font-size: 2em;
	}
}

/* Media Queries
--------------------------------------------- */
@media all and (max-width : 768px) {

}

/* Móviles en vertical
------------------------------------------------------------------------ */
@media all and (max-width: 480px){
	body{
		/* position: relative; */
	}
	header{
		height: 60px;
		justify-content: space-between;
		position: fixed;
	}
	header>#logo{
		width: 60px;
		height: 60px;
		margin-left: 100px;
	}
	header>nav{
		width: 100%;
	}
	.banner{
		height: 250px;
		position: relative;
		padding-top: 60px;
	}
	.banner>article h2{
		margin-bottom: 40px;
		font-size: 1.1em;
	}
	.banner>article a{
		padding: 8px 20px;
		font-size: 0.8em;
		border-radius: 6px;
	}
	.noticia>article{
		width: 100%;
		background-color: var(--blanco);
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
		grid-template-areas:
	    "imagen"
	    "titulo"
			"texto"
	    ;
	}
	.noticia>article>img{
		width: 100%;
		height: auto;
	}
	.noticia>article>h2{
		font-size: 0.9em;
	}
	.noticia>article>div{
		grid-area: texto;
		padding: 0 10px;
	}
	.niveles_admi>h2, .niveles>h2, .logros>h2, .beneficios>h2, .noticias>h2, .somos>h2, .instalaciones>h2, .aviso>h2, .admision>h2{
		width: 100%;
		text-align: center;
		font-size: 1.5em;
	}
	.logros>div>p{
		width: 90%;
		font-size: 1.1em;
	}
	.niveles{
		grid-row-gap: 40px;
	}
	.niveles>article{
		width: 45%;
	}
	.banner-2{
		margin-top: 60px;
	}
	.banner-2>article h2{
		font-size: 2em;
	}
	.somos{
		flex-flow: column-reverse wrap;
	}
	.somos>article{
		width: 100%;
		padding: 0;
	}
	.somos>img{
		width: 100%;
	}
	.somos>p{
		width: 70%;
	}
	.somos>.myv{
		width: 100%;
	}
	.somos>.valores{
		width: 100%;
		justify-content: center;
	}
	.somos>.valores>li{
		width: 33%;
		margin: 30px 0;
		text-align: center;
	}
	.valores>li>i{
		width: 60%;
		text-align: center;
		font-size: 2.5em;
	}
	.somos>.fortalezas{
		width: 100%;
	}
	.somos>.fortalezas>li>i{
		font-size: 1.2em;
		padding-right: 5px;
	}
	.instalacion{
		width: 100%;
		flex-flow: column wrap;
		align-items: center;
	}
	.instalacion>div{
		width: 90%;
	}
	.instalacion p{
		width: 100%;
	}
	.logros-2{
		width: 100%;
	}
	.logros-2>ul{
		padding: 0 15px;
		text-align: justify;
	}
	.logros-2>ul>li{
		width: 100%;
		font-size: 1.2em;
		padding: 0;
	}
	.logros-2>ul>li>i{
		color: var(--rojo);
		font-size: 1.3em;
	}
	.admision>div{
		width: 90%;
	}
	.admision>div>p{
		width: 100%;
	}
	.admision>div>img{
		width: 100%;
	}
	.lista_admi>ul{
		width: 90%;
	}
	.lista_admi>ul>li{
		/* margin: 0;
		display: flex; */
		flex-flow: column-reverse wrap;
		/* align-items: center;
		justify-content: space-between; */
	}
	.lista_admi>ul>li>img{
		width: 100%;
	}
	.lista_admi>ul>li>h3, .lista_admi>ul>li>div{
		width: 100%;
	}
	.lista_admi>ul>li>h3, .lista_admi>ul>li>div>h3{
		/* text-align: center;
		color: var(--negro);
		text-transform: uppercase; */
		font-size: 1.1em;
		letter-spacing: 1px;
	}
	.bach>h2{
		width: 90%;
		margin: auto;
		font-size: 1.2em;
	}
	.bach>p{
		font-size: 1.3em;
	}
	.bach>.pasos{
		width: 80%;
	}
	.bach>.pasos>div{
		border-radius: 8px;
	}
	.info_bach>a{
	  padding: 15px;
	  font-size: 1.3em;
	}
	footer{
		width: 100%;
	}
}
