/*-------------
 	General
-------------*/

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	font: normal 16px sans-serif;
	color: #555;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;

	opacity: 0.9;
}

a:hover{
	opacity: 1;
}

hr{
	width: 500px;
	height: 2px;
	background-color: #a59557;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 125px 100px;
}


}

section h3.title{
	color: #414a4f;
	text-transform: capitalize; 
	font: bold 32px 'Open Sans', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}

section p{
	max-width: 800px;
	text-align: center;
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


/*-------------
 	Header
-------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	padding: 35px 100px 0;
}

header h2{
	font-family: 'Quicksand', sans-serif;
    
}

header nav{
	display: flex;
}

header nav li{
	margin: 0 15px;
}


header .logo{

	top:auto;
	left:auto;
	width: 100px;
	height: 50px;
	background-size:cover;
    background-color: transparent;
    z-index: -1;
}


/*----------------
 	Principal Pag Bienvenida
----------------*/

.cuerpo{
    position: relative;
	justify-content: center;
	min-height: 100vh;
	color: #fff;
	text-align: center;
}

.cuerpo .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-color: #2196F3;
	z-index: -1;
}

.cuerpo .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #414a4f;
	opacity: 0.75;
}

.cuerpo .perfil{

	top:auto;
	left:auto;
	width: 200px;
	height: 200px;
	background-size:cover;
    background-color: #2196F3;
    border-radius: 50%;
	z-index: -1;
}



.cuerpo h1{
	font: normal 35px 'Open Sans', sans-serif;
	margin-bottom: 25px;
}

.cuerpo h3{
	font: normal 22px 'Courier New', 'Open Sans', sans-serif;
	margin-top: 12px;
}




/*--------------------
 	Descripción
---------------------*/

.desc {
/*background-color: #fff;*/
}

.desc .grid li{
	padding: 20px;
	height: 350px;
	border-radius: 3px;

	background-clip: content-box;
	background-size: cover;
	background-position: center;
	background-color: #333;
}

.desc .grid li.small{
	flex-basis: 40%;
}

.desc .grid li.large{
	flex-basis: 60%;
}


@media (max-width: 1000px){

	.desc .grid li.small,
	.desc .grid li.large{
		flex-basis: 100%;
	}

}

.desc .gif{
   position: absolute;
	top: 732px;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-color: #2196F3;
	z-index: -1;
}

.desc .gif:after{
	content: '';
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	opacity: 0.80;
}


/*----------------------
 	Materias Aprobadas
----------------------*/

.materias{
	background-color: #f7f7f7;
}

.materias .grid li{
	padding: 0 30px;
	flex-basis: 33%;
	text-align: center;
}

.materias .grid li i{
    font-size: 50px;
    color: #2196F3;
    margin-bottom: 25px;
}

.materias .grid li h4{
	color: #555;
    font-size: 20px;
    margin-bottom: 25px;
}

.materias .grid li p{
    margin: 0;
}


@media (max-width: 1000px){

	.materias .grid li{
		flex-basis: 70%;
		margin-bottom: 65px;
	}

	.materias .grid li:last-child{
		margin-bottom: 0;
	}


}


.materias .num{
	position:initial;
	top:inherit  ;
	left:inherit;
	width: 50px;
	height: 50px;
	background-size:cover;
	z-index: -1;
    align-items: center;
    justify-content: center;
    background-position: center;
    margin: auto;
    
}


@media (max-width: 600px){

	.materias .grid li{
		flex-basis: 100%;
	}

}



/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #414a4f;
	padding: 60px 0;
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 10px;
}

footer p a{
	color: #fff;
}

@media (max-width: 700px){

	footer{
		padding: 80px 15px;
	}

}
