#footer {
  padding: 5%;
  clear: both;
  background: url(https://harmreduction.org/wp-content/uploads/2020/07/specks.png);
  background-color: white;
}

#footer ul {
  list-style-type: none;
  text-align: left;
}

.footer-inner {
  max-width: 80vw;
  margin: 0 auto;
  padding-bottom: 5vw;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}

.footer-addr {
  flex: 1;
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-addr p:first-of-type {
  color: black;
  font-size: 1.4rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.social-logo {
  width: 50px;
  height: 50px;
}

.social-yt {
  width: 60px;
  height: 50px;
}

.footer-mainlinks {
  max-width: 50vw;
  margin: 0 auto;
  padding-top: 2vw;
}

.footer-mainlinks ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-mainlinks a,
.footer-links a {
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 2px solid #68d443;
  color: #000;
  font-weight: 700;
  padding-bottom: 3px;
}

.footer-mainlinks a {
  font-size: 1.3rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding-top: 2vw;
}

.footer-link {
  background-color: white;
}

.footer-link > a:first-of-type {
  font-size: 1.3rem;
  font-weight: bold;
  color: black;
  border: none;
}

.footer-link > a:first-of-type:hover {
  color: #68d443;
  border: none;
}

.footer-link li {
  margin: 0.5rem 0;
}

.footer-li-pad {
  padding-left: 1rem;
}

.footer-mainlinks a:hover,
.footer-links a:hover {
  border-bottom: 2px solid #000;
}

@media (max-width: 480px) {
  #footer {
    padding: 10%;
  }
}

@media (max-width: 900px) {
  #footer {
    text-align: center;
    padding: 20px;
  }

  .footer-info {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    padding: 1rem 0.25rem;
    gap: 1rem;
  }

  .footer-mainlinks {
    max-width: 100vw;
    margin: 0 auto;
    margin: 1rem 0;
  }

  .footer-mainlinks ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 1rem;
  }

  .footer-link > ul > li {
    margin: 1rem 0;
    text-align: center;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  #footer {
    padding: 0;
  }

  .footer-inner {
    max-width: 90vw;
    margin: 0 auto;
  }
}

@media (min-width: 950px) {
  .footer-inner {
    max-width: 85vw;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    max-width: 80vw;
    margin: 0 auto;
  }
}
