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

/* Estilos Generales */
.contenedor {
    max-width: 80rem;
    margin: auto;
    background-color: #ece493; 
    font-family: 'Niramit', sans-serif;
}
/* HEADER */

header {
    background-color: #5c7893;
    text-align: center;
}

nav {
    text-align: center;
}
nav ul li {
    list-style-type: none;
    display: inline-block;
    background: #84a1be;
    margin: 1rem 2rem;
    color: black;
    width: 10%;
    box-shadow: 5px 5px;
}

nav ul li:hover {
    background-color: #ece493;
}
nav ul a li {
    color: black;   
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/* MAIN */

.titulo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #84a1be;
    margin-top: 2rem;
    width: 60%;
    margin-left: 19%;
    box-shadow: 5px 5px;
    line-height: 1.1;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

section {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

.niveles {
    padding: 1rem;
    margin: 1rem 0rem;
}

.imagen {
    background-color: #84a1be;
    padding: 3rem;
    margin-bottom: 21rem;
    box-shadow: 5px 5px;
}

img {
    box-shadow: 5px 5px 3px #262626;
}

.nivel1 {
    background-color: #84a1be;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 5px 5px;
}

.nivel2 {
    background-color: #84a1be;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 5px 5px;
}

.nivel3 {
    background-color: #84a1be;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 5px 5px;
}

h2 {
    text-align: center;
}

.niveles p {
    line-height: 1;
}
    
/* FOOTER */
footer {
    background-color: #5c7893;
    text-align: center;
    padding: 1rem 6rem;
    
}

footer p {
    font-size: 12px;
    line-height: 1.5;
    border-style: solid;
    border-width: thin;
    padding: 0.5rem;
}
