* {
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    color: hsl(0 0% 30%);
    background-color: #fbfbfb;
}

h1,
h2,
h3,
h4{
    color: #DB3238;
    line-height: 1.1;
}

h2{
    border-block-end: 4px solid hsl(209, 69%, 91%);
    padding-block-end: .35rem;
}

img {
    max-width: 100%;
}

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

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

.contenedora {
    max-width: 65rem;
    margin-inline: auto;
    padding: 3rem;
}

.anteriores{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    max-width: 65rem;
    margin-inline: auto;
    padding: 3rem;
}

.anteriores li{
    font-size:small;
    margin-bottom: 15px;
}

.anteriores h3{
    margin-top: 40px;
}

.navegador{
    font-weight: bolder;
}

.quinto{
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    border-radius: 2rem;
    box-shadow: 0 0 1.5rem #2e2e2e3f;
    padding: 2rem 0;
}

.quinto p{
    font-size:small;
}

.pav{
    padding: 1.5px;
    border-right: solid 1px #5151513f;
}
.programacion{
    padding: 1.5px;
    border-right: solid 1px #5151513f;
}

footer {
    background-color: hsl(209, 69%, 91%);
    color: hsl(0 0% 30%);
}

header {
    background-color: #fbfbfb;
    box-shadow: 0 10px 20px hsl(0 0% 0% / 20%);
}


#logo a {
    font-family: 'Ubuntu', sans-serif;
    font-size: 4rem;
    font-weight: bolder;
}

.menu-btn {
    background-color: #DB3238;
    border: none;
    outline: none;
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 50%;
    cursor: pointer;
}

.menu-btn .btn-linea {
    width: 1.5em;
    height: 3px;
    margin: 4px auto;
    background-color: hsl(0 0% 95%);
    transition: all 0.3s ease-out;
}

header nav ul {
    margin-block: 0;
}

header nav a {
    color: hsl(0 0% 30%);
    display: flex;
    flex-wrap: wrap;
    width: 4em;
    padding-block: 0.25em .5em;
    text-align: center;
}

header nav a:hover,
header nav a:focus-visible {
    color: #DB3238;
}

section {
    padding-block-end: 1rem;
}

.personal{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    align-content: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4em;
    
}

.personal img{
    border-radius: 3em;
    width: 300px;
    box-shadow: 3px 10px 10px rgba(34, 34, 34, 0.3);
}

.equipo img{
    background: hsl(58, 39%, 83%);
    width: 8em;
    aspect-ratio: 1;
    border: solid .25rem #DB3238;
    box-shadow: 0 7px 4px hsl(0 0% 0% / 20%)
}

.academicos > ul > li{
    border-bottom: solid 1px hsl(209, 69%, 91%);
    padding-block-end: 2em;
    margin-block-end: 2em;
}

.academicos img {
    display: flex;
    flex-wrap: wrap;
    width: 8em;
    background-color: white;
    padding: .5rem;
    border-radius: .25rem;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
}

.academicos a:hover img {
    box-shadow: 0 4px 4px hsl(0 0% 0% / 20%);
    transition: box-shadow .3s ease;
}

footer p {
    margin-block-end: 0;
}

body {
    min-height: 100dvh;
    display: grid;

  /* altura de las lÃ­neas
  --> header: la altura de su contenido
  --> main: se estira para ocupar el mayor espacio */
  grid-template-rows: auto 1fr;
}

.menu-btn {
    display: none;
}

header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#logo a {
    display: grid;
    place-items: center;
    padding-block: 0 .125em;
}

header .menu {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.fernando{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
    align-items: center;
    justify-items: center;
}

.carolina{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
    align-items: center;
    justify-items: center;
}

.jazmin{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
    align-items: center;
    justify-items: center;
}

.academicos > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
    gap: 2rem;
    place-items: center
}

.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    align-content: flex-start;
    margin: 0;
}

footer.contenedora {
  display: flex;
  flex-wrap: wrap;
}

footer .contenedora p {
  margin-block: 0;
}

.trabajos {
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    justify-content: start;
}

.analisis a{
    font-weight:lighter;
}