footer {
  background-image: url(/_resources/images/patterns/img-bg-1.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--primary-color);
  color: var(--white);
}

footer .footer-container {
  background-image: url('/_resources/images/patterns/rectangle-pattern.png');
  background-position: center;
  background-size: contain;
  background-repeat: repeat;
  padding-top: 40px;
  padding-bottom: 40px;
}

footer a {
  color: var(--white);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-sm);
}

footer a:hover,
footer a:focus,
footer a:active {
  color: var(--secondary-color) !important;
}

.footer-social {
  padding-left: 0;
  list-style: none;
  margin: 20px 0;
}

.footer-social li {
  display: inline-block;
  margin: 0 10px;
}

.footer-social li a {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900;
  color: var(--white);
  font-size: 30px;
  width: 40px;
  height: 40px;
  line-height: 40px;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

footer .logo {
  display: block;
  margin-bottom: 34px;
}

footer .list-unstyled li {
  margin-bottom: 10px;
}

footer .copyright {
  background-color: var(--white);
  color: var(--hilite-color);
  border-top: 11px solid var(--secondary-color);
  text-align: center;
  font-weight: 500;
  padding-top: 26px;
  padding-bottom: 26px;
}

footer .copyright a {
  color: var(--hilite-color);
}

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

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

  footer img {
    margin: 0 auto;
  }

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

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

  .footer-social li a {
    font-size: 22px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }

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

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

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

  footer img {
    margin: 0 auto;
  }

  .footer-social {
    display: block;
    text-align: center;
  }

  .footer-post img {
    max-width: 80%;
  }
}