.footer-copyright {
    font-family: var(--footer-copyright-font);
    font-size: var(--footer-copyright-size);
}

.footer-link {
    font-family: var(--footer-link-font);
    font-size: var(--footer-link-size);
}

.footer {
  min-height: 150px;
  padding: 25px 6%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
}
.footer-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.footer-socials a {
  display: block;
  width: 32px;
  height: 32px;
  text-decoration: none;
}
.footer-socials svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}
.footer-links a {
  text-decoration: none;
}
.footer-copyright {
  text-align: center;
}
.footer-text {
  max-width: 260px;
  text-align: right;
  white-space: normal;
}
@media (max-width: 1078px) {
  .footer {
    height: calc(25vh - 54px); 
    min-height: calc(25vh - 54px);
    padding: 22px 18px;
  }
  .footer-centre {
    gap: 9px;
  }
  .footer-socials {
    gap: 12px;
  }
  .footer-socials a {
    width: 26px;
    height: 26px;
  }
  .footer-links {
    gap: 9px;
    flex-wrap: wrap;
  }

  .footer-text {
    max-width: 110px;
  }
}

/* Opaque footer surface keeps fixed page backgrounds from showing through. */
.footer { background-color: #171116; }
