footer {
  padding: 24px 61px 32px 61px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/images/footerBackground.svg");
  background-size: cover;
  background-position: center;
  margin-top: 96px;
}

.footerTopHalf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 86vw;
  max-width: 1280px;
}

.footerTopHalf .contacts {
  flex-direction: column;
}

.footerTopHalf .contacts img {
  width: 248px;
  height: 51px;
}

.footerTopHalf .contact {
  display: flex;
  align-items: center;
}

.footerTopHalf .contact img {
  width: 24px;
  height: 24px;
  margin-left: 8px;
}

.footerTopHalf .contacts a,
.footerTopHalf .contacts p {
  color: var(--green-800);
  font-size: 14px;
  text-decoration: none;
}

.footerTopHalf .contacts a:hover {
  text-decoration: underline;
}

.footerTopHalf nav ul {
  max-height: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  list-style-type: none;
  padding-right: 0px;
}

.footerTopHalf nav li {
  width: calc(fit-content + 4px);
}

.footerTopHalf nav li a {
  color: var(--green-800);
  text-decoration: none;
}

.footerTopHalf nav li a:hover {
  color: var(--green-500);
}

.footerBottomHalf {
  margin-top: 16px;
  padding-top: 16px;
  text-align: center;
  width: 86vw;
  max-width: 1280px;
}

.footerBottomHalf p {
  color: var(--green-800);
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 8px;
}

.footerBottomHalf .info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 28px;
}

.footerBottomHalf .socialRights {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footerBottomHalf .socials {
  display: flex;
  align-items: center;
}

.footerBottomHalf .socials p {
  margin: 0px;
  font-size: 18px;
}

.footerBottomHalf .socials a {
  margin: 4px 8px 0px 4px;
}

.footerBottomHalf .socials img {
  width: 22px;
  height: 22px;
}

.footerBottomHalf .rightsReserved p {
  margin: 0px;
  margin-top: 4px;
  font-size: 14px;
}

.developedBy {
  text-align: right;
}

.rightsReservedText span {
  border-left: 1px solid var(--green-800);
  padding-left: 10px;
  width: 33%;
}



.rightsReservedText a:last-child {
  border-right: 1px solid var(--green-800);
  width: 33%;
  padding-right: 10px;
}

.footerBottomHalf .developedBy p {
  font-size: 14px;
  margin-top: 8px;
}

.footerBottomHalf .developedBy img {
  width: 86px;
  height: 20px;
}

.footerLogos a {
  text-decoration: none;
}

.rightsReserved a {
  text-decoration: none;
  padding-right: 4px;
  padding-left: 10px;
  color: var(--green-800);
  width: 33%;
  height: 38px;
  align-content: center;
}

.rightsReserved a:hover {
  color: var(--green-500);
}

.separator {
  margin-right: 10px;
  margin-left: 10px;
}

@media (max-width: 800px) {

  .footerTopHalf {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footerTopHalf .contacts {
    align-self: flex-start;
  }

  .footerTopHalf nav li a {
    font-size: 14px;
  }

  .footerBottomHalf .info {
    flex-direction: column;
    align-items: center;
  }

  .footerBottomHalf .socials {
    align-self: center;
  }

  .developedBy {
    text-align: center;
  }

  .rightsReserved {
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .footerTopHalf .contacts img {
    width: 143px;
    height: 30px;
  }

  .footerTopHalf nav ul {
    gap: 24px;
  }

  .footerBottomHalf p {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .footerBottomHalf .rightsReserved p {
    font-size: 12px;
  }

  .rightsReservedText {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .rightsReservedText span {
    border-left: 1px solid var(--green-800);
    padding-left: 10px;
    width: 33%;
  }


  .rightsReservedText a {
    padding-left: 6px;
    width: 33%;
    height: 38px;
    align-content: center;
  }

  .rightsReservedText a:last-child {
    border-right: 1px solid var(--green-800);
    width: 33%;
  }

}