/*Hoja de estilos CSS*/

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

}
@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;
    }

/* 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;
    height: 5.9em;
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 0.2em;
    background: rgba(44, 44, 44, 0.9);
    box-shadow: 0px 0.5px 20px 0px;
  
    }
#menu-bar{
    display: none;
}





.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: rgba(44, 44, 44, 0.9);
    }



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




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

/*section*/

section{margin-top: auto;
        padding-top: 150px;
    display: flex;
        flex-wrap: wrap;
    
}
.alumnos{
    width: 100%;
    padding: 0;
    
    display: flex;
    flex-wrap: wrap;
 
    text-decoration: none;
    list-style: none;
    justify-content: center;
    text-align: center;
    font-size: 1em;
   
    margin: auto;
}

.alumnos p{
    
    background-color: #2c2c2c;
    padding: 3px;
    font-family: 'nexa_lightregular',sans-serif;
  
}
.alumnos .foto-alum p:hover{ background: rgba(0,0,0,0.9);
                    color:#F3C016;
    font-family: 'nexa_boldregular',sans-serif;
                    }

.info{
    color: #ededec;
    background-color: #2c2c2c;
    width: 100%;
    margin: auto;
  padding: 1em;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  
    
    

}
.info a:hover{ color:#F3C016;}

.texto{
   padding: 1em;
    width: auto;
    height: auto;
   

}
.subtitulo{
  font-family: 'nexa_lightregular',sans-serif;
    font-size: 1.5em;
    margin: 15px 0px 15px 0px;
     color: #e69e19;
}
/*Footer*/

footer {
    width: 100%;
    display: flex;
    padding: 1em;
    justify-content: space-between;
    background-color: black;
    margin: 0;
    
    
}
/*A partir de 320*/
@media screen and (min-width:20em){
    
  header{
        align-content: center;    
    }
    header label{
    float: right;
    width: 2.5em;
    margin-top: 2em;
    cursor: pointer;
        margin-right: 1.4em;
}
    .destacado{
        float: left;
    }
    .menu{
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 5.8em;
        left: 0;
        transition: all 0.5s;
        transform: translateX(-100%)
    }
    #menu-bar:checked~.menu{
        transform: translateX(0%)
    }
    .menu ul li{
        flex: 1;
        
    }
    .menu a{
        padding: 1em;
    }
    .alumnos{
        flex-direction: column;
    }
.alumnos .foto-alum{
    width: 90%;
    margin: auto;
}
    .rot{
        width: 100%;
    }
    .rot img{
        width: 100%;
    }


  .dgpc{

    display: none;
    
}
    
    .pie, h6{
    width:100%;
    font-family: 'robotothin';
    color: #ededec;
    letter-spacing: 0.05em;
    text-align: center;
    font-size: 1.1em;
}    

}
/*A partir de 480*/
    @media screen and (min-width:30em) {
         header{
            align-content: center;
            background: rgba(44, 44, 44, 0.9);
        }
        .destacado{
            float: none;
            padding-left: 0em;
        }
        .menu{
            display: flex;
            justify-content: center;
            position: static;
            width: auto;
            height: auto;
            transform: translateX(0%);
            flex-basis: calc( 100% - 8em);
            margin-top: 1em;
            
    
        
        }
        header label{
    
            display: none;
        }
        .menu ul{
            display: flex;
            width: 100%;
        }
    
       .menu ul li{
        flex: 1;
        justify-content: space-between;
        font-size: 1.4em;
        }
        .menu li a{
            padding: 1em;
           background: rgba(44, 44, 44, 0.9);
        }
        .menu li ul li a{ font-size: 0.8em;
        }
        .alumnos{
            flex-direction: row;
        }
        .alumnos .foto-alum{
    width: 30%;
            margin: 0;
}
    }
        /* apartir de 640*/
        @media screen and (min-width:40em) {
            header{
            display: flex;
            justify-content: space-between;
            align-items: baseline; 
            height: auto;
                background: rgba(44, 44, 44, 0.9);
                
            }
            .menu{
                margin-top: 1em;
            padding: 0em 1em 0em 0em;
            justify-content: flex-end;
            align-items: baseline;
            }
            .menu ul{
            display: flex;
            width: auto;
        }
            .menu li a{
                background: rgba(0, 0, 0, 0);
            }
            .submenu li a{
                background: rgba(44, 44, 44, 0.9);
            }
            .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;
                }
              .dgpc{
    width: 10%;
    display: flex;
}
.pie, h6{
    width:100%;
    font-family: 'robotothin';
    color: #ededec;
    letter-spacing: 0.05em;
    text-align: center;
    font-size: 1.1em;

}  
                
            }

/*CARTA*/
.carta{padding: 20px;}