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


* {
      box-sizing: border-box;
    }

:root {
--color-fondo: white;
--color-1: rgb(56 56 56);
--color-2: rgb(6 97 99);
--color-3: rgb(176 198 176);
--color-4: rgb(236 179 144);
--color-5: rgb(221 75 73);

--tipo-titulos: 'poppins', sans-serif;
--tipo-textos: 'lato', sans-serif;
--tipo-botones: 'lato', sans-serif;


}

/*Cuerpo principal*/
body {
    font-family: var(--tipo-textos);
    font-size: medium;
    background-color: var(--color-fondo);
    margin: 0;
    min-height: 100vh;
    min-height: -webkit-fill-available;
} 

html {
    height: -webkit-fill-available;
}

/*Header*/

header .contenedor{
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items:center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav a {
    text-decoration: none;
    font-family: var(--tipo-botones);
    font-size: medium;
    font-weight: 500;
    background-color: var(--color-4);
    color: var(--color-1);
    display: inline;
    width: min(30rem, 100%);
    padding-block: .2rem;
    padding-inline: .5rem;
}

header nav ul li a *:first-of-type {
    color: var(--color-2);
    font-weight: 800;
}

header nav a:hover {
    text-decoration: none;
    background-color: var(--color-5);
    color: var(--color-4);
}

header, footer {
    background-color: var(--color-2);
    color: var(--color-4);
    margin: 0em;
    font-family: var(--tipo-textos)
}


main .contenedor {
    max-width: 50em;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

/*Títulos y subtítulos*/
h1, h2, h3, h4, h5 {
    color: var(--color-5);
    font-family: var(--tipo-titulos);
}

h1 {
    color: var(--color-2);
    font-weight: bold;
    font-size: 5rem;
    margin-top: 1rem;
    text-align: center;
}

h2 {
    font-weight:bold;
    font-size: 2rem;
}

h3 {
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: -.5rem;
}

h5 {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: -.5rem;
}


b {
    color: var(--color-5);
}

ul {
    list-style: none;
    padding-inline-start: 0px;
}

a{
    text-decoration: none;
    color: var(--color-5);
    align-items: center;
    font-family:var(--tipo-textos);
}

a:hover{
    text-decoration: none;
    list-style: none;
    color: var(--color-4)
}

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


.enlaces nav ul{
    text-decoration: none;
    list-style: none;
    color: var(--color-5);
    display:flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem
}

figure {
    margin-block-start: 0em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    justify-content: center;
}

.portada {
    justify-content: center;
    align-items: center;
}

.portada figcaption {
    
    position: absolute;
    z-index: 10;
    /*top: 8em;
    left:5em;*/
}

.portada figure {
    position:relative;
    z-index: -1;
    top:0%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portada picture {
    opacity: 60%;
}

.fotodeperfil img {
    border-radius:50%; 
    width:30%; 
    display: block;
    margin: auto;
    margin-top: 2rem;
}

.carrera h2 {
    margin-bottom: -.5rem;
}

.academicos img {
    width: 150px;
    align-content: center;
    margin: 0;
}

.equipo .datos  a{
    text-decoration: none;
    list-style: none;
    color: var(--color-5);
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.equipo .datos  a:hover{
    text-decoration: none;
    list-style: none;
    color: var(--color-4)
}

.equipo img{
    border-radius:50%; 
    width: 30%;
}

.equipo h3 {
    margin-block-end: .5em;
}

.equipo .alumnas {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equipo .alumna {
    color: var(--color-5);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}
 
.equipo .alumna .datos {
    margin-top: -1.5rem;
    text-align: center;
}


footer {
    margin: 0em;
    display: flex;
    justify-content: center;
} 

footer p {
    max-width: 50em;
    margin: .5rem;
}

/*MEDIA*/

/*TABLET*/
@media (min-width: 760px) {

figure {
    margin-block-start: 0em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    justify-content: center;
}

/*Datos y descripción*/
.aixaplaton {
    display: flex;
    flex-direction: row;
}

/*foto*/
.fotodeperfil {
    align-items: left;
    border-radius:50%; 
    width:100%; 
    display: block;
    margin: auto;
    margin-top: 2rem;
}

.aixaplaton .datos {
    border-left: 2px solid var(--color-5);
    padding-left: 1rem;
}

/*Nombre y Apellido*/
.datos h1 {
    text-align: left;
    margin-bottom: -1rem;
}

/*dercipción*/
.descripcion {
    display:block;
    align-self: end;
    justify-content: right;
    max-width: 100em;
    gap: 1em;
}

.aprobadas  {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.enlaces {
    margin-block-end: 1rem;
}

h3 {
    font-weight: normal;
    font-size: 1.3rem;
    margin-bottom: -.5rem;
}


.equipo .alumnas  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: min ( 10rem, 95%);
    padding-inline: .125em;
    }


.alumnas .alumna  {
    align-items: center;
    text-align: center;
    width: min( 10rem, 100%);
    padding-inline: .125em;
}
.academicos h2{
    border-top: 2px solid var(--color-5);
    padding-top: 1rem;
}
.especificidades {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
    width: min ( 10rem, 95%);
    padding-inline: .125em;
    }

.especificidades .fadu img {
    width: 90%;
}

.especificidades .fadu .datos {
    border-bottom: 2px solid var(--color-5);
    padding-bottom: 6.5rem;
}
}

/*DESKTOP*/
@media (min-width: 1024px) {

body {
    margin: auto;
}

header .contenedor{
    display:flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items:center;
    margin-right: 2rem;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

main .contenedor {
    max-width: 80%;
    justify-content: center;
    margin-left: 6em;
    margin-right: 6em;
}

figure {
    margin-block-start: 0em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    justify-content: center;
}

.aixaplaton {
    display: flex;
    flex-direction: row;
}

/*foto*/
.fotodeperfil {
    align-items: left;
    border-radius:50%; 
    width:100%; 
    display: block;
    margin: auto;
    margin-top: 2rem;
}

.aixaplaton .datos {
    border-left: 2px solid var(--color-5);
    padding-left: 1rem;
}

/*Nombre y Apellido*/
.datos h1 {
    text-align: left;
    margin-bottom: -1rem;
}

/*dercipción*/
.descripcion {
    display:block;
    align-self: end;
    justify-content: right;
    max-width: 100em;
    gap: 1em;
}

.aprobadas  {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.enlaces {
    margin-block-end: 1rem;
}

h3 {
    font-weight: normal;
    font-size: 1.3rem;
    margin-bottom: -.5rem;
}


.equipo .alumnas  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: min ( 10rem, 95%);
    padding-inline: .125em;
}


.alumnas .alumna  {
    align-items: center;
    text-align: center;
    width: min( 10rem, 100%);
    padding-inline: .125em;
}
.academicos h2{
    border-top: 2px solid var(--color-5);
    padding-top: 1rem;
}
.especificidades {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
    width: min ( 10rem, 95%);
    padding-inline: .125em;
    }

.especificidades .fadu img {
    width: 90%;
}

.especificidades .fadu .datos {
    border-bottom: 2px solid var(--color-5);
    padding-bottom: 3rem;
}
}