* {
  box-sizing: border-box;
}

body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: rgb(14, 20, 50);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

header {
  background-color: rgba(168, 185, 203, 0.664);
  padding: 1em 1em 0.5em; /* top:1em, sides:1em, bottom:0.5em */
}

header nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  padding: 0;
  margin: 0 auto;
  width: min(75rem, 100%);
}

header nav li {
  list-style: none;
  margin-block: 1.5em;
}

header nav li a {
  background-color: rgb(255, 255, 255);
  color: rgb(14, 20, 50);
  padding: 0.5em;
  border-radius: 12%;
  border: solid 0.20em rgb(14, 20, 50);
  text-decoration: none;
}

header nav li a:hover {
  background-color: rgb(14, 20, 50);
  color: rgb(255, 255, 255);
  border: solid 0.20em rgb(255, 255, 255);
}

header nav a:focus-visible {
  background-color: hsl(0 0% 100%);
}

h1 {
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: 2em;
  margin-top: 0; 
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
  color: antiquewhite;
  width: min(75rem, 100%);
}

h2 {
  color: rgb(255, 255, 255);
}

h3, h4 {
  color: rgb(245, 242, 242);
}

#titulocecilia {
  font-size: 1.5em;
}

a {
  text-decoration: none;
  color: hsl(30, 4%, 20%);
  font-weight: bold;
}

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

footer {
  background-color: rgb(0, 0, 0);
  padding-block: 2rem;
}

footer p {
  color: rgb(255, 255, 255);
  margin-block: 0;
  text-align: center;
}

section {
  margin-inline: auto;
  width: min(75rem, 100%);
}

section h1, section h2 {
  border-block-end: 4px solid hsla(0, 0%, 100%, 0.87);
  background-color: hsla(0, 0%, 0%, 0.89);
  padding: 1rem;
  margin: 0;
}

.contenedora {
  background-color: hsla(0, 0%, 9%, 0.89);
  padding: 2em;
  border-radius: 3%;
  margin-block: 2rem;
  margin-inline: auto;
  width: min(75rem, 95%);
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.contenedora div {
  margin-block-end: 2em;
}

.contenedora img {
  max-width: 100%;
  width: 15em;
  aspect-ratio: 1;
  object-fit: contain;
  background-color: hsla(240, 52%, 64%, 0.63);
  padding: .10rem;
  border-radius: .28rem;
  box-shadow: 0 3px 3px transparent;
  transition: box-shadow .9s ease;
}

article figure {
  display: flex;
  justify-content: center;
  margin-block-end: 1em;
}

figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1em auto;
  width: 100%;
}

figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.equipo {
  padding: 1em;
  margin-inline: auto;
  width: min(75rem, 95%);
}

.equipo img {
  border: solid .4em rgb(14, 20, 50);
  box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);
  width: 8em;
  aspect-ratio: 1;
  border-radius: 50%;
}

.equipo_textos {
  margin-block-start: 0;
}

.equipo_textos a {
  background-color: rgb(14, 20, 50);
  border-radius: .25rem;
  color: hsl(222, 16%, 85%);
  padding-block: .25em;
  padding-inline: 2em;
}

.equipo_textos a:focus-visible {
  color: whitesmoke;
  background-color: hsl(34, 33%, 96%);
}

.equipo_textos a::after {
  font-size: .7em;
}

.academicos {
  border-radius: 2%;
  margin-inline: auto;
  width: min(75rem, 95%);
}

.rotuloequipo {
  background-color: rgba(0, 0, 0, 0.806);
  color: rgb(255, 255, 255);
  padding: 0.5em;
  border-radius: 12%;
  text-decoration: none;
}

.rotuloequipo:hover {
  background-color: rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.806);
  border: solid 0.20em rgba(0, 0, 0, 0.806);
}

.listado {
  margin: 2em auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(75rem, 100%);
}

.margenmapa {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-inline: auto;
  width: min(75rem, 95%);
}

.imagendecorativa {
  background-image: url('../imagenes/cine liberacion.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
  height: 300px;
  width: 100vw; 
  margin: 0;
  padding: 0;
  max-width: 100%;
  position: relative; 
}
p{
 text-align: left;
 padding-inline: 1em;
}
.contenedora p{
 text-align: center;
}
.texto-superpuesto {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.8em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}