/*Hoja de estilos para Header*/
@font-face {
    font-family: 'roboto_slabregular';
    src: url('../font/RobotoSlab-Regular-webfont.eot');
    src: url('../font/RobotoSlab-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/RobotoSlab-Regular-webfont.woff') format('woff'),
         url('../font/RobotoSlab-Regular-webfont.ttf') format('truetype'),
         url('../font/RobotoSlab-Regular-webfont.svg#roboto_slabregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

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

}

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

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

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

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

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

a {
    text-decoration: none;
}

h2,
h3 {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

p {
    padding-bottom: 1em;
    
}

img {
    max-width: 100%;
    height: auto;
}


#logo>img {
    display: block;
    width: 100%;
}

header{
    background-color: #333;
    box-shadow: 0 0.3em 1em 0.3em rgba(0, 0, 0, 0.2);
    padding: 1em;
    text-align: center;
    z-index: 5;
    width: 100vw;
   
    overflow: hidden;
}


.menu {
    margin-top: 0.8em;
    
}

.menu ul {
    margin: 0;
    padding: 0;
}

.menu ul li {}

.menu ul li a {
    background-color: #333;
    border: solid 2px rgba(0, 0, 0, 0.2);
    color: #ededec;
    display: block;
    padding: 1em;
    text-align: left;
    font-family: 'roboto_slabthin';
}

.menu ul li a:hover {
  background-color:black;
  color: #d101d1;
    border-right: solid 4px;
}

.menu ul li a:active{
    color: #0381b5;   
}

main{
    padding: 0.5em;
}
main p{
    max-width: 35em;
}
section {
    padding: 0.5em;
}


/* flexbox */

#contenedor {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header{
    flex: 0 1 auto;
}


/*FIN DE REGLAS GENERALES*/

/* A PARTIR DE 320*/
@media screen and (min-width:20em){
header{
   
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
    height: 4.8em;
    padding: 0 1.2em;
}
    #menu-bar{
    display: none;
}
    .iconos-menus{
        display: none;
    }
#logo{
    width: 3.5em;
    margin: 0;
}
    header label{
    width: 2.4em;
    margin-top: 0.2em;
    cursor: pointer;
    margin-right: 1.4em;
}
.alerta{
    margin: auto;
    color: #ededec;
}
    .conteneryo{
        display: flex;
        align-items: center;
      }
#yo-usuario img{
    width: 100%;
}
    #yo-usuario{
        border-radius: 50%;
        overflow: hidden;
        width: 3.5em;
        margin-right: 1.4em;
        
    }
    .yonombre{
        color: #ededec;
        font-family: 'robotothin';
        font-size: 1.2em;
        margin-right: 0.8em;
        padding: 0;
    }
h4{
    color: #ededec;
    letter-spacing: 0.5em;
    font-family: 'robotothin';
    font-size: 1.2em;
    
}
.menu{
        position: absolute;
        width: 50%;
        height: 100vh;
        top: 4em;
        left: 0;
        transition: all 0.5s;
        transform: translateX(200%)
    }
    #menu-bar:checked~.menu{
        transform: translateX(100%)
    }
    /*fin de menu*/
    
    
    
    
    
     /*Pagina-Personas*/
    .carrera{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .carrera label{
        margin: 1em;
        width: 25%;
    }
    .carrera label:hover{
        opacity: 1;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .filtro-carrera{
    display: none;
    }

    .materia-zona{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;   
        background-color: #dbdbdb;
        margin: 2em 0 0;
        padding: 1em 0;
    }
    
    .materia-zona img{
        margin: 1.2em;
        width: 25%;
    }
    
    .filtro-carrera:checked~.materia-zona{
        display: block;
    }
    
    .filtro-zona{
        display:flex;
        font-size: 1.2em;
        justify-content: space-between;
    }
    .filtro-zona p, input{
        margin: 0.5em;
    }
    
    .otros-usuarios{
        display:flex;
        font-size: 1.2em;
        justify-content: space-between;
        margin: 0;
        padding: 1em 0;
        background-color: #b4b4b4;
    }
    .otros-usuarios img{
        width: 25%;
        margin: 1em;
        
    }
}
/* A PARTIR DE 640*/
@media screen and (min-width:40em) {
    header{
        background-color: #ededec;
        padding: 0 10em;
       
    }
    h4{
        color: #656565;
    }
    .yonombre{
    color: #656565;
        font-size: 1.3em;
        
    }
     .iconos-menus{
        display: flex;
         margin-right: 2em;
    }
    .menu, #menu-bar, .menu-icon{
    display: none;
}
}

/* A PARTIR DE 640*/
/* A PARTIR DE 800*/
