@import url('https://fonts.googleapis.com/css2?family=Shrikhand&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body {
    background: pink ; font-family: Montserrat, sans-serif; color: black; box-sizing: border-box; 
}
header {
    background: #ff0000; color: #ffd8df; text-align: right; border-radius: 3rem 0; padding-right: 3rem; align-items: flex-start; flex-wrap: nowrap;
}
nav {
    text-align: left; 
}
nav ul{
    list-style: none;
}
h1 { 
    font-family: 'Shrikhand', cursive; font-size: 3rem;
}
h2 {
    font-family: 'Shrikhand', cursive; color: red; margin-top: 0;
}
h3 {
    font-family: 'Shrikhand', cursive; font-size: 1.4rem;
}
h4 {
    position: relative; font-size: 3rem; color: white; margin-top: 2rem; margin-bottom: 0; 
}
hr {
    border-color: white; border-style: solid; border-width: medium;
}
aside {
    padding: 5rem; margin-left: 14rem; margin-right: 14rem; background: red; font-size: 0.7rem; border-radius: 100%; color: white;
}
aside:hover {
    background: #ffd8df; box-shadow: 20px 0px 0px red; transition: 0.5s all; color: red;
}
footer p{
    background: black; font-size: 0.7rem; color: #ffffff; border-radius: 2rem 0 2rem 0; margin: auto; padding: 2rem;
}
footer a{
    text-decoration: none; color: red;
}
footer a:hover {
    text-decoration: underline;
}


/* CLASES */

.perfil {
    border-radius: 100%; 
    width: 15%; 
    border-style: double; 
    border-color:pink;
    border-width: 1rem; 
    position: relative; 
    top: -6rem; 
    left: 2rem;
}
.materias {
    display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-content: space-around;  
    background: pink ;
    font-size: 0.7rem;
}
.container {
    max-width: 60rem;
    margin: auto;
}
.nivel1 {
    background: #ffd8df ;
    box-shadow: 20px -20px 0px #ff0000;
    width: 100%;
    padding: 1rem;
    border-radius: 6%;
    border-color: #ffd8df;
    border-style: solid;
    border-width: 1rem;
    margin: 2rem;
    color: red;
}
.nivel2 {
    background: #ffd8df ;
    box-shadow: 20px -20px 0px #ff0000;
    width: 100%;
    padding: 1rem;
    border-radius: 6%;
    border-color: #ffd8df;
    border-style: solid;
    border-width: 1rem;
    margin: 2rem;
    color: red;
}
.nivel3 {
    background: #ffd8df ;
    box-shadow: 20px -20px 0px #ff0000;
    width: 100%;
    padding: 1rem;
    border-radius: 6%;
    border-color: #ffd8df;
    border-style: solid;
    border-width: 1rem;
    margin: 2rem;
    color: red;
}
.materias ul {
    padding-inline-start: 28px;
}
.boton {
    font-size: 3rem; 
    margin-right: 2rem; 
    text-decoration: none; 
    color: white;
}
.boton:hover{
    color: red; 
    font-style: italic;
}
.menu {
    font-size: 2em; 
    color: white; 
    position: relative; 
    left: 15rem; 
    top: -88px;  
    text-decoration: none;
}
.menu a {
    text-decoration: none;
}
.menu:hover {
    color: black;
}
.boton-menu {
    position: absolute; 
    z-index: 9999;
}
.boton-menu .menu {
    width: 2rem; 
    text-align: center;
}
.desplegable {
    position: relative; 
    text-align: left; 
    list-style: none; 
    top: -92px; 
    left: 14rem; 
    padding: 2rem; 
    border: 10px solid red; 
    border-radius: 0 0 2rem 2rem;
    border-top: none; 
    display: none;
}
.vn12 {
    display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-content: space-around;
}
.vn12 a {
    background: red ;
    box-shadow: 10px -10px 0px #ffd8df;
    width: 100%;
    padding: 1rem;
    border-radius: 3%;
    border-color: red;
    border-style: solid;
    color: pink;
    text-decoration: none;
    margin: 30px;
    text-align: center;
}
.vn12 a:hover {
    background: black;
    border-color: black;
    color: white;
}
.semafadu {
    position: relative;
    font-size: 0.7rem;
    width: 47%;
    padding-left: 343px;
    top: -3rem;
    color: white;
}
.semafadu:hover {
    color: black;
}