@charset "utf-8";

* {box-sizing: border-box;}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    color: #153448;
    background-color: #dfd0b8;
  }

p,li {
    text-wrap: pretty;
  }

h1,
h2 {
    color: #153448;
    line-height: 1.1;
    text-wrap: balance;
  }

  h3,
  h4,
  h5 {
      color: #dfd0b8;
      line-height: 1.1;
      text-wrap: balance;
    }

img {
    max-width: 100%;
  }

a {
    text-decoration: none;
    color: #153448;
    font-weight: bold;
  }
  
ul,
ol {
    list-style: none;
    padding: 0;
  }

.contenedora {
    max-width: 70rem;
    margin-inline: auto;
    padding: 1rem;
  }

header,
footer {
    background-color: #153448;
    color: #dfd0b8;
  }  

header {
    box-shadow:
      0
      4px
      4px
      #948979
  }
  
  #logodgpc {
    display: block;
    border-radius: .5rem;
    width: 6rem;
    padding: .25rem .5rem;
    background-color: #dfd0b8 ;
}

header nav ul {
    margin-block: 0;
  }

header nav a {
    color: #dfd0b8;
    background-color: #3C5B6F;
    display: block;
    width: 6em;
    padding-block: 0.25em .5em;
    border-radius: 100vw;
    text-align: center;
    outline: solid 2px #dfd0b8;
}

header nav a:hover,
header nav a:focus-visible,

.index nav li:first-of-type a,
.plan nav li:nth-of-type(2) a,
.mapa nav li:nth-of-type(3) a {
  background-color: #dfd0b8;
  color: #153448;
  outline: none;
}

section.contenedora {
    padding-block: 1em;
  }

.titulo {
    border-block-end: 4px solid #153448;
    padding-block-end: .35rem;
    text-align: none;
  }

.equipo article {
    background-color: #3C5B6F;
    margin-block: .6em;
    padding: 2em;
    border-radius: .25em;
  }
  
.equipo img {
    width: 10em;
    aspect-ratio: 1;
    border: solid .3em #dfd0b8;
    border-radius: 50%;
    box-shadow: 0 4px 4px hsl(0 0% 0% / 20%);
  }

 .equipo_textos a {
    margin-inline-start: auto;
}

.equipo_textos a {
    background-color: #dfd0b8;
    border-radius: 100vw;
    color: #153448;
    font-size: .85em;
    padding-block: .125em .25em;
    padding-inline: 1em .75em;
}

.equipo_textos a::after {
    content: " 🡆";
  }

.equipo_textos a:hover,
.equipo_textos a:focus-visible {
    color: #dfd0b8;
    background-color: #948979;
    outline: none;
  }

.academicos > ul > li
{
    border-bottom: solid 2px #3C5B6F;
    padding-block-end: 1.5em;
    margin-block-end: 1.5em;
  }
.academicos img {
    display: block;
    width: 8em;
    aspect-ratio: 1;
    object-fit: contain;
    background-color: #948979;
    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 #3C5B6F;
    transition: box-shadow .1s ease;
  }

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

body {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr;
  }

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

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

.contenedora figure {
    float: left;
  }

.equipo article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1rem;
    margin-block: .5em;
    padding: 1em;
  }

  .equipo_equipo article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1rem; 
  }

  .equipotextos {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 1.25em;
  }

  .equipotextos > * {
    margin: 0;  
  }

  .equipotextos a {
    margin-inline-start: auto;
  }

  .tituloAcademicos > ul {
    gap: 1em;
  }

  .tituloAcademicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
  }

  .titulosAcademicos h2 {
    margin-block-start: 0;
  }
