@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap");

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  font-family: "DM Sans";
  color: #252525;
  margin: 0;
  background: white;
  background-image: radial-gradient(#0002 1px, transparent 0);
  background-size: 30px 30px;
  background-position: -15px -15px;
}
a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Serif Display";
}

header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--white);
  z-index: 999;
  background-color: var(--black);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #252525;
  color: white;
}

nav {
  justify-self: end;
}

header img {
  height: 3rem;
  width: auto;
  justify-self: start;
  background-color: white;
  margin: 1rem;
}

header ul {
  display: grid;
  grid-auto-flow: column;
  gap: 5rem;
  list-style: none;
  padding: 0;
  margin: 1rem;
}

header ul li a {
  text-decoration: none;
  color: var(--white);
  text-transform: uppercase;
}

header ul li a:hover {
  text-decoration: underline;
}

main {
  margin-top: 6rem;
}
@media (max-width: 65rem) {
  header {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
  }

  header img {
    height: 4rem;
    justify-self: center;
  }
  main {
    margin-top: 18rem;
  }
  header ul {
    grid-auto-flow: row;
    justify-items: center;
    gap: 1rem;
  }

  nav {
    justify-self: center;
  }
}

.contenedora {
  margin: 2rem;
  width: min(75rem, calc(100% - 3rem));
  margin-inline: auto;
}

.comitente h1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  font-size: 2rem;
}

.comitente h1 img {
  height: 5rem;
  margin: 1rem 0;
}

footer {
  background-color: #222222;
  color: white;
  box-shadow: #0002 4px 4px 8px;
  padding: 2rem;
}
footer p {
  width: min(65rem, calc(100% - 3rem));
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.equipo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}
.equipo article {
  align-items: center;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #222222;
  box-shadow: #0002 4px 4px 8px;
  color: white;
  margin: 2rem 0;
  border-radius: 2rem;
}
.equipo article img {
  width: 40%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin: 1rem;
  border-radius: 1rem;
}

.equipo article div {
  margin: 0.5rem;
  text-wrap: balance;
}

.academicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}

.prototipo {
  columns: 300px;
}
