@import "colors.css";

footer {
  font-family: Helvetica, sans-serif;
  background: var(--footer-bg);
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 0.5rem; /* separator: remove before flight */
  padding: 1em 0 0.5em 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-left: 20vw;
  margin-right: 20vw;
  gap: 5vw;
  padding-bottom: 1.5em;

}

.footer-content h1, 
.footer-content h2, 
.footer-content h3 {
  font-family: Helvetica;
}

.footer-column {
  color: var(--primary);
  flex: 1;
}

.footer-column h3 {
    margin: 0.7em 0.7em 0 0;
}

.footer-list {
  list-style-type: none;
  margin: 0.7em 0.7em 0 0;
  padding: 0;
}

.footer-list > li + li {
  margin-top: 0.5em;
}

a.footer-link {
  color: var(--footer-link);
  text-decoration: none;
}

a.footer-link:hover {
  text-decoration: underline;
}

hr {
  border: 0;
  height: 2px;
  border-top: 2px solid var(--footer-accent);
  width: 60vw;
}

.copyright-text {
  color: var(--footer-accent);
  font-size: 10pt;
  margin-left: 20vw;
}

.footer-icon {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(334deg) brightness(100%) contrast(104%);
  transform: translateY(20%);
  height: 1em;
}

@media only screen and (max-width: 937px) {
  footer {
    padding: 1.5em 0 0.5em 0;
  }

  .footer-content {
    margin-left: 8vw;
    margin-right: 8vw;
    flex-direction: column;
  }

  .footer-column + .footer-column > .footer-list {
    padding-bottom: 10%;
  }

  .footer-column {
    max-width: 60%;
  }

  hr {
    width: 84vw;
  }

  .copyright-text {
    margin-left: 8vw;
  }
}

@media only screen and (max-width: 602px) {
  .footer-content {
    margin-left: 5vw;
    margin-right: 5vw;
  }

  .footer-column {
    max-width: 80%;
  }

  hr {
    width: 90vw;
  }

  .copyright-text {
    margin-left: 5vw;
  }
}

@media only screen and (max-width: 444px) {
  .footer-column {
    max-width: 90%;
  }
}