*{
    padding: 0;
    margin: 0;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    color: FFFFFF;
    box-sizing: border-box;
}

header{
    margin-top: 10px;
    width: 95%;
    height: 10vh;
    margin-right: auto;
    margin-left:auto ;
    border: 2px solid black;
    border-radius: 8px;
}
.menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vn12{
    display: inline-block;
    width: 30%;
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: 900;
    font-size: 32px;
    line-height: 37px;
    margin: 0;
    padding-left: 10px;
}

.vn12:hover{
    text-decoration: underline;
}

.vn12hover:hover{
    background-color: #C1F3FF;
    border-radius: 8px;
    height: 8vh;
}
nav{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
}
nav .listaNav{
    display: inline-block;
    width: 50%;
    text-align: end;
    margin-right: 1rem;
}
nav ul li{
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 1rem;
}

nav .listaNav li:hover{
    background-color: #FFD2D6;
    border-radius: 8px;
    height: 8vh;
}
nav .listaNav li a:hover{
    text-decoration: underline;
}
nav ul li a{
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #000000;
}
.submenu{
    width: 40%;
    display: none;
}

.submenu li{
    display: flex;
    justify-content: space-around;
}

.menu li:hover .submenu{
    display: flex;
    justify-content: flex-start;
}

.submenu li:hover{
    background-color: #C1F3FF;
    border-radius: 8px;
    height: 8vh;
}

.submenu li a:hover{text-decoration: underline;}

.app{
    border-radius: 8px;
    background-color: black;
    text-align: center;
    width: fit-content;
    height: 8vh;
}
.app a{color:white;}

.app a:hover{
    color: black;
}
/* main*/

main{
    width: 100%;
    height: 100vh;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
img{
width: 460px;
height: 494px;
border-radius: 8px;
}

.contenedorImagenes{
    position: relative;
    left: 100px;
    top: 50px;
}

.imagen2{
    z-index: -1;
    position: absolute;
    top: 60px;
    left: 57px;
    border-radius: 8px;   
}


.textoPrincipal {margin-top: 200px;}

.textoPrincipal h1{
width: 496px;
text-align: center;
text-align: start;
font-size: 48px;
font-style: normal;
font-weight: normal;
}

.textoPrincipal span{
font-weight: bold;
font-size: 64px;
}

/* boton estudio diys*/
.subtextoPrincipal{ position: relative;}

.subtexto{
    width: 484px;
    height: 123px;
    background-color: #FBFFC1;
    border: 2px solid black;
    border-radius: 8px;
    text-align: center;
   display: flex;
   align-items: center;
   margin-top: 30px;
}

.subtexto h2{
    font-weight: normal;
    font-size: 32px;
    line-height: 111.5%;
    text-align: center;
}

.absoluteNegro{ 
    width: 484px;
    height: 123px;
    background-color: black;
    z-index: -1;
    position: absolute;
    top: 30px;
    left: 30px;
    border-radius: 8px;  
}

hr{border: 2px solid black;margin-bottom: 10px; width: 80%; margin-left: auto;margin-right: auto;}

/* SECCION MATERIAS POR NIVEL*/

section div h2{
    width: 318px;
    height: 65px;
    font-weight: bold;
    font-size: 55px;
    line-height: 107.5%;
    letter-spacing: 3px;
    -webkit-text-stroke: 3px black;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.808);
    text-align: center;
    margin-bottom: 55px;
}



section{
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.columna1{
    width: 40%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-end;
    margin-right: 10px;
}

.columna2{
    width: 40%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    margin-left: 10px;
}


.nivel1{
    margin-top: 15PX;
    background-color: #FFD2D6;
    border: 3px solid black;
    border-radius: 8px;
    width: 318px;
    height: 412px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.nivel1:hover{
    transform: scale(1.05);
    transition: 0.5s all;
    box-shadow: -10px 10px 4px #000000;
}

.nivel2:hover{
    transform: scale(1.05);
    transition: 0.5s all;
    box-shadow: 10px 10px 4px #000000;
}
.nivel3:hover{
    transform: scale(1.05);
    transition: 0.5s all;
    box-shadow: 10px 10px 4px #000000;
}

.nivel2{
    background-color:#C1F3FF;
    border: 3px solid black;
    border-radius: 8px;
    width: 318px;
    height: 345px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 9px;
}

.nivel3{
    background-color:#FBFFC1;
    border: 3px solid black;
    border-radius: 8px;
    width: 318px;
    height: 170px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-top: 10px;
}

h3{
font-weight: bold;
font-size: 35px;
letter-spacing: 2px;
text-align: center;
padding-top: 10px;
padding-bottom: 5px;
}

section ul{
    display: block;
     margin-right: auto;
    margin-left: auto;
    width: 100%;
    padding-bottom: 10px;
}
section li{
    width: 68%;
    font-size: 25px;
    letter-spacing: 3px;
    line-height: 124.5%;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
}

footer{
font-weight: 300;
font-size: 14px;
text-align: center;
letter-spacing: 3px;
color: #FFFFFF;
background-color: black;
height: 15vh;
width: 100%;
display: inline-block;
padding: 15px 10px;
}

