@charset "utf-8";

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

header {
    padding-top: 2em;
    padding-bottom: 1em;
    flex-grow: 0;
    padding: 2rem;
    font-family: 'Open sans', sans-serif;
    font-weight: 700;
    background-color: rgb(240, 176, 140);
    
}

footer {
    padding-top: 2em;
    padding-bottom: 1em;
    flex-grow: 0;
    padding: 2rem;
}

body{
    font-family: 'Open sans', sans-serif;
    background:rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    justify-content: space-between;
   
}


html{
    min-height: -webkit-fill-available;
}

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

footer{
    font-size: 0.8em;
    font-weight: 600;
    padding: 2.5em;
    flex-grow: 0;
    background: rgba(233, 102, 14, 0.5);
    color: saddlebrown;
}


.contenedor{
    margin: 0 auto;
    max-width: 50rem;
}


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


.footer {
    color: rgb(114, 114, 114);
    background-color: rgb(255, 234, 215);
    justify-content: center;
    margin: auto;
    max-width: 40em;
    font-size: 0.8em;
}


.footer div{
    padding: 3em;
}

.footer h3 span{
    color: rgb(255, 255, 255);
    background-color: rgb(230, 175, 150);
    font-family: 'Open sans', sans-serif;
    margin: 2em;
    
}




header ul{
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    
}

header nav ul li{
    min-width: 4em;
    margin-left: 0;
    display: flex;
}

header ul li a{
    width: 100%;
    height: 100%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav li a:hover {
  color: rgb(233, 93, 74);
}

h2 span{ 
    text-align: center;
    color: rgb(226, 74, 4);
    font-weight: 400;
    font-family: 'Open sans', sans-serif;
    flex-direction: column;
    
} 


.mapa {
    max-width: 100%;
    max-height: 100%;
    border-bottom:0.5px solid rgb(255, 255, 255);
}

.mapa h2{

    font-size:2em;
    padding-top: 2em;
    text-align: center;
    color: rgb(231, 92, 27);
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    flex-direction: column;
}



main{
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}


.fotoprincipal{
    margin: auto;
    text-align: center;
    max-width: 20em;
    color: #736F66;
}

.fotoprincipal img{
    height: 50vm;
    width: 50vm;
    max-width: 15em;
    max-height: 15em;
    margin-right: auto;
    padding: 5px;
    border: 2px solid #ddd;
    border-radius: 4px;
   
}

h1{
    color:rgb(182, 80, 21);
    text-align: center;
    font-size: 3em;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    margin-bottom: 15px;

}


.materias{
    display:flex;
    height: auto;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    color:rgb(207, 102, 31);
    text-align: center;
    padding: 1em;
    padding-bottom: 2em;
}

.materias div{
    padding: 1em;
}

.materias ul{
    list-style-type: none;
    background-color: rgb(243, 225, 203);
    color: #d15d39;
    padding: 0.5em;
}


a {
  color: rgb(207, 101, 30);
}

a:hover{
    color:rgb(231, 120, 29);
}




