footer {
  display: grid;
  padding: 1rem;
  max-width: 75rem;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(#262626, var(--color-key));
  border-radius: 1rem;
  color: var(--color-light);
  font-weight: 300;
  width: calc(100% - 2rem);
}

.footer-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

footer form {
  align-items: flex-start;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

footer .footer-content nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

.footer-content nav a {
  width: auto;
}

.footer-legal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / 4;
}

.footer-legal-menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  list-style: none;
  gap: 1rem;
  padding: 0;
}

@media (max-width: 800px) {
  footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-form-wrapper {
    width: 100%;
  }

  .footer-content {
    width: 100%;
  }

  .footer-legal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-legal-menu {
    flex-direction: column;
  }
}
