footer {
  background: #483400;
}

footer ._wrapper {
  padding: 60px;
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 70px;
  align-items: end;
}

.footer-subsection:first-child {
  flex: 2;
}

.footer-subsection:last-child {
  display: flex;
  flex: 1;
  height: 100%;
  justify-content: end;
}

.footer-subsection h3 {
  margin-bottom: 45px;
  font-family: "Raleway";
  text-transform: uppercase;
}

.footer-subsection p {
  font-size: 1.2rem;
  line-height: 1.7;
  font-family: "Lato";
}

.footer-subsection li {
  line-height: 2;
}

.footer-subsection li a {
  font-family: "Raleway";
  font-weight: 400;
}

.footer-subsection li a:hover {
  color: var(--main-color);
}

.footer-subsection li a:active {
  color: #af8000;
}

@media (max-width: 1200px) {
  .footer-subsection:first-child {
    flex: 3;
  }
}

@media (max-width: 1000px) {
  footer ._wrapper {
    max-width: 800px;
  }
}

@media (max-width: 630px) {
  footer ._wrapper {
    padding: 55px 40px 75px 40px;
    flex-direction: column;
    gap: 50px;
  }

  .footer-subsection h3 {
    margin-bottom: 15px;
  }

  .footer-subsection:last-child {
    justify-content: center;
    width: 100%;
  }

  .footer-subsection:last-child ul {
    display: flex;
    width: 100%;

    align-items: center;
    justify-content: space-around;
  }
}
