.footer {
  background-color: var(--color-05);
  color: var(--color-01);
  padding: 30px 0;
  /* This makes the footer on the bottom regardless of content space */
  margin-top: auto;
}

/*
┌───
│ Footer Top
└─
*/
.footer-top {
  padding: 20px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--color-01);
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: var(--color-02);
}

/*
┌───
│ Social Links
└─
*/

.section {
  display: flex;
  justify-content: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.social-links a {
  color: var(--color-01);
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--color-02);
  transform: translateY(-3px);
}


/*
┌───
│ Footer Bottom
└─
*/

.footer-bottom {
  display: flex;
  justify-content: space-evenly;
  padding: 20px 0;
  border-top: 1px solid var(--color-04);
}

.copyright {
  font-size: 14px;
  color: var(--color-02);
}

.legal {
  display: flex;
  gap: 20px;
}

.legal a {
  color: var(--color-01);
  text-decoration: none;
  font-size: 14px;
}

.legal a:hover {
  color: var(--color-02);
}

/* Tablet */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer {
    padding: 20px 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .social-links {
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
  }

  .legal {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}