/****** reglas generales ******/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}

* a{
	text-decoration: none;
}

body {

    /*background-color: gray;*/
    padding-top: 0em;
}


h3{
    color:#6384a7;
    text-align: center;
    text-decoration: underline;
    font-size: 18px;
    font-family: "Quicksand";
    font-weight: bold;
    margin-bottom: 30px;
}

.contenedor {
    width: 100%;
    /* height: 90vh; */
    margin: auto;
    /*background-color: white;*/
    padding: 0em;
	margin-top: 0;
    
}


.elemento {
    color: fff;
    font-weight: bold;
    padding: 1rem;
   /* text-shadow: .15rem .15rem .1rem rgba(0,0,0,.75);*/
}

.item1 {
    background-color: #FFF;
	text-align: center;
	color: #000000;
	font-size: 22px;
	border-bottom:dashed 2px;

}

.item2 {
    background-color: #6384a7;
    font-size: 1.2em;
	height: 265px;

	display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.item2 img{
    display: block;
    border-radius: 50%;
    width: 60%;
    height: auto;
    max-width: 265px;

}

.item2 h2{
    text-align: center
}
.item3 {
    margin: -90px 0;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    
}

.item4 {
    height: 100px;
}


.item5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}

.item8 {
    background-color: #6384a7;
    font-size: 16px;
    
}
.item8 p{
	text-align: center;
	color: #fff;
	font-size: 14px;
    font-style: oblique;
}


.nom-sepa{
	margin-left: 15px;
}

.nom-sepa a{
	text-decoration: none;
	color: #86ce8d;	
}
.nom-sepa a:hover{
	opacity: 0.5;
}

.nombres-com{
	margin-bottom: 10px;
	display: block;
}

/****** reglas para flexbox ******


/* caja contenedora */

.contenedor {
    /* caja contenedora flexible
    display: flex; */
    
    /* "permiso" para que los elementos de la caja flexibles
        vayan a la siguinte línea, si no caben
    flex-wrap: wrap; */
}


/* elementos de la caja flexible */

.elemento {
    /* tamaño de los elementos con relación al eje principal (horizontal)
    flex-basis: 25%; */

    /* permitirles crecer para que "llenen" la caja contenedora
    flex-grow: 1; */

    /* los elementos también son "cajas flexibles"
       para poder centrar su contenido
    display: flex; */

    /* centrado según el eje principal (horizontal)
    justify-content: center; */

    /* centrado según el eje secundario (vertical)
    align-items: center; */
}

.item2 h2{
    margin-bottom: 10px;
    font-size: 17px;
	color: #777777;
    
}


.boton{
	width: 50px;
	height: 50px;
	background: #b57291;
	
	margin: auto;
	margin-bottom: 10px;
	
	border-radius: 10px;
	    display: flex;
    align-items: center;
    justify-content: center;
	line-height: 50px;
	
	font-size: 18px;
	
	color: #FFFFFF;	
}


.boton:hover{
opacity: 0.5;	
}

.materias{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-around;
    max-width: 800px;
    
}

.info1{
    display: flex;
    align-items: center;
    justify-content:space-between;
    
}

.info2{
    display: flex;
    align-items: center;
    justify-content:space-between;
    
}

.info3{
    display: flex;
    align-items: center;
    justify-content:space-between;
    
}

.mat1, .mat2, .mat3, .mat4, .mat5{
    width: 350px;
    max-width: 350px;
    margin: 5px 30px;
    
}


.materias figure{
    margin-top: 5px;
}

.materias h2{
    font-family: 'Quicksand', sans-serif;
    color: #829c88;
    font-weight: 500;
    font-size: 16px;
}

.mat2 h2{
    color: #faac58;
}

.mat3 h2{
    color: #b57291;
}

.mat4 h2{
    color: black;
}

.mat5 h2{
    color: black;
}

.materias p{
    font-family: 'Quicksand', sans-serif;
    color: #829c88;
    font-weight: 500;
    font-size: 14px;
    
}

.mat2 p{
    color: #faac58;
}

.mat3 p{
    color: #b57291;
}

.mat4 p{
    color: black;
}
.mat5 p{
    color: black;
}

.materias h4{
    font-family: 'Quicksand', sans-serif;
    color: #829c88;
    font-weight: 800;
    font-size: 20px;
    
}

.mat2 h4{
    color: #faac58;
}

.mat3 h4{
    color: #b57291;
}

.materias h5{
    font-family: 'Quicksand', sans-serif;
    color: #FFF;
    font-weight: 500;
    font-size: 12px;
    background-color: #829c88;
    padding: 3px;
    border-radius: 5px;
    display: block;
}


.border{
	border: solid 2px #86ce8d;
}

ul{
	width: 320px;
	margin: auto;
	list-style: none;
	color: #777;
}


/****** cssmenu ******/


.botoncs{
	width: 150px;
	height: 40px;
	background: #B5BCB6;
	
	margin: auto;
	margin-bottom: 10px;
	
	border-radius: 10px;
	text-align: center;
	line-height: 40px;
	
	font-size: 16px;
	
	color: #000000;	
}
.botoncs:hover{
opacity: 0.5;	
}
.botonb{
	
	 display: flex;
    flex-wrap: wrap;
   font-size: 16px;
}
input{
		width: 150px;
	height: 40px;
    display: block;
    background-color: #e3e3e3;
    padding: 0.8em;
    margin: 0.5em;
    border-radius: 10px;
    border: none;
	margin-left: 35px;
}

/****** cssmenu ******


/*---------------------------SEPARADOR-----------------------------*/
.sepa{
	width: 400px;
}

.sepa hr{
	border: solid 1px #6384a7;
	width: 350px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.mat4 .sepa hr{
	border: solid 1px #d9e8dd;
}

.mat5 .sepa hr{
	border: solid 1px #d9e8dd;
}

/*---------------------------FIN SEPARADOR-----------------------------*/

/* --- COMIENZO MEDIA --- */

@media only screen and (max-width: 1000px) and (min-width: 800px) {  
    
    

    
  
} 

@media only screen and (min-width: 1000px) {  
    
    
    .nav{
        float:left;
		height: 1467px!important;
    }
	.menu-toogle{
		display: none;
	}
    
    .item3{
        margin-left: 400px;
    }
    
    .materias{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    item2{
        width: 400px;
    }
    
    .item2 img{
    border-radius: 50%;
    
    }
    .mat4{
    
    }
	footer p{
		width: 600px;
		margin: auto;
		
	}
  
}  

/* --- FIN MEDIA --- */
