footer {
  background-color: var(--secondary-font-color);
  padding-top: 69px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  flex-direction: column;
}

footer .footer-columns {
  display: flex;
  max-width: 1120px;
  width: 100%;
  color: #fff;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
}

footer .footer-columns .item {
  margin-right: -6px;
  width: 20%;
}

footer .footer-columns .item p {
  color: var(--primary-font-color);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  padding-bottom: 18px;
}

footer .footer-columns .item ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

footer .footer-columns .item ul:nth-of-type(2),
footer .footer-columns .item ul:nth-of-type(3) {
  margin-top: 23px;
}

footer .footer-columns .item ul li {
  line-height: 130%;
  padding-bottom: 12px;
}

footer .footer-columns .item ul li a,
footer .footer-columns .item ul li {
  color: #fff;
  font-weight: normal;
  font-size: 13px;
  text-decoration: none;
}

footer .footer-columns .item ul li a:hover {
  text-decoration: underline;
}

footer .main-footer-box {
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
  justify-content: center;
}

footer .sub-footer {
  margin-top: 68px;
  background-color: var(--dark-footer-color);
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
  justify-content: center;
  padding: 18px 0;
}

footer .sub-footer .sub-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}

footer .sub-footer .sub-wrapper div {
  color: #fff;
  font-size: 14px;
}

footer .sub-footer .sub-wrapper div.social a i {
  color: var(--primary-font-color);
  font-size: 16px;
  margin-left: 25px;
}

@media only screen and (max-width: 1024px) {
  footer .main-footer-box,
  footer .sub-footer .sub-wrapper {
    padding: 0 24px;
    width: calc(100% - 48px);
  }

  footer .sub-footer {
    margin-top: 30px;
  }

  footer .footer-columns .item {
    margin-right: 5px;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  footer {
    padding-top: 0;
  }

  footer .footer-columns {
    flex-direction: column;
  }

  footer .footer-columns .item {
    margin-top: 30px;
  }
}

@media only screen and (min-width: 1025px) {
  .footer-columns,
  footer .sub-footer .sub-wrapper {
    padding: 0 5px;
  }
}
