@charset "utf-8"
@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@300;400;700;900&display=swap');

body{
    min-height: 100vh;
    text-align: center;
    background-color: rgb(255, 199, 255);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Chivo', sans-serif;
}

/*     HEADER    */
header#nav{display: flex;
flex-direction: column;
justify-content: space-between;}

header nav ul{
    margin-top: 0.2em;
    padding: .2em;
}

header nav ul li a{    
    background-color: rgb(214, 0, 214);
    display: block;
    width: 7em;
    margin: auto;
    text-align: center;
    color: white;
    padding: 0.2em;
    margin-bottom: 0.2em;
    border-radius: 2em;
}
nav ul li a:hover{
    color: rgb(255, 199, 255);
    background-color: rgb(89, 0, 131);
}

section#estudiante{display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;} 

.violeta{

    background-color:rgb(255, 250, 173);
    border-radius: 2em;
    text-align: center;
    width: 50%;

    padding: 1em 0.5em 2em 0.5em;
    box-sizing: border-box;
    max-width: 400px;
    min-width: 400px;
    align-content: center;
    text-align: center;
}

.materias{
    border-radius: 2em;
    padding-top: 2em;
    text-align: center;
    align-content: center;
    text-align: center;
}

    h1{ color: rgb(115, 0, 168);
        font-size: 2em;
        text-align: center;
    }

img{
    width: 100%;
    height: auto;
    display: inline;
    border-radius: 2em;
}

#avatar{
    background-color: none;
    max-width: 7em;
    margin: auto;
}

h2{
    color: rgb(115, 0, 168);
    font-size: 1.2em;
}

h3{
    color: rgb(177, 0, 221);
    text-align: center;
}

ol{
    color: rgb(214, 0, 214);
    font-size: 0.9em;
    list-style: none;
    text-align: center;
}

ul{
    color: rgb(214, 0, 214);
    font-size: 0.9em;
    list-style: none;
    text-align: center;
    text-decoration: none;
}


nav ul li a{background-color: rgb(214, 0, 214);
    display: flex;
    flex-direction: column;
    width: 15em;
    list-style: none;
    margin: auto;
    text-align: center;
    color: white;
    padding: 0.2em;
    margin-bottom: 0.2em;
    border-radius: 2em;
align-content: center;}

/* DATOS ACADEMICOS */
#datosacademicos h3 {    
    color: rgb(115, 0, 168);
    text-align: center;
    background-color: rgb(255, 250, 173);
    border-radius: 2em;
    padding: 0.5em;
    margin: 1em 1em 1em 1em;
    text-decoration: none;
}

#datosacademicos ul li h4{
    color: rgb(177, 0, 221);
    font-size: 1.1em;
    margin-top: -0.5em;
    margin-bottom: -0.5em;
    text-align: center;
}

#datosacademicos p{
    color: rgb(214, 0, 214);
    font-size: 0.8em;
    text-align: center;
}

#datosacademicos ul li{
    list-style: none;
}

#datosacademicos ul{
    padding: 1em;
}


/*---- PIE ----*/

footer{background-color: rgb(89, 0, 131);
    border-radius: 2em;
padding: 2em 0.5em 2em 0.5em;
margin: 0 0 0 0;
font-size: 0.6em;
text-align: left;
color: rgb(255, 199, 255);}

/* -----FIN MOBILE FIRST ----*/

/* REGLAS PARA DISPOSITIVOS DE ESCRITORIO */

/* Escritorio pequeño / tablet */

@media screen and (min-width: 768px){
    body{
        background-color: rgb(255, 199, 255);
    }

    header ul{
        text-align:center;
    }

    header ul li {
        display: inline-block;
    }
    #estudiante{max-width: 400px;}


/* Escritorio grande */
@media screen and (min-width: 992px){

    body{
        background-color:rgb(255, 199, 255);
    }
    
    .violeta{max-width: 600px;
        min-width: 500px;}
}

/* Escritorio extra grande */
@media screen and (min-width: 1200px){
    body{
        background-color: rgb(255, 199, 255) ;}
        .violeta{max-width: 700px;
        min-width: 600px;}
}
