@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');

/* Mobile First */

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color:#F2F2F2;
}

h1,
h4,
h5,
h6
{
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

a{
    text-decoration: none;
    color: #ffffff;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    align-content: center;
}

.contenedor{
    margin: 0 auto;
    max-width: 50rem;
    padding: 1rem;
}

header,
footer{
    background-color: #1ca697;
    color: #ffffff;
}

/* ENCABEZADO */

header .contenedor{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    text-align: justify;
}

#logo{
    background-color: #ffffff;
    padding: 0.35em;
    width: 8em;
}

header nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

header nav ul li{
    min-width: 5em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a{
    background-color: #f28d4f;
    color: #ffffff;
    border-radius: .5em;
    border-color: #f2f2f2;
    border-style: inset;
    padding: .10em;
    text-align: center;
    display: block;
}

header nav ul li a:hover{
    background-color: #f2f2f2;
    color: #f28d4f;
}

/* CUERPO */

main{
    padding: 1em;
}

section{
    padding-bottom: 1rem;
}

.titulos{
    background-color: #f28d4f;
    color: #F2F2F2;
    font-weight: bolder;
    line-height: 1.5em;
    text-align: center;
}

/* INTEGRANTE */

.integrante{
    display: flex;    
    justify-content: center;
    text-align: justify;
    width: 100%;
    border-radius: .99em;
    flex-direction: column;
}

.integrante figure img{
    display: flex;
    margin: 2em auto 1em auto;
    box-shadow: 6px 6px #1ca697;
    text-align: center;
}

#materias{
    border: solid 2px #1ca697;
    padding: 1em;
    margin: 1.5em 1.5em 1em 1.5em;
}

#materias h2{
    background-color: #1ca697;
    color: #ffffff;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
}

#materias h3{
    background-color: #1ca697;
    color: #ffffff;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
}

.integrante div ul li{
    color: #262626;
    text-align: center;
}

/* ENLACES */

.enlaces {
    display: flex;    
    justify-content: center;
    text-align: center;
    width: 100%;
    border-radius: .99em;
    flex-direction: column;
}

.enlaces div ul li{
    background-color: #1ca697;
    font-weight: bold;
    margin: 1em;
    padding: 0.5em;
    display: block;
}

.enlaces div ul li a:hover{
    color: #ffffff;
}

/* GRUPO VM34*/

.grupo {
    display: flex;    
    justify-content: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
    border-radius: .99em;
}

.grupo ul li{
    background-color: #9ad9c8;
    font-weight: bold;
    margin: 0.5em;
    padding: 1em;
}

/* DATOS ACADEMICOS */

.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.datosacademicos > ul > li:not(:last-of-type) {
    border-bottom: solid 2px #1ca697;
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
}

.datosacademicos img {
    width: 10em;
    height: auto;
}

/* FOOTER */

p{
    display: block;
    font-size: 1rem;
    max-width: 75rem;
    margin: 0 auto;
    padding: 1rem;
}

/* -- */

/* Dispositivos desde 992px de ancho: COMPUTADORAS */

@media screen and (min-width: 992px) {

/* CUERPO */
    main{
        padding: 0 5em;
    }

/* GRUPO VM34*/

.grupo {
    display: flex;    
    justify-content: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
    border-radius: .99em;
}

.grupo ul li{
    background-color: #9ad9c8;
    font-weight: bold;
    margin: 0.5em;
    padding: 1em;
}
    
/* DATOS ACADEMICOS */
    .datosacademicos > ul {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .datosacademicos > ul > li {
        flex-direction: column;
    }
    .datosacademicos > ul > li:not(:last-of-type) {
        border-bottom: 0;
    }
}