.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* anchor absolute nav directly under header */
  background-color: var(--color-surface);
  padding: 1rem;
  z-index: -1;
}

.footer .icon {
  font-size: 2.5rem;
}

.footer a {
  text-decoration: none;
  white-space: nowrap;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    gap: 1rem;
  }
}