@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&family=Varela+Round&display=swap');

/* etiqueta universal */
* {
    margin: 0%;
    padding 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* min-height y min-width para minimos */
.contenedor {
    max-width: 75rem;
    margin: auto
}

body {
    background: #0B0B32;
    text-align: center;
    font-family: Varela Round;
    font-size: 0.7rem
}

body p {
    font-weight: 400;
}

h1 {
    font-weight: 700;
    color: whitesmoke;
    font-family: Montserrat;
}

h2 {
    font-weight: 400;
    color: whitesmoke;
    font-weight: 400;
}

h3 {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 0.7rem;
    margin-bottom: 5%;
}

header img {
    position: relative;
    top: -4rem;
    border-radius: 50%;
    border: 5px solid #00cc99;
    margin-bottom: -3rem;
}

.materias {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
}

.nivel1 {
    background: #00cc99;
    color: whitesmoke;
    width: 30%;
    padding: 2%;
    border: 0.2rem solid;
    border-radius: 0.5rem;
    text-align: start;

    /* box-shadow: 0rem 0rem 0rem rgba(209, 29, 91, 0.7); */
}

.nivel2 {
    background: #0B0B32;
    color: whitesmoke;
    width: 30%;
    padding: 2%;
    border: 0.2rem solid;
    border-radius: 0.5rem;
    text-align: start
}

.nivel3 {
    background: #00cc99;
    color: whitesmoke;
    width: 30%;
    padding: 2%;
    border: 0.2rem solid;
    border-radius: 0.5rem;
    text-align: start
}

footer {
    background-color: #00cc99;
    display: block;
    text-align: center;
    padding: 2rem;
    font-size: 0.7rem;
    margin-top: 10%;
}

footer p {
    color: #0B0B32;
    font-weight: 400;
}

.letras {
    background-color: #00cc99;
    padding: 4rem;
}

.letras ul li {
    display: inline-block;
    padding: 1rem;
}

.letras ul li a {
    color: whitesmoke;
    font-size: 0.7rem;

}

.letras ul li a:hover {
    color: #0B0B32;
}

hr {
    margin-top: 4%;
    color: #00cc99;
    border: 0.1rem solid #00cc99;
}

/* botones para redes */

.red {
    display: inline-block;
    margin-bottom: 2%;
    padding-right: 1%;
}

.red a {
    color: whitesmoke;
    font-size: 2rem;
}

.red a:hover {
    color: #0B0B32;
}

/* botones para redes */

::selection {
    background: white;
    color: #0B0B32;
}

::-moz-selection {
    background: white;
    color: #0B0B32;
}

/*Propiedades para celular*/

@media screen and (max-width: 1024px) {

    .letras {
        padding: 4rem;
        margin-left: -2.5rem;
    }

    .letras ul li {
    display: inline-block;
    padding: 0.3rem;

}

.letras ul li a {
    color: whitesmoke;
    font-size: 0.8rem;


}


h2 {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
}

.materias {
    flex-direction: column;
    align-items: center;
    width: 100%;

}

.nivel1 {
    width: 95%;
    padding: 1rem;
    margin-bottom: 5%;
}

.nivel2 {
    width: 95%;
    padding: 1rem;
    margin-bottom: 5%;
}

.nivel3 {
    width: 95%;
    padding: 1rem;
}

footer {
    left: 0;
    right: 0;
    width: 100%;

}

footer p {
    margin-top: 0.5rem;

}

.red a {
    font-size: 2.5rem;
    padding: 0.3rem;

}

.letras ul li {
    font-size: 3rem;
}
