@charset "utf-8"
* {
        box-sizing: border-box;
}
main {
    background-color: #efefef; 
    padding-bottom: 0.2%;
}
nav {
    background-color: rgb(121, 230, 167);
}

body{
margin: 1%;    
}
header div a {

    display: block;
    text-align: center;
    background-color:rgb(121, 230, 167);
    padding: 0%;
    margin: 0%;
    height: 3rem;
    line-height: 4.5rem;
}

header nav ul li a {
    text-decoration: none;
    list-style: none;
    color: #444444;
    display: block;
    text-align: center;
    font-family: sans-serif;
    font-size: 1rem;
   line-height: 2rem;
    font-weight: bold;
}

header ul li{
   margin: 0 0 0.1em;
}

header nav ul li a:hover{
    color: #ffffff;
    background-color: rgb(230, 169, 119);
    font-weight:bold; 
}

h1 {
    color:  rgb(74, 74, 74);
    display: block;
    text-align: left ;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    padding:1%;
    margin: 0.8rem 0 0.8rem 0; 
    line-height: 0.1em;
    
}

h2 {
    font-weight:normal;
   font-family: 'Roboto', sans-serif;
    color: #444444;
    padding-left:1%;
    margin:0.8em 0 0 0; 
    font-size: 1.2rem;
    text-decoration: underline;
    }

#estudiantes{
    list-style: none;
    padding-left: 1%;
    font-family: 'Slabo 27px', serif;
    font-size: 1rem;
}

#docentes{
    list-style: none;
    padding-left: 1%;
    font-family: 'Slabo 27px', serif;
    font-size: 1rem;
}

section ul li{
    color: #56a778;
    padding-bottom: 0.2%;
}

h3 {
    color: rgb(95, 95, 95);
    text-align: left ;
    font-family: sans-serif;
    font-weight: normal;
    padding:1%;
    margin:0.8em 0 0 0;   
}
p{
    font-family: 'Slabo 27px', serif;
    margin: 0 0 0 0; 
    padding-left: 1%;
    padding-bottom: 0.5%;
    font-size: 1rem;
    color: rgb(95, 95, 95)
}

header ul{
    list-style: none;
    margin: 0.2rem;
    padding: 0%;
    
}

footer p {
    font-size: 0.7rem;
    padding-top: 0.2%;
}

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

section ul li a{
    text-decoration: none;
    color: #56a778;
}

section ul li a:hover{
    background-color: #cceaf4;
}

caption{
    background-color:#cceaf4;
    color: rgb(95, 95, 95);
    padding: 0.5rem;
    font-weight: bold;
}

#nivel1 {
    list-style: none;
    padding-left: 1%;
    font-family: 'Slabo 27px', serif;
    font-size: 1rem;
    color:rgb(95, 95, 95);
    text-align: center;
}

#nivel2{
     list-style: none;
    padding-left: 1%;
    font-family: 'Slabo 27px', serif;
    font-size: 1rem;
    text-align: center;
}

#nivel3{
     list-style: none;
    padding-left: 1%;
    font-family: 'Slabo 27px', serif;
    font-size: 1rem;
    text-align: center;
}
section nav{
    background-color: #efefef;
}
section nav h2{
    background-color:#79e6a7;
    color: #fff;
    text-decoration: none;
    text-align: center;
}
section nav ul li{
    color: #444444;
}
@media screen and (min-width: 800px){
    #materias{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    
#menu {
        display: flex;
    flex-flow: row wrap;
        
    }
    .elemento{
        display: flex;
        width: 50%;
        height: 40px;
         display: block;
    text-align: center;
    }
    .elemento1{
        display: flex;
        align-self: flex-start;
        width: 100%;
        height: 40px;
         display: block;
    text-align: center;
    }

}

    