@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*{
    box-sizing: border-box;
    margin:0;
    padding:0;
    text-decoration: none;
    list-style: none;
    border: 0;
    outline: none;
}
img{
    max-width: 100%;
    display: block;
}
body{
    background-color: #d4d3f8;
    font-family: 'Poppins', sans-serif;   
}
/*--------HEADER-------*/
header {
    box-shadow: 0 4px 2px hsl(0 0% 0% / 0.25);
    /* "pegado" al borde superior de la ventana */
    position: sticky;
    /* distancia 0 del borde */
    top: 0;
    /* capa superior arriba de casi todo */
    z-index: 8000;

    background-color: #ca9fef;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*MENU BURGUER*/
.listnav{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: max-content;
    background-color: #ca9fef;
    padding: 2rem;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    transition: all .3s ease;
}
.visible{
    opacity: 1;
    visibility: visible;
}
.listnav ul{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: .5rem;
    padding-left: 3rem;
}
.botonmenu{
    display: flex;
    align-items: center;
}
#botonmenu,.cerrarmenu{
    border: 0;
    color: #1c1c1c;
    background-color: transparent;
    padding: .25rem;
    display: flex;
}
#botonmenu{
    background-color: #dbbef4;
    border-radius: 50%;
    box-shadow: -5px 5px 10px hsla(0, 0%, 0%, 0.159);
}
#botonmenu:hover,.cerrarmenu:hover{
    background-color:#9e51e1;
    color: #FCFCF8;
    border-radius: 50%;
}
/*MAS ELEMENTOS HEADER*/
.itemnav a {
    display: block;
    color: #1c1c1c;
    font-weight: 500;
    padding: 0.5rem;
}
.itemnav a:hover{
    background-color:#9e51e1;
    color: #FCFCF8;
    border-radius: .5rem;
}
.logodgpc{
    align-items: center;
}
.logodgpc img{
    padding: 0.5rem;
    width: 3.5rem;
    background-color:#dbbef4;
    border-radius: .5rem;
    box-shadow: -5px 5px 10px hsla(0, 0%, 0%, 0.159);
}
footer{
    background-color: #ca9fef;
    padding: 1rem;
    color:#1c1c1c;
    text-align: center;
    font-size: .8rem;
}
#fotoandrea{
    display: flex;
    margin-block: 1.5rem;
}
#fotoandrea img{
    max-width: 80%;
    text-align: center;
    border-radius: 50% 50% 0 0;
    box-shadow:-10px 10px #ca9fef,-20px 20px #9e51e1;
    margin: auto;
}
h1{
    text-align: center;
    font-size:2.2rem;
    padding: 1rem;
    font-weight: 800;
    color: #FCFCF8;
    -webkit-text-stroke: 1px #9e51e1;
    text-shadow:-5px 5px #ca9fef,-10px 10px #9e51e1;
}
#bio {
    background-color: #ca9fef;
    color: #1c1c1c;
    padding: 1.5rem;
    margin-bottom: 1rem;
    margin-inline: 1.5rem;
    text-align: left;
    border-radius: 1rem;
    font-weight: 500;
    font-style: italic;
}
h2{
    color: #1c1c1c;
    font-weight: 700;
    border-inline-start: solid 8px #9e51e1;
    margin: 1.8rem 1.2rem 1.2rem 1.2rem;
    padding-left: 0.35rem;
    font-size: 1.8rem;
}
.materias,.materiascurso{
    background-color: #dbbef4;
    box-shadow: 0 0 5px #47474721;
    color: #1c1c1c;
    border-radius: 1rem;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
}
#equipovm13{
    background-color: #ca9fef;
}
.estudiante,.academicos{
    color: #1c1c1c;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.equipo{
    padding-block: 1rem;
}
.estudiante{
    padding-block: 1rem;
}
.estudiante a{
    color: #1c1c1c;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.estudiante h3{
    margin-top: 1.5rem;
    margin-inline: auto;
    padding-inline: 2rem;
    background-color: #9e51e1;
    color: #FCFCF8;
    border-radius: 1rem;
}
.academicos ul{
    font-size: .9rem;
}
.estudiante a figure img{
    border-radius: 1rem;
    margin: auto;
    box-shadow:-10px 10px #dbbef4,-20px 20px #9e51e1;
}
.materias h3, .materiascurso h3{
    font-size: 1.8rem;
}
.academicos{
    gap:1rem;
    margin: 1rem;
    padding: 1rem;
}
.academicos a img{
    margin: auto;
    width: 5rem;
}

@media (min-width:48em){
    /*HEADER*/
    .botonmenu,.cerrarmenu{
        display:none;
    }
    .listnav{
        opacity: 1;
        visibility: visible;
        display: flex;
        align-items: center;
        box-shadow: none;
        position: static;
        height: fit-content;
        width: fit-content;
        padding: 0;
    }
    .listnav ul{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.5rem;
    }
    .logodgpc img{
        width: 4rem;
    }
    .itemnav a{
        background-color: #dbbef4;
        border-radius: .5rem;
        box-shadow: -5px 5px 10px hsla(0, 0%, 0%, 0.159);
    }
    .equipo{
        display: grid;
        grid-template-columns: 40% 40%;
        justify-content: center;
    }
    #datosacademicos, #listadomaterias{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-content: center;
        margin-inline: 2rem;
    }
    #listadomaterias{
        gap: 1rem;
    }
    .materias{
        height: 100%;
        width: 100%;
    }
    h2{
        margin-left: 8rem;
    }
    .materiascurso{
        width: 70%;
        margin: auto;
    }
    .datosandrea{
        display: grid;
        grid-template-columns: 40% 35%;
        align-items: center;
        justify-content: center;
    }
    h1{
        font-size: 4.2rem;
        line-height: 5rem;
        word-spacing: .7rem;
    }
    .infoandrea{
        align-self: end;
    }
}