*{
    margin: 0.5;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    outline: none;

}

a { text-decoration: none; 
    color: black;
    font-weight:bold;
}

body {
min-height: 100vh;
background-color: cadetblue;
display: flex;
flex-direction: column;
justify-content: space-between;
}

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

ul {
    list-style: none;
}


/* contenedor centrado y con ancho máximo */
.contenedor {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1em;
    
}

/*
encabezado
*/

header .contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: azure;
    }

#logo {
    display: block;
    width: 5em;
}

nav {
    width: 100%;
    margin-left: 1em;
}

header nav a,
header nav button {
    color: black;
    padding: .25em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    flex-wrap: wrap;
    width: 100%;
    
}

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

header nav a:hover,
header nav button:hover {
    background-color: cadetblue;
}

nav ul li a:hover{
  color: azure;
}

main {
flex-grow: 1;
}


h1 {
    font-family: sans-serif;
    font-weight: 750;
    font-size: 2em;
    margin: 1em;
    text-align: center;
    padding-bottom: 0em;
    margin-bottom: -.1%;
    margin-top: 1.5em;
    }

main p {
    font-family: sans-serif;
    text-align: center;
    font-weight: 500;
}

main img {
  border-radius: 100%;
  display: block;
  margin: 1rem auto;
  width: 400px;
  height: 400px;
  align-content: center;
}

h2 {
    font-family: serif;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
}

.datospersonales {
    max-width: 50rem;
    margin: 1rem auto;
    padding: .1em;
    background-color: azure;
    border: solid 1px cadetblue;
    width: 100%;
    height: 200px;
    
}

.academico{
    max-width: 50rem;
    margin: 1rem auto;
    padding: .5em;
    background-color: azure;
    border: solid 1px cadetblue;
    width: 100%;
    height: 520px;
    
}

main section h2{
    border-bottom: solid .1em cadetblue;
    margin: 1em;
    
}

main div ul {
    font-family: sans-serif;
    font-weight: 100;
    line-height: normal;
    text-align: center;
    list-style: none;
     }


h3 {
    text-align: center;
    font-family: serif;
    font-style: normal;
    text-decoration: underline;
    font-size: 1.em;
}

aside pre {
    font-family: sans-serif;
    text-align: center;
    line-height: normal;
}
    
aside img {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    display: block;
    }

pre {
    font-family: sans-serif;
    text-align: center;
    font-weight: 400;
    line-height: 1.em;
    }

hr {
    width: 20%;
    height: 2px;
    background-color: azure;
    border color: solid 2px azure;   
}

h4 {
    font-weight: 700;
}

footer .contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: azure;
    font-size: .90em;
    font-family: serif;
    border top: 7px solid;
    text-align: center;
    }
 
/*
cuando la ventana del navegador mida
como mínimo 560px de ancho
*/
@media (min-width: 35em) {
    
    header nav button {
        display: none;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    header nav ul {
        flex-basis: 25%;
    }
}



