@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');


*{
	margin: 0;
	padding: 0;
}


.pagina{ max-width: 80rem; margin: 0 auto; padding:0; }

body {
	background-color: #fffbfb;
	margin: auto;
	height: auto;
	}


/** MENU **/
#vio2 {
	background-color: #90a4d9;
	padding: 1rem;
	margin-top: -0.rem;
	font-size: 1rem;
	text-align: center;
}

#vio2 nav {
	overflow: hidden;
	width: 100%;
	}

#vio2 nav ul li {
	float: center;
	display: inline-block;
	list-style-type: none;
    font-family:'Slabo 27px', fantasy;
}

#vio2 nav ul li a {
	text-align: center;
	display: inline-block;
	color: white;
	padding: 2rem 2rem;
	text-decoration: none;
	margin: 1rem;
    
	
}


#vio2 nav ul li a:hover{
	background-color: #151515;}


h4{ 
font-family: 'Slabo 27px', monospace;}


/**Banner y Nombre*/

.ban{
	width: 100%;
	}
	

	
.nombre{
	background-color: #f5cbcb; 
	text-align: center;
	color: #000000;
	padding: 2rem 2rem;}

.nombre h1{
	text-align: center;
	font-family:'Slabo 27px', serif;
	font-size:2rem;
	font-weight: 900;
	}

.nombre h2{
	text-align: center;
	font-family: 'Slabo 27px', monospace;
	font-size:1.5rem;
	font-weight: 700;
	}



/** Datospers y materias*/

.datospers{    
    padding: 1rem 0rem 1rem 0rem;
    text-align: center;
    font-family: 'Slabo 27px', monospace;
    background-color:whitesmoke;
    }


/* Materias */
.materias{display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
     padding: 1rem 0rem 1rem 0rem;
	justify-content: space-around;
	align-content: stretch;
    align-items: flex-start;
    font-family: 'Slabo 27px', sans-serif;
    background-color:whitesmoke;}
.materias{text-align: center; }

/* Primero */
.primero ul li {list-style-type: none; }

/* Segundo */
.segundo ul li {list-style-type: none; }

/* Tercero */
.tercero ul li {list-style-type: none; }

/**Footer*/
footer{
	background-color: #ffffff;
	margin: auto;
	text-align: left;
     padding: 1rem 0rem 1rem 0rem;
	text-align: center;
	color: #0d0d0d;
font-family: 'Slabo 27px', sans-serif; 
}


footer p{
	text-align: center;
	font-family:'Open Sans', sans-serif
	padding-top:3rem;

	}


footer h4{
    background-color: #90a4d9;
	text-align: center;
	padding-top: 2rem;
	padding-bottom: 1rem	
}
}
.ejercicio {margin:8rem 0rem 0rem 0rem;text-align: center;}
.ejercicio a {text-decoration:none; text-align: center;color: #0f0e0e; font-size: 1.5rem; background: #e35252;font-family: sans-serif;}


