
/*Hoja de estilos CSS*/

/* Fuentes */
@font-face {
    font-family: 'nexa_lightregular';
    src: url('fuentes/nexa_free_light-webfont.eot');
    src: url('fuentes/nexa_free_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/nexa_free_light-webfont.woff2') format('woff2'),
         url('fuentes/nexa_free_light-webfont.woff') format('woff'),
         url('fuentes/nexa_free_light-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'nexa_boldregular';
    src: url('fuentes/nexa_free_bold-webfont.eot');
    src: url('fuentes/nexa_free_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/nexa_free_bold-webfont.woff2') format('woff2'),
         url('fuentes/nexa_free_bold-webfont.woff') format('woff'),
         url('fuentes/nexa_free_bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'pt_sansregular';
    src: url('fuentes/PTS55F-webfont.eot');
    src: url('fuentes/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('fuentes/PTS55F-webfont.woff') format('woff'),
         url('fuentes/PTS55F-webfont.ttf') format('truetype'),
         url('fuentes/PTS55F-webfont.svg#pt_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*REGLAS GENERALES*/
* {
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
    }

body {    
    font-family: 'nexa_lightregular';
    font-size: 10px;
    margin: 0;
    padding: 0;
    background-color: #ededec;
    }

a {
    text-decoration: none;
    color: #ededec;
    }
p {
    padding-bottom: 1em;
    }

img {
    max-width: 100%;
    height: auto;
    }
/* Reglas específicas*/
.contenedor{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}
        
header, footer{
    flex: 0 1 auto
}
/*Header y menú*/
header {
    top:0;
    position: fixed;
    width: 100%;
    padding-bottom: 1em;
    background: #2c2c2c;
    box-shadow: 0px 0.5px 20px 0px;
  
    }

.menu{ 
    margin-top: 1em;
    }



.menu ul  ul {
    display: none;
    }

.menu ul li:hover ul{
    display:block;
    position:absolute;
    }

.menu a{
    display: block;
    padding: 0.2em 0.5em;
    text-decoration: none;
    font-size: 1em;
    text-align: center;
    background-color: rgb(44, 44, 44);
    }



.menu a:hover{ 
    background: rgba(0,0,0,0.9);
    }




.destacado{
    color:#ededec;
    font-size: 2em;
    margin-top: 1em;
    text-align: center;
}


/*section*/

section{margin-top: auto;
        padding-top: 150px;
    
}
.alumnos{
    padding: 30px;
    
    display: flex;
    text-decoration: none;
    list-style: none;
    justify-content: center;
    text-align: center;
    font-size: 1em;
    margin: auto;
}
.alumnos p{
    background-color: #2c2c2c;
    padding: 3px;
    
  
}
.alumnos li p:hover{ background: rgba(0,0,0,0.9);
                    color:#fcd811;
                    }

.info{
    color: #ededec;
    background-color: #2c2c2c;
    margin: 50px;
    padding: 10px;
    font-size: 12px;
    display: flex;
    text-align: justify;
  
    
    

}
#uno{
    display: block;
    margin-right: auto;
    margin-left: 10px;
    padding: 5px;
  
    

}
#dos{
    display: block;
      margin-left: auto;
    margin-right: 10px;
    padding: 5px;
}
.subtitulo

{
    font-size: 16px;
    margin: 15px 0px 15px 0px;
    color: #e69e19;
}

td {
        align-items: center;
        align-content: center;
        background-color: #dddddd ;
        font-family: 'Sarpanch', sans-serif;
        border-color: aquamarine;
        box-shadow: 2px 2px 5px #999;
        
        
    
    
}

div { 
    background-color: aliceblue;
    box-shadow: 2px 2px 5px #999;

    
    
    
        
    }

img { 
   
     box-shadow: 2px 2px 5px #040480;
    
/*Footer*/

footer{
    padding: 1em;
    background-color: rgba(0,0,0,0.2);
}
footer p{
    color: #2c2c2c;
    padding: 0em 1em 0em 1em;
        font-size: 0.9em;
        text-align: justify;
     
}
/*A partir de 320*/
@media screen and (min-width:20em){
    
    header{
        align-content: center;    
    }
    
    .menu{
        display: flex;
        justify-content: center;    
    }
    
    .menu ul li{
        flex: 1;
    }
    .uno{
        align-items: center;
    }
    
    #colores {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        
    }
    #colores div{
        display: flex;
        flex-direction: row;
      }
        
}
/*A partir de 480*/
    @media screen and (min-width:30em) {
        .menu{
            flex-basis: calc( 100% - 8em);
        
        }
        .menu ul{
            display: flex;
        }
    
       .menu ul li{
        flex: 1;
        justify-content: space-between;
        font-size: 1.4em;
        }
        .menu li ul li a{ font-size: 0.8em;
        }
        #colores div{
        margin: 0.3em;
        }
    }
        /* apartir de 640*/
        @media screen and (min-width:40em) {
            header{
            display: flex;
            justify-content: space-between;
            align-items: baseline;    
            }
            .menu{
            padding: 0em 2em 0em 0em;
            justify-content: flex-end;
            }
            .destacado{
            width: 200%;
            }
        }
    
     /*A partir de 800*/
            @media screen and (min-width:50em) {
                .contenidos {
                    flex-direction: row;}
                .subtitulo{
                    width: 100%;
                }
                .texto{
                    width: 48%;
                    margin-right: 1em;
                }
                .textotres{
                    margin-right: 1em;
                    width: 100%;
                }
                .uno{
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    justify-content: center;
                    align-items: baseline;
                }
                
                
            }