footer {
  padding: 40px 0 0 0;
  background-color: var(--white);
  color: var(--primary-color);
}

footer a {
  transition: 0.2s;
}

footer .footer-links a {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  line-height: 42px;
}

footer .footer-links a:hover,
footer .footer-links a:focus,
footer .footer-links a:active {
  color: black !important;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 100%;
  max-width: 200px;
  align-self: center;
  margin: 10px 0;
}

.footer-social {
  width: fit-content;
  margin: 20px auto 70px auto;
}

.footer-social a {
  display: inline-block;
  color: var(--primary-color);
  font-size: 36px;
  margin: 0 20px;
}

.footer-social a:hover {
  text-decoration: none;
  color: var(--black);
}

.footer-address {
  margin-bottom: 30px;
}

.footer-address p {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
}

.footer-address a {
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
}

.footer-address a:hover,
.footer-address a:focus {
  color: var(--primary-color);
}

footer .copyright {
  background-color: var(--white);
  border-top: 2px solid var(--secondary-color);
  padding: 20px 0;
  font-size: 14px;
  font-weight: 600;
}

footer .copyright a {
  color: var(--primary-color);
  font-size: 14px;
}

/*  tablets and smaller desktops: MD */
@media only screen and (max-width: 992px) {
  footer {
    text-align: center;
  }

  .footer-address {
    text-align: center;
  }

  .footer-logo img {
    margin-bottom: 30px;
  }

  footer .copyright {
    margin-top: 40px;
  }

  .footer-nav {
    text-align: center;
    margin-top: 20px;
  }

  .footer-nav .list-unstyled {
    border-right: none;
  }

  .footer-social {
    display: block;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-social a {
    font-size: 30px;
    margin: 0 10px;
  }

}