.github-footer {
  display: flex;
  flex-direction: column;
  background-color: var(--gray2);
}
.github-footer .top-footer .width-constraint,
.github-footer .bottom-footer .width-constraint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 32px;
}
.github-footer .top-footer {
  border-top: 1px solid var(--gray4);
}
.github-footer .top-footer .footer-logo-link img {
  transform: scale(0.8);
}
.github-footer .top-footer .footer-logo-link:focus, .github-footer .top-footer .footer-logo-link:active {
  outline: 2px solid var(--focus-color) !important;
  border-radius: 3px;
}
.github-footer .top-footer .footer-social-media {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.github-footer .top-footer .footer-social-media .footer-social-link:focus, .github-footer .top-footer .footer-social-media .footer-social-link:active {
  outline: 2px solid var(--focus-color) !important;
  border-radius: 3px;
}
.github-footer hr {
  margin: 0;
  border-top: 1px solid var(--gray4);
}
.github-footer .bottom-footer .sub-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.github-footer .bottom-footer a {
  color: var(--gray5);
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: border var(--smooth-transition);
}
.github-footer .bottom-footer a:hover {
  border-bottom: 1px solid var(--gray5);
}
.github-footer .bottom-footer a:focus, .github-footer .bottom-footer a:focus-visible {
  outline: 2px solid var(--focus-color) !important;
  border-radius: 3px;
  padding-top: 8px;
}
.github-footer .bottom-footer p {
  color: var(--gray5);
}

@media (max-width: 900px) {
  .github-footer .top-footer .width-constraint {
    flex-direction: column;
    gap: 24px;
  }
  .github-footer .bottom-footer .width-constraint {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
  }
  .github-footer .bottom-footer .sub-footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
