@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900');

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

body {
    font-family: "lato", arial, helvetica, sans-serif;;
    background-color: orange;
    min-height: 100vh;

    /* caja flexible*/
    display: flex;

    /* direccion de sus elementos */
    flex-direction: column;
    
    /* organizaciÃ³n de los elementos segun ele eje principal
        (vertical por la propiedad anterior) */
    justify-content: space-between;
}

img {
    /* para que nunca sea mayor que la caja que las contiene */
    max-width: 100%;
    height: auto;
}


/************ HEADER**/


header {
    background-color: #00A09A;
    padding: .25em;
}

header {
    height: 3em;
    
    /* caja flexible */
    display: flex;
    
    /* elementos colocados en los extremos del eje principal */
    justify-content: space-between;
    
    /* elementos centrados en el eje secundario */
    align-items: center;
    
}

.botonapp {
    display: block;
    width: 3em;
}

.logofadu {
    display: block;
    height: 2em;
}

.botonsalir {
    display: block;
    width: 3em;
}




/************ MAIN **/

main {
    background-color: #D5D5D5;

    /* crece para "llenar" la caja contenedora */
    flex-grow: 1;
    
    /* es caja flexible contenedora */
    display: flex;
    flex-direction: column;
}

.diseñografico {
    padding: 0.8em;
    font-weight: 100;
    color: white;
    margin-bottom: -1em;
}


.apuntesrecientes {
    display: flex;
    padding: 0.5em;
    color: #00A09A;
    justify-content: space-between;
    overflow: auto;

}

 h3 {
    padding: 0.5em;
     color:#00A09A;
     font-weight: 400
    
}

.ultimoapunte {
    display: flex;
    flex-direction: column;
    background-color: #6C7DBC;
    padding: 0.5em;
    color: white;
    width: 79%;
    overflow: auto;
    height: 10em;
}

.ultimoapunte img {
    padding: 0.5em;
}

.botones {
    display: flex;
    width: 19%;
    justify-content: space-between;
    
}

.descarga {
    display: flex;
    width: 8em;
    background-color:#6C7DBC; 
    height: 10em;
    
}

.descarga img {
    width: 4em;
    margin: auto;
    
}

.imprimir {
    display: flex;
   width: 8em;
    background-color:#6C7DBC; 
    height: 10em;

}

.imprimir img {
    width: 4em;
    margin:auto;
}

.ultimoapunte h4 {
    font-weight: 100;
    padding: 0.2em;
}

.materias {
    display: flex;
    flex-direction: column;
    padding: 0.5em;
    justify-content: space-between;
    width: 100%;
    height: 12em;

}

.materias h3 {
    color: #00A09A;
    padding: 0.2em;
    
}

.cadamateria {
    display: flex;
    flex-direction: column;
    padding: 0.5em;
    justify-content: space-between;
    width: 100%;
    height: 12em;
    
}

a {
    text-decoration: none;
    
}

 .historia {
    color: #6DBE98;
    background-color: white;
    display: flex;
    width: 100%;
    height: 2.5em;
     align-items: center;
    
}


.historia h2 {
    padding: 0.4em;
}


.diseño {
    color: #4E90CD;
    background-color: white;
    display: flex;
    width: 100%;
    align-items: center;
    height: 2.5em;

}

.diseño h2 {
    padding: 0.4em;
}


.comunicacion {
    color:#6C7DBC;
    background-color: white;
    display: flex;
    width: 100%;
    align-items: center;
    height: 2.5em;
}

.comunicacion h2 {
    padding: 0.4em;
}



/************ FOOTER**/

footer {
    background-color: #D5D5D5;
}



nav ul {
    list-style: none;
    
    /* caja contenedora flexible */
    display: flex;
    
    /* elementos separados */
    justify-content: space-between;
    
}

nav ul li {
    /* se les permite crecer para "llenar" toda la caja contenedora flexible "nav ul" */
    flex-grow: 1;
}

nav ul li:not(:first-child) {
    /*  todos los "nav ul li" 
        MENOS el que es "primer hijo" */
    margin-left: .25em
}

nav ul li {
    background-color: #00A09A;
}

nav ul li a {
     height: 2.5em;
    
   
    /* caja flexible */
    display: flex;
    
    /* centrado en la horizontal */
    justify-content: center;

    /* centrado en la vertical */
    align-items: center;
    
}


.apuntes {
    display: block;
    width: 3em;
    margin: auto;
}

.calendario {
    display: block;
    width: 3em;
    margin: auto;
}

.notas {
    display: block;
    width: 3em;
    margin: auto;
}

.links {
    display: block;
    width: 3em;
    margin: auto;
}

