footer {
  width: 100%;
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 350px));
  gap: 2rem;
  justify-content: space-around;
  padding: 4rem 1rem;
}

@media (max-width: 1170px) and (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-grid section h3 {
  margin-bottom: 1rem;
}
.footer-logo {
  width: 100%;
  object-fit: contain;
}
.footer__institutional {
  font-weight: 300;
}
.footer__linkografia,
.footer__institutional {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.5rem;
}
.footer-links a {
  font-weight: 300;
  color: var(--color-white);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-quaternary);
}
.footer-social {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}
.footer-social__list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 2rem;
}
@media (max-width: 719px) {
  .footer-social {
    display: flex;
    flex-direction: column;
  }
}
.bg-black {
  background-color: #111;
  padding: 2rem 0;
}
.footer__contacto {
  color: var(--color-white);
  transition: all 0.3s ease;
}
.footer__contacto:hover {
  color: var(--color-quaternary);
}
.footer-social__list a {
  color: var(--color-white);
  transition: all 0.3s ease;
  font-size: 2rem;
}
.footer-social__list a:hover {
  color: var(--color-quaternary);
}

@media (max-width: 768px) {
  .footer__linkografia,
  .footer__institutional {
    display: block;
  }
  .footer-grid {
    justify-content: start;
  }
}
