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

* {
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: white;
}

.universo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cajaContacto {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 1.5em;
    height: auto;
    width: 80%;
    margin: auto;
}

.cajaPersona {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: hsla(219, 48%, 14%, 0.548);
    padding: 1em;
    border-radius: 1em;
    cursor: pointer;
}

.cajaPersona:hover {
    background-color: hsla(219, 32%, 23%, 0.548);
}

/* caja Foto e Imagen*/
.fotoPersona {
    display: flex;
    width: 70%;
    flex-direction: row;
    justify-content: space-between;
    border: solid 7px hsl(258, 18%, 35%);
    border-radius: 50%;
}

.fotoPersona:hover {
    border: solid 7px hsl(259, 22%, 61%);
}

.nomPersona {
    flex-direction: row;
    justify-content: center;
    margin: 1em;
    font-size: 1.5em;
}

.nomPersona:hover {
    color: hsl(259, 22%, 61%);
    cursor: pointer;
}

.pPersona {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 0.8em;
}

/*Estilo Contacto Individual Perfil -------------- */
.cajaYae {
    max-width: 75em;
    margin: 0 auto;
}

.cajaMica {
    max-width: 75em;
    margin: 0 auto;
}

img {
    max-width: 100%;
    margin: 0 0 0 0;
}

/*Estilo Caja Foto e Imagen -------------- */
.nombTitulos:hover {
    color: hsl(259, 22%, 61%);
    cursor: pointer;
}

.nombTitulos {
    display: block;
    margin: 2em auto 2em auto;
    padding: 1em;
    border-left: solid 10px hsla(246, 42%, 14%, 0.75);
    background-color: hsl(245, 16%, 32%, 0.75);
    color: hsl(240, 14%, 89%);
    font-weight: bold;
    font-size: 18px;
    border-radius: 0.25em;
    box-shadow: 4px 3px 6px hsl(246, 12%, 51%, 0.75);
    max-width: 90%;
    text-align: left;
}

.equipo {
    max-width: 75em;
    margin: 0 auto;
}

/*PERFIL -----------------------------------*/
.cajaFoto {
    max-width: 90%;
    margin: auto;
    padding: 1em;
    background-color: hsla(246, 42%, 14%, 0.75);
    border-radius: 0.25em;
    box-shadow: 5px 5px 5px hsl(246, 42%, 14%, 0.45);
}

.cajaYae .cajaFoto {
    width: 85%;
}

.cajaText {
    max-width: 85%;
    margin: 1em auto 0em auto;
    padding: 2em;
    box-shadow: 5px 5px 5px hsl(246, 12%, 51%, 0.75);
    background-color: hsl(231, 8%, 67%, 0.75);
    border-radius: 0.25em;
}

.textM {
    margin: 0.5em auto 0em auto;
}

.textY {
    margin: 0.5em auto 0em auto;
}

.hSaludo {
    font-size: 18px;
    margin-bottom: 0.5em;
    font-weight: 800;
}

.hNombre {
    font-size: 80px;
    margin-bottom: 0.025em;
    color: hsl(246, 42%, 14%);
}

/*HISTORIA ACADÉMICA ----------------------------------------------*/
.cajaHis {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 85%;
    margin: 1em auto 1em auto;
    padding: 0em 0em 2em 0em;
    background-color: hsl(231, 8%, 67%, 0.75);
    border-radius: 0.25em;
    box-shadow: 5px 5px 5px hsl(246, 12%, 51%, 0.75);
}

.todaCajaNomHis {
    padding: 1em 0em 0em 0em;
    text-align: left;
    margin: 0em 0em 0em 1.5em;
    font-weight: bold;
    font-size: 20px;
    color: hsl(240, 14%, 89%);
}

.todaCajaTextHis {
    margin: 1em auto 0em 1.5em;
    padding: 0 0 0 1em;
    border-left: solid 10px hsla(246, 42%, 14%, 0.75);
}

/*EQUIPO JT41 -------------------------------------------*/
.equipoInt {
    display: block;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 85%;
    margin: 2em auto 0em auto;
    justify-content: space-evenly;
}

.equipoMica {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
}

.equipoYae {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
}

