#footer {
  width: 90%;
  max-width: 1440px;
  position: relative;
  z-index: 0;
  margin: 0 auto;
}

#footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 112px 64px 0;
}

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

#footer .footer-content .footer-menu {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 64px;
  width: 100%;
}

#footer .footer-content .footer-menu li {
  flex: 0 1 260px;
}

#footer .footer-content .footer-menu-title {
  color: var(--subtle);
  font-size: 14px;
  font-weight: 400;
}

#footer .footer-content .footer-menu-links li {
  margin: 23px 0 0;
}

#footer .footer-content .footer-menu-links a {
  font-size: 18px;
  line-height: 1.5;
  display: block;
  transition: color 0.3s;
}

#footer .footer-content .footer-menu-links a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  #footer .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  #footer .footer-content {
    gap: 32px;
  }

  #footer .footer-content .footer-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footer .footer-content .footer-menu li {
    text-align: center;
    flex: 1 1 100%;
  }
}

#footer .footer-bottom {
  border-top: 1px solid #131313;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
}

#footer .footer-bottom .footer-copyright-terms ul {
  color: var(--subtle);
  font-size: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

#footer .footer-bottom .footer-copyright-terms ul li a {
  color: var(--subtle);
  font-size: 14px;
  transition: color 0.3s;
}

#footer .footer-bottom .footer-copyright-terms ul li a:hover {
  color: var(--accent);
}

#footer .footer-bottom .footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

#footer .footer-bottom .footer-socials a {
  display: block;
  width: 32px;
  height: 32px;
}

#footer .footer-bottom .footer-socials a img {
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

#footer .footer-bottom .footer-socials a:hover img {
  opacity: 0.5;
}
