@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Frank+Ruhl+Libre&display=swap');
*{
    margin: 0em;
    padding: 0em;
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
}

/*body*/
body{
    background-image: linear-gradient(to right, rgb(245, 179, 179) , rgb(182, 193, 243));
    justify-content: center;
}
/*Header*/
header{
    padding: 0.5em 0em 0.5em 0em;
    background-image: linear-gradient(to right, rgb(245, 179, 179) , rgb(182, 193, 243));
    box-shadow: inset 0px 0px 6px 0px rgb(1 24 8 / 50%);
}
header img{
    box-sizing: border-box;
    border-radius: 1.5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
}
header nav{
    margin: 0em 0em 0em 0em;
}
header nav ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
header nav ul li{
    margin: 0.5em;
    list-style: none;
}
header nav ul li a{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-decoration: none;
    color: white;
    background-color: rgb(159, 146, 235);
    display: block;
    width: 8em;
    margin: auto;
    text-align: center;
    border-radius: 15px;
    transition: 0.2s ease;
}
header nav ul li a:hover{
    background-color:rgb(233, 168, 208);
    color: rgb(14, 44, 38);
    transform: scale(1.2);
}

/*main*/
main{
    animation: aparecer ease 2s;
    animation-iteration-count: 1; 
    text-align: center;
    align-items: center;
    justify-content: center;

}
main > section{
    padding: 1em 2em 1em 2em;
    justify-items: center;
}
#yo img {
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
    margin-top: 3em;
}
#boceto img{
    border-radius: 10px;
}
#yo{
    width: 90%;
    margin: auto;
    
}
#materias{
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
    margin: auto;
    width: 90%;
}
.aprobadas{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1em;
}
.aprobadas section{
    width: 45%;
}
.cursando {
    width: 100%;
}
.portfolio {
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
    width: 15em;
    height: 1,5em;
    border-radius: 100px;
    background-color: rgb(159, 146, 235);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif ;
}
div nav li {
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    width: 15em;
    height: 1,5em;
    border-radius: 100px;
}
.propuestaind{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif ;
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    width: 15em;
    height: 1,5em;
    border-radius: 100px;
    background-color: rgb(159, 146, 235);
}
a{
    color: black;
    text-decoration: none;
}


/*footer*/
footer{
    text-align: center;
    margin: 2em 0em 0em 0em;
    background-color: rgb(159, 146, 235);
    font-size: small ;
}

/*texto*/
h1{
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 1.5em;
    padding: 1em;
}
h2{
    font-family: 'Trebuchet MS';
    margin: 0.5em 0em 0.5em 0em;
    font-size: 1.4em;
}
h3{
    font-family: 'Trebuchet MS';
    margin: 0.5em 0em 0.5em 0em;
    font-size: 1.2em;
}
h4{
    font-family: 'Trebuchet MS';
    font-weight: bold;
    margin: 0.5em 0em 0.8em 0em;
    font-size: 0.9em;
}
p{
    font-family: sans-serif;
    margin: 0.5em 0em 0.5em 0em;
}
#boceto h3{
    color: rgb(0, 0, 0);
    border-radius: 2px;
}
#materias h3{
    font-size: 1.2em;
    background-color: rgb(159, 146, 235);
    width: 300px;
    margin: 15px auto;
    border-radius: 50px;
}
#materias h4{
    background-color: rgb(159, 146, 235);
    font-size: 1em;
    width: 150px;
    margin: 10px auto;
    border-radius: 40px;
}
#materias p{
    font-size: 0.8em;
    font-weight: lighter;
    margin: 0em 0em 0.5em 0em;
    text-align: center;
}
#datosAcademicos {
    margin-top: 4em; 
    margin-bottom: 3em;
}
#datosAcademicos ul {
    font-size: 1em; 
    margin-top: 1em;
}
#datosAcademicos ul li{
    font-size: 0.6em;
    list-style: none;

}
footer h4{
    font-size: 0.8em;
    font-weight: lighter;
    color: ghostwhite;
    margin: 1em 0em 0em 0em;
    padding: 1em;
}

@media screen and (min-width: 600px){
    main{
        width: 80%;
        margin: auto;
    }
}

@media screen and (min-width: 768px){
    main{
        width: 70%;
        margin: auto;
    }
}

@media screen and (min-width: 992px){
    main{
        width: 60%;
        margin: auto;
    }
}

@media only screen and (min-width: 1200px){
    main{
        width: 60%;
        margin: auto;
    }
}

/*animacion*/
@keyframes aparecer {
 0% {
     opacity: 0;
 }   
 100% {
     opacity: 1;
 }
}