
@charset "utf-8"
* {
        box-sizing: border-box;
}

nav {
    background-color: rgb(230, 121, 159);
}

body{
margin: 1%;    
        background-color: rgb(252, 234, 240); 
    padding-bottom: 0.2%;
}
header div a {

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

header nav ul li a {
    text-decoration: none;
    list-style: none;
    color: #ffffff;
    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(226, 67, 122);
    font-weight:bold; 
}

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

h2 {
    font-weight:normal;
   font-family: 'Roboto', sans-serif;
    color: #585353;
    text-align: center;
    margin:1em 0 0 0; 
    font-size: 1.2rem;
    }

#estudiantes{
    list-style: none;
    padding-left: 25%;
    
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

#docentes{
    list-style: none;
    padding-left: 25%;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

section li{
    color: rgb(226, 67, 122);
    padding-bottom: 1%;
    padding-left: 4%;
    padding-right: 4%;
    text-align: left;
    
    
}


section ul 

h3 {
    color: rgb(95, 95, 95);
    text-align: left ;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    padding:1%;
    margin:0.8em 0 0 0;   
}
p{
    font-family: 'Roboto', sans-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.7%;
    padding: 5%;
    text-align: center;
}

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

section ul li a{
    text-decoration: none;
    color: rgb(216, 46, 105);
}



#nivel1 {
    list-style: none;
    padding-left: 5%;
      padding-right: 5%;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color:rgb(95, 95, 95);
    text-align: left;
}

#nivel2{
     list-style: none;
     padding-left: 5%;
      padding-right: 5%;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: left;
}

#nivel3{
     list-style: none;
     padding-left: 5%;
      padding-right: 5%;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
}
section nav{
    background-color: rgb(255, 210, 226);
}
section nav h2{
    background-color:rgb(226, 37, 103);
    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: 25%;
        height: 30px;
         display: block;
    text-align: center;
    }
    .elemento1{
        display: flex;
        align-self: flex-start;
        width: 100%;
        height: 40px;
         display: block;
    text-align: center;
    }

}

    