.footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.settings,
.copyright,
.social {
  flex: 1;
}

.settings {
  justify-content: center;
}

.social {
  justify-content: flex-end;
}

.copyright {
  font-size: 80%;
  padding: 0.5rem 0;
}

.settings,
.social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.action {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  padding: 0.25rem;
  transition: color 250ms ease-out;
}

.footer .darkModeToggle {
  width: 1.75em;
  height: 1.75em;
}

.action:hover {
  transition: color 50ms ease-out;
}

.twitter:hover {
  color: #2795e9;
}

.github:hover {
  color: #c9510c;
}

@media only screen and (max-width: 500px) {
  .footer {
    flex-direction: column;
  }

  .footer .settings {
    justify-content: center;
    order: 1;
  }

  .footer .social {
    justify-content: center;
    order: 2;
  }

  .footer .copyright {
    justify-content: center;
    order: 3;
  }
}
