/* #region footer */
.footer {
  padding: 90px 0;
  background-color: var(--dark);
  background-image: url(../img/footer-desk-dark@1x.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}
@media (min-resolution: 192dpi) {
  .footer {
    background-image: url(../img/footer-desk-dark@2x.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
  }
}
.footer-container {
  max-width: 375px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}


footer .logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  transition: 0.5s;
}
.logo-footer {
  text-align: center;
  margin-bottom: 16px;
}
footer .logo:hover {
  transform: scale(1.2);
}

footer .logo .logo-link {
  color: var(--lightgrey);
}
.text-footer {
  color: var(--lightgrey);
  text-align: center;
}
.text-box {
  margin-bottom: 44px;
}
.title-footer {
  color: var(--lightgrey);
  font-size: 20px;
  margin-bottom: 26px;
  text-align: center;
}
.footer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 6px;
  margin-bottom: 32px;
}

.footer-list-item {
  border: 1px solid #fafafa;
  border-radius: 60px;
  padding: 8px 13px;
  letter-spacing: -0.02em;
}
.footer-list-item:hover {
  background-color: var(--bg-acc);
  color: #fafafa;
  border: none;
}
.footer-link {
  font-size: 14px;
  color: #fafafa;
}

.items-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--lightgrey);
  background-color: var(--dark);
  transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-contacts {
  color: var(--lightgrey);
  margin-bottom: 26px;
  text-align: center;
  font-size: 18px;
}
.contacts-link {
  color: var(--lightgrey);
}
.contacts-items {
  margin-bottom: 14px;
}
.footer-down {
  border-top: 3px solid var(--lightgrey);
  margin: 0;
}
.icons-social {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.logo-link-footer {
  text-transform: uppercase;
  padding: 0 2px;
}
.container-down {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacts-down {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-size: 10px;
}
.down {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.copyright {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  justify-content: flex-start;
  color: var(--lightgrey);
  font-size: 10px;
}
.contacts-down-link {
  margin-right: 4px;
  color: var(--lightgrey);
}
.contacts-down-link-two {
  color: var(--lightgrey);
}

@media (min-width: 540px) and (max-width: 767px) {
  .footer-list {
    justify-content: center;
  }
  .footer-down {
    margin: 0;
  }
}
@media screen and (min-width: 768px) {
  .container-footer {
    max-width: 1024px;
    padding: 0 36px;
    margin: 0 auto;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
    gap: 24px;
  }
  .logo-footer {
    margin-bottom: 24px;
    text-align: left;
  }
  .footer-first {
    display: flex;
    flex-direction: column;
  }
  .text-footer {
    text-align: start;
  }
  .form-subscribe {
    align-items: start;
    justify-content: start;
  }

  .form-button {
    margin-left: 0;
  }

  .title-footer {
    text-align: start;
  }
  .contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
  }
  .social-list {
    align-items: start;
    justify-content: start;
  }
  .contacts-link {
    color: var(--lightgrey);
  }
  .footer-contacts {
    text-align: left;
  }
  .footer-down {
    margin: 0;
  }
}
@media screen and (min-width: 1180px) {
  .container-footer {
    max-width: 1180px;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 42px;
  }
}
@media screen and (min-width: 1440px) {
  .footer {
    padding: 90px 0;
  }
  .container-footer {
    max-width: 1440px;
    display: flex;
    padding: 0 110px;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
  }
  .container-down {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 110px;
  }

  .copyright {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    color: var(--lightgrey);
    font-size: 12px;
    line-height: 14px;
  }
  .contacts-down {
    flex-direction: row;
    padding-right: 110px;
  }
  .contacts-down-link {
    margin-right: 4px;
  }
}
