*{
    box-sizing:border-box;
}

@import url('https://fonts.googleapis.com/css?family=EB+Garamond&display=swap');

body {
    background-color:#f4efea;
    display: flex;
    margin:0px;
    flex-direction:column;
    min-height: 100vh;
    font-family: "eb garamond";
    
}

header {
    background-color:#dd4425; color:#f4efea;
    font-family: "eb garamond;"
}

.contenedor,
main>section{
    max-width: auto;
    margin: auto;
    padding: 1rem;
}

header .contenedor {
    display: flex;
    justify-content: space-between;
   
}

main{
    display:flex;
    flex-direction: column;
justify-content: space-between;
    align-items: center;}

nav{
    width: 100%;
    margin-left: 1em;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    
}

nav ul li {
    flex-basis: 25%;
   }

nav ul li a{
    background-color: #dd4425;
    font-family: "eb garamond";
     font-size:15px;
    font-weight: bold;
    text-decoration: none;
    color:#f4efea;
    display: block;
    text-align: center;
    padding: .25em .5em;
}
a:hover{
    text-decoration: underline;
}
a:active{
      color:#87a4aa;
}

.yo{
    margin:10px;
    padding:10px;
}

#yo img{
    border-radius: 6em;
}


h1{
    color:#dd4425;
     font-family: "eb garamond";
    font-size:1.5em;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
       

}


h2{
    color:#000000;
    margin-top: -1em;
    font-family: "eb garamond";
    font-size: 1em;
    text-align: center;
       
}

.sobremi{
   margin:10px;
    width: 300px;
    height:200px;
    overflow:hidden;
    padding:10px;
    background-color:rgba(135, 164, 170, 0.42);
    border: 1.5px solid #dd4425;
    border-radius: 1em;
}


    
h3{
    color:#dd4425;
    font-family: "eb garamond";
    font-size:1.2em;
    font-weight: bold;
    margin-top: 5px;
    
}


p{
    color:#000000;
    font-size:1em;
}


.intereses{
   margin:10px;
    width: 300px;
    height:160px;
    overflow:hidden;
    padding:10px;
    background-color:rgba(135, 164, 170, 0.42);
    border: 1.5px solid #dd4425;
    border-radius: 1em;
}

.materias{
    margin:10px;
    width: 300px;
    height:250px;
    overflow:hidden;
    padding:10px;
    background-color:rgba(135, 164, 170, 0.42);
    border: 1.5px solid #dd4425;
    border-radius: 1em;
}

.curso{
    margin:10px;
    width: 300px;
    height:140px;
    overflow:hidden;
    padding:10px;
    background-color:rgba(135, 164, 170, 0.42);
    border: 1.5px solid #dd4425;
    border-radius: 1em;
}

h4{
    color:#dd4425;
    font-size:1.2em;
    font-weight: bold;
    font-family: "eb garamond";
    margin-top: 5px;
    
}

.equipo{
    margin:10px;
    width: 300px;
    height: 370px;
    overflow: hidden;
    padding: 10px;
    background-color: rgba(221, 68, 37, 0.23);
    border: 1.5px;
    border-radius: 1em;
    
}

#equipo ul li{
    list-style: none;
    font-size: 1em;
    
}
#equipo img{
    width: 100px;
    height: 70px;
}

.rotulo {
    margin: 5;
    width: 300px;
    height: auto;
    overflow: hidden;
    padding: 20px;
    background-color: #f4efea;
    
    
   }

#rotulo ul li{
    list-style: none;
    font-size: 0.8em;
}
#rotulo img{
    width: 100px;
    height: 70px;
}

h5{
    color:#dd4425;
    font-size:1.2em;
    font-weight: bold;
    font-family: "eb garamond";
    margin-top: 5px;
}

footer{
    font-size: 12px;
    font-family: "eb garamond";
    color:#f4efea;
    background-color: #dd4425;
}
    

 
