@charset "utf-8"
    
/*reglas generales*/ 
*{
    box-sizing: border-box;
 }



body {
    background-color: mediumslateblue;
    margin: auto;
    font-family: "montserrat", sans-serif;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    
}

img {
    height: auto;
    
}



/*header*/
header .contenedor{
    color: mediumslateblue;
    padding: 0em;
    margin-top: 0.5em;
}


header nav {
    color: antiquewhite;
}

header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header nav label {
    color:antiquewhite;
    margin-right: 2.5em;
    text-decoration: none;
    display:flex;
    justify-content:flex-start;
}

header nav a:hover,
header nav label:hover {
        font-weight: 700;
}

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    display: none;
}

header nav label {
    cursor: pointer;
    padding: .5em;
    position: relative;
    z-index: 9999;
    
}

#menu-toggle:not(:checked) + #llamamenu,
#menu-toggle:checked + #llamamenu + #ocultamenu {
    display: flex;
    
}

#menu-toggle:checked + #llamamenu,
#menu-toggle:not(:checked) + #llamamenu + #ocultamenu {
    display: none;
}

header nav ul {

    position: fixed;
    right: 100%;
    top: 0;
    height: 100vh;
    width: 40%;
    z-index: 9990;
    padding-top: 1em;
    transition: all .5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    padding: 0;
    background-color: rgba(123, 104, 238, 0.63);
    
}

#menu-toggle:checked + #llamamenu + #ocultamenu + ul {
    right: 60%;
    transition: all .35s ease;
    padding-top: 2em;
}


header nav ul li {
    list-style: none;
    padding: .7em;

}

header nav ul li a{
    text-decoration: none; 
    color: antiquewhite;
    font-size: 1.2em;
    
    
}


/*main*/

main {
    margin: auto; 
    background-color: mediumslateblue;
     background-color: mediumslateblue;
    display: flex;
    flex-direction: column;
    justify-content: space-between 
}

main h1 {
    font-size: 2em;     
    margin: 0.3em;
    padding-left: 0.6em;
    padding-right: 0.6em;
    justify-content: center;
    display: flex;
    color: antiquewhite;
}

main h2 {
    
    color: antiquewhite;
    font-size: 1.7em;
     margin: auto;
    
}

main h3{
   padding-left: 1.8em;
    padding-right: 3em;
    padding-top: 0em;
    padding-bottom: 0em;
    
    margin: auto;
    
    color: antiquewhite;
    font-size: 1em;
}


main h4{
    
    margin-left: 2em;
    margin-right: 3em;
    margin-top: 1em;
    margin-bottom: 1em;

    
    color: antiquewhite;
}

#mifoto {
     display: flex;
    justify-content: center;
    margin: auto; 
    border-radius: 10em;   

}


.plan { 
    display: flex;
    flex-direction: column;
   
    margin-left: 1.8em;
    margin-right: 3em;
    margin-top: 0em;
    margin-bottom: 0em;
    
    color: antiquewhite;
    font-size: 0.85em; 
}

.mapa { 
   margin: auto; 
   padding: 1em;
    border-radius: 2.5em;
    
}


.foto{
    display: flex;
    justify-content: center;
    margin: auto; 
    border-radius: 10em;
    width: 9em;
    
    
}

.hola { 
    margin-left: 2em;
    margin-right: 3em;
    margin-top: 0em;
    margin-bottom: 2em;

}
.hola p{
    font-size: 0.8em;
    color: antiquewhite;
    line-height: 1.4em;
    
} 


.primeraño {
    display: flex;
    flex-direction: column;
    
    margin-left: auto;
    
    list-style: none;
    font-size: 0.73em;
    color: antiquewhite;
    line-height: 1.3em;
}
.segundoaño {
    display: flex;
    flex-direction: column;
    
    margin-left: auto;
    
    list-style: none;
    font-size: 0.73em;
    color: antiquewhite;
    line-height: 1.3em;
}

.encurso { 
    display: flex;
    flex-direction: column;
    margin-left: auto;
    list-style: none;
    box-sizing: border-box;
    font-size: 0.73em;
    color: antiquewhite;
    line-height: 1.3em;
    
}
.estetp {
    
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.estetp img{
    padding: 0.65em;
}

.estetp nav ul{
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
   
}
.estetp ul li { 
    display: flex; 
    flex-direction: column;
    justify-content: space-around;
    padding: 0.5em;
    margin: 0em;
}


.estetp ul li a{
    margin: auto;
    padding: 0.5em;
    text-decoration: none; 
    color: antiquewhite;
    font-size: 0.7em;
    

}

.estetp ul li a:hover {
    background-color: antiquewhite;
    border-radius: 5em;
    border-bottom-color: antiquewhite;
    color: mediumslateblue;
}


footer {
    background-color: antiquewhite;
}
    
footer p{
    color: mediumslateblue;
    font-size: 0.5em;
    padding: 2em;
    
    
 }

/*mediasquaris*/

@media (min-width: 35em) {
    /*header*/
    
    #menu-toggle:checked + #llamamenu,
    #menu-toggle:not(:checked) + #llamamenu,
    #menu-toggle:checked + #llamamenu + #ocultamenu,
    #menu-toggle:not(checked) + #llamamenu + #ocultamenu {
        display: none;
    }
    
        header nav ul{
        display: flex;
        flex-wrap: wrap;
        background: none;
         top: auto;
        left: auto;
        height: auto;
        width: 100%;
        padding-top: 0;
    }

    header nav ul li a{
        color: antiquewhite;
    }
    
/*main*/
 
     main h1 { 
    font-size: 2.5em; 
    background-color: antiquewhite;
    color: mediumslateblue;
   
    margin: 0em; 
    margin-top: 0.5em;
    margin-bottom: 0em;
    }
   
    main h2 {
     font-size: 1.8em;     
        
    }
    

        
    
 .estetp nav ul{
     display: none;}
    
    
.estetp nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    }

.estetp nav ul li a{
        font-size: 1em;}
    
 .foto {
         width: 15vmin;
    }
.hola {
        margin: 0em; 
        margin-left: 1em;
        margin-top: 2em;
    }
    
.materias {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    
        padding: 1em;
        margin-top: 1em;
    
        
    }
    
.personal{
        display: flex;
        flex-direction: row;
        justify-content:center;
    
        padding: 1em;
        margin-top: 2em; 
        margin: auto;
    
    }
}

@media (min-width: 40em) {
    
/*main*/
 
    .contenedor { 
    width: 80%;
    margin: auto;}
    
    main h1 { 
    font-size: 3em; 
   
    }
    
     main h2 {
     font-size: 2.5em;        
    }
    .foto {
        width: 10em;
        
    }
    
}