.equipoMoY {
    display: block;
    width: 100%;
    max-width: 30em;
    margin: 2em auto 0em auto;
    box-shadow: 5px 5px 5px hsl(246, 12%, 51%, 0.75);
    padding: 1em;
    text-align: center;
    border-radius: 0.25em;
    background-color: hsl(231, 8%, 67%, 0.75);
}

.equipoFotoM {
    width: 15em;
    border-radius: 50%;
    margin: 1em;
    border: solid 5px hsla(246, 42%, 14%, 0.75);
    box-shadow: 5px 5px 5px hsla(246, 42%, 14%, 0.45);
    text-align: center;
}

.equipoFotoY {
    width: 15em;
    border-radius: 50%;
    margin: 1em;
    border: solid 5px hsla(246, 42%, 14%, 0.75);
    box-shadow: 5px 5px 5px hsla(246, 42%, 14%, 0.45);
    text-align: center;
}

.equipoNom {
    padding: 1em;
    text-align: center;
    text-decoration: underline;
}

.equipoFotoM:hover {
    border: solid 5px hsl(259, 22%, 61%);
}

.equipoFotoY:hover {
    border: solid 5px hsl(259, 22%, 61%);
}

/* DATOS ACADEMICOS ---------------------------------------------*/

.cajaAcam {
    max-width: 85%;
    margin: 0em auto;
}

.todaFotoAcam {
    text-align: center;
    height: 5em;
    width: 5em;
    margin: 1em 1em 1em 0;
    background-color: hsl(0, 0%, 100%);
    border-radius: 50%;
}

.todaCajaAcam {
    margin: 0em 1em 2em auto;
    padding: 0 0 0 1em;
    border-left: solid 10px hsl(246, 42%, 14%, 0.75);
    border-radius: 0.25em;
}

.todaCajaNomAcam {
    color: hsl(240, 14%, 89%);
}

.todaCajaTextAcam {
    font-size: 0.8em;
    color: hsl(240, 14%, 89%);
}

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

    .universo {
        max-width: 80em;
        width: 100%;
    }

    .cajaTitulos {
        font-size: 20px;
    }

    /* PERFIL
    -----------------------------------------*/

    .cajaFyt {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;
        max-width: 90%;
        margin: 1em auto 1em auto;
    }

    .cajaFoto {
        max-width: 50%;
    }

    .cajaText {
        max-width: 50%;
        margin: 0em 0em 0em 1em;
        padding: 1em;
    }


    /*MATERIAS
    -----------------------------------------*/

    .cajaHis {
        justify-content: flex-start;
    }

    .todaCajaHis {
        margin: 0em 0em 0em 1em;
    }

    /*EQUIPO JT14 -------------------------------------------*/

    .equipoInt {
        flex-wrap: nowrap;
        gap: 1em;
    }

    .equipoMoY {
        max-width: 12em;
        margin: 0em 0em 0em 0em;
    }

    .equipoFotoM {
        width: 120px;
    }

    .equipoFotoY {
        width: 120px;
    }

    /*DATOS ACADEMICOS---------------*/
    .cajaAcam {
        margin: 0 1.5em;
    }
}

/*RESPONSIVE-DESKTOP*/

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

    /*MATERIAS
    -----------------------------------------*/

    .cajaHis {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 3em
    }

    /*EQUIPO JT14 -------------------------------------------*/

    .equipoInt {
        display: flex;
        gap: 1.5em;
    }

    .equipoMoY {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 80%;
    }

    .equipoMoY img {
        width: 50%;
    }

    /*DATOS ACADEMICOS---------------*/
    .cajaAcam {
        display: flex;
        justify-content: space-between;
        margin: 0 4em;
    }

    /*FOOTER
   --------------------------------------*/

    footer p {
        margin: 1em 4em 1em 4em;
    }

    .cajaContacto {
        flex-wrap: nowrap;
        margin: 0em auto;
        gap: 5em;
        justify-content: space-evenly;
    }

    .cajaPersona {
        margin: 3em 0;
        padding: 5em;
    }

    .fotoPersona {
        width: 30vh;
        height: 50%;
    }

    .pPersona {
        font-size: 0.8em;
    }

    .cajaFoto {
        max-width: 100%;
        }

    .cajaYae .cajaFoto {
        width: 50%;
        height: 50%;
    }
}