footer {
  background-color: $dark;
  color: $text-light;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row;
  padding-inline: 8rem;
  padding-block: 3.5rem;
  font-size: 1rem;
  gap: 2rem;

  h4 {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .footer-logo {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0.81rem;

    img {
      width: 5.125rem;
      height: 5.125rem;
    }
    h4 {
      text-align: center;
      font-size: 2.1875rem;
      font-weight: 800;
      line-height: normal;
    }
  }
  .copyright {
    display: grid;
    grid-template-columns: 1fr;
    place-self: start center;

    span:nth-of-type(2) {
      margin-bottom: 1.25rem;
    }
  }
}

@media screen and (max-width: 1024px) {
  footer {
    padding: 4rem;
  }
}

@media screen and (max-width: 768px) {
  footer {
    padding: 4rem;
    grid-template-columns: repeat(2, 1fr);

    .footer-logo {
      display: grid;
      place-items: start;
    }
  }
}

@media screen and (max-width: 480px) {
  footer {
    grid-template-columns: repeat(1, 1fr);
    font-size: 1.25rem;
    row-gap: 3rem;

    h4 {
      font-size: 1.75rem;
      margin-bottom: 0;
    }

    .footer-logo {
      place-items: center;
      h4 {
        font-size: 3rem;
      }
    }

    .copyright {
      font-size: 1rem;
    }
  }
}
