@font-face {
    font-family: 'nunitoregular';
    src: url('../fuentes/nunito-regular-webfont.woff2') format('woff2'),
         url('../fuentes/nunito-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'oxygenregular';
    src: url('../fuentes/oxygen-regular-webfont.woff2') format('woff2'),
         url('../fuentes/oxygen-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@charset"utf-8";

*{box-sizing:border-box; }

#logo {
    text-align: center; 
    margin: 1em;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: sans-serif;
    margin: 0;
    text-align: center;
    background-color: floralwhite;
    font-family: 'oxygenregular', sans-serif;
}

ul#menu{
    list-style: none;
    display: flex;
    flex-flow: column wrap;
    padding: 0;
}

ul#menu li{
    width:100%;
}

ul#menu li a{
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3); 
    border-bottom: 1px solid rgba(0,0,0,0.3);
    display: block;
    color: floralwhite;
    text-decoration: none;
    font-family: 'oxygenregular' ,sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    width: 100%;   
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    transition:.5s all;
    background-color: rgb(0, 195, 177);
}
ul#menu li a:hover{
    color:white;
    background-color:#60E2D6;
    font-weight: bold;
}

p{ 
    font-size: 18px;
    color:black;font-family: 'oxygenregular', sans-serif;
    margin-left: 30px;
    margin-right: 30px;
    padding-bottom: 5px;
}
h1{
    font-family: 'nunitoregular' ,sans-serif;
    font-size: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.3) ;
    margin-left: 20px;
    margin-right: 20px;
}
h2{
    font-family: 'nunitoregular' ,sans-serif;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.3) ;
    margin-left: 20px;
    margin-right: 20px;
    color: #414141;
    padding-bottom: 3px;
}

footer p{
    font-size: 1rem;
}

.menuprincipal{
    display: flex;
    flex-direction: column;
    justify-content:center;
    padding: 0;
    text-decoration: none;
    list-style:none;
    margin-left: 20px;
    margin-right: 20px;
}

.menuprincipal a{
    text-decoration: none;
    display:block;
    margin:10px;
    padding-top: 8px;
    font-size: 18px ;
    color: white;
    font-family: 'nunitoregular' ,sans-serif;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: rgba(228, 22, 19, 0.65);
}
.menuprincipal h3{
    font-size: 25px;
    font-family: 'abelregular',sans-serif;
    font-weight: bold;
    margin: 0;
    padding-bottom: 5px;
}
.menuprincipal a:hover{
    background-color: rgba(228, 22, 19, 0.85);
    transition: 1s;
}

#docentes{
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding-bottom: 15px;
    margin-left: 50px;
    margin-right: 50px;
}

#profes{
    display: block;
}

#profes h3{
    margin:10px;
    font-size: 1rem;
}





@media screen and (min-width: 600px) {
    
    ul#menu {
        list-style: none;
        display: flex;
        flex-flow: row;
        
    }
    ul#menu li{
        width:40%;
    }
    
    ul#menu li a{
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        border-right: 1px solid rgba(0,0,0,0.3);
        border-top: none;
        border-bottom: none;
        display: block;
        color: floralwhite;
        text-decoration: none;
        font-family: sans-serif;
        font-size: 20px;
        width: 100%;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        text-align: center;
        transition:.7s all;
        margin-top: -1em ;
        }
    ul#menu li a:hover{
        color:#00b2a2;
        background-color:white;
        font-weight: bold;
    }
    
    #logo {
        text-align:right;
        margin: 0;
        padding-right: 20px;
        background-color: gainsboro;
  }

.menuprincipal{
    display: flex;
    flex-direction: row;
    justify-content:center;
    padding:0;
    text-decoration: none;
    list-style:none;
    margin-left: 100px;
    margin-right: 100px;
}

.menuprincipal a{
    text-decoration: none;
    display:block;
    margin:10px;
    padding: 10px;
    font-size: 18px ;
    color: white;
    font-family: 'nunitoregular' ,sans-serif;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: rgba(228, 22, 19, 0.65);
    width: 100%;
}
    
    .titulo {
        display: block;
        text-align: center;
        margin-left:180px;
        margin-right: 180px;
    }
    
    
    #docentes{
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding-bottom: 15px;
    margin-left: 50px;
    margin-right: 50px;
    }
    
    #profes{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #profes h3{
        border-left: 2px solid rgba(74, 74, 74, 0.74);
        padding-right: 20px;
        padding-left: 10px;
        margin:10px;
        font-size: 1rem;
}
    h2{
        padding: 0;
        font-size: 2rem;
        margin-left:200px;
        margin-right: 200px;
        
    }
    footer p{
    font-size: 14px;
        margin-left: 50px;
        margin-right: 50px;
}