/* --- Bordó #AA031C --- */
/* --- Bordó 2 #AD0900 --- */
/* --- Crema #FFC182 --- */
/* --- Crema claro #FFE1BA --- */
/* --- Crema blanco #FEF1D6 --- */

/* --- REGLAS GENERALES --- */
@charset "utf-8";
 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FEF1D6;
    margin: .5rem;
    font-family: 'Asap', sans-serif;
    flex-direction: column;
    text-align: center;
}

/* --- HEADER --- */
header{
    display: flex;
    width: 100%;
    max-width: 35rem;
        
}
header img{
    max-width: 5rem;
}
nav {
    display: flex;
    width: 100%;
}
nav ul{
    display: flex;
    list-style: none;
    margin-left: .3em;
    width: 100%;
}
nav ul li {
    display: flex;
    flex-basis: 25%;
    align-items: center;
}
nav ul li a {
    background-color: #FFE1BA;
    color: #AA031C;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: .2em;
    margin: .2em;
    border-radius: .3em;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.13);
    flex-basis: 50em;
}
nav ul li a:hover {
    background-color: #AA031C;
    color: #FFE1BA;
}

/* --- MAIN --- */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc( 100% - 3rem )
    max-width: 50rem;
}
.info_personal{
    margin: 2em 0 0 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 12px;
    background-color: #AA031C;
    box-shadow: 0 .3rem .3rem 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 1em;
    width: calc( 100% - 2rem );
    padding: 1.3em 2em ;
}
.info_personal > img {
    border-radius: 8em;
    border: solid .4em #FFC182;
}
.info_personal h1{
    color: #FFE1BA;
    font-size: 3em;
    font-weight: bold;
    margin: .2em;
}
.info_personal p{
    color: #FEF1D6;
    font-size: 1.3em;
}

.materias{
    border-radius: 12px;
    background-color: rgba(255, 193, 130, 0.72);
    box-shadow: 0 .3rem .3rem 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 1em;
    width: calc( 100% - 2rem );
    padding: 1.3em 2em ;
}
.materias h2{
    font-size: 2em;   
    color: #AD0900;
}
.materias > h3{
    font-size: 1em;   
    color: #AD0900;
    padding: .2em 0 0 0;
    font-weight: 800;
}
.materias p{
    color: #AD0900;
    font-size: .8m;
}
.materias > div{
    background-color: #AD0900;
    padding: 1em;
    border-radius: 1em;
    margin: 1em 2em;
}
.materias div ul h3{
    color: #FEF1D6;
    font-size: 1.5em;
    text-align: center;
    margin: 0 0 .2em 0;
}
.nivel1 {
    list-style: none;
    color: #FEF1D6;
    font-size: 1em;
}
.nivel2{
    list-style: none;
    color: #FEF1D6;
    font-size: 1em;
    margin: 1.4em 0 0 0;
}

.equipo{
    padding: 1.3em 2em ;
    max-width: 35em;
    border-radius: 12px;
    background-color: #AA031C;
    box-shadow: 0 .3rem .3rem 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 1em;
    width: calc( 100% - 2rem );
}
.equipo h4{
    color: #FFE1BA;
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 .3em 0;
}
.equipo img{
    border-radius: 8em;
    border: solid .2em #FFC182;
    max-width: 2.8rem;
}
.equipo div{
    display: flex;
    justify-content: center;
}
.equipo div ul{
    display: flex;
    flex-direction: column;
    padding: 0 1em 0 1em;
    align-items: center;
}
.equipo div ul a{
    text-decoration: none;
    color: #FFE1BA;
    font-size: 1em;
    margin: .7em;
    padding: .3em;
}
.equipo div ul a:hover{
    background-color: #FFE1BA;
    color: #AA031C;
    border-radius: .5em;
}

.academicos{
    margin: 0 0 1em 0;
    padding: 1.3em 2em ;
    max-width: 35em;
    border-radius: 12px;
    background-color: rgba(255, 193, 130, 0.72);
    box-shadow:  0 .3rem .3rem 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 1em;
    width: calc(100% - 2rem);
}
.academicos h3{
    color: #AD0900;
    font-size: 2em;
    font-weight: bold;
}
.acaemicos div{
    display: flex;
}
.academicos div ul{
    color: #AA031C;
     justify-content:flex-start;
     
}
.academicos div ul a {
    color: #AA031C;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: .3em;
}
.academicos div ul a:hover{
    background-color: #FFE1BA;
    color: #AA031C;
    border-radius: .5em;
}
.academicos div ul img{
    max-width: 5rem;
    padding: 1.3em 0 .3em; 0;
}

@media (min-width:40em){
  .equipo div ul a{
    text-decoration: none;
    color: #AA031C;
    font-size: 1em;
    margin: .7em;
    padding: .3em;
    background-color: #FFC182;
    border-radius: .7em;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.13);
}
  .academicos div ul a {
    background-color: rgba(170, 3, 28, 0.62);
    color: #FEF1D6;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: .3em;
    border-radius: .5em;
}
}
@media (min-width:40em){
  .materias > div{
    display: flex;
    background-color: #AD0900;
    padding: .5em;
    border-radius: 1em;
    margin: 1em 0 0 0;
    justify-content: center;
    align-items: flex-start;
}
    .nivel1{
        padding: 0 1em 0 0;
    }
    .nivel2{
        padding: 0 0 0 1em;
    }
    
}
/* ----- FOOTER------ */
footer{
    background-color: #AA031C;
    color: #FFE1BA;
    font-size: 8pt;
    width: 100%;
    
}
footer > p {
    
}