#footer-anchor {
  width: 100%;
  height: 200px;
  background-color: black;
  padding-top: 10px;
  overflow: hidden;
}

#footer-div {
  width: 90%;
  max-width: 1400px;
  margin: 10px auto 0;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.footer-group {
  display: inline-block;
  width: calc(20%-5px);
  vertical-align: top;
  text-align: left;
  margin-left: 5px;
}

footer h6 {
  color: white;
  margin: 10px 0;
  font-size: min(14px, 2vw);
  text-decoration: underline;
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  line-height: 1em;
}

.footer-group ul li {
  color: white;
  font-size: 10px;
  line-height: 1;
  margin-bottom: 5px;
}

.footer-group a {
  color: white;
  font-size: 12px;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.footer-group a h6:hover,
.footer-group a:hover {
  color: #cdea00;
}

#footer-header {
  width: 100%;
  background-color: black;
  display: flex;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 0;
}

#footer-header table {
  max-width: 1400px;
  margin: 0 auto;
}

#footer-header table th,
#footer-header table tbody tr td {
  width: 33%;
}

@media screen and (max-width: 800px) {
  #footer-anchor {
    height: auto;
  }

  #footer-div {
    flex-wrap: wrap;
  }

  .footer-group {
    display: block;
    width: 90%;
    max-width: 430px;
    border: solid 1px white;
    padding: 5px;
    margin: 0 auto;
  }

  .footer-group h6::after {
    content: " \21E3";
  }

  .footer-group:first-of-type {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .footer-group:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .footer-group:not(:last-of-type) {
    border-bottom: none;
  }

  .footer-group:hover {
    cursor: pointer;
  }

  .footer-group h6 {
    text-align: center;
    font-size: 12px;
    text-decoration: none;
  }

  .footer-group:hover > h6 {
    color: #cdea00;
  }

  .footer-group a {
    font-size: 10;
  }

  .footer-group ul {
    margin-left: 5px;
    text-align: center;
    display: none;
  }

  .footer-group ul.show {
    display: block;
  }
}
