.footer {
  font-family: "Raleway", sans-serif;
  background-color: #645d56;
}

.footer__block {
  text-decoration: line-through;
}

.footer__container {
  padding-top: 17px;
  padding-bottom: 42px;
  border-top: 1px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__phone {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer__phone:hover {
  color: #e0e0db;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: nowrap;
}

.footer__social-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer__social-link:hover {
  color: #e0e0db;
}

.footer__social-link svg {
  width: 28px;
  height: 28px;
}
.footer__navigation {
  justify-self: center;
}

.footer__developers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  line-height: 100%;
}
.footer__developer-link {
  color: rgb(192, 112, 8);
  text-decoration: none;
}
.footer__developer-link:hover {
  text-decoration: underline;
  color: rgb(255, 255, 255);
}
.footer__copyright {
  margin: 0;
  font-size: 12px;
  line-height: 100%;
}

@media (max-width: 767px) {
  .body_desktop_footer {
    display: none !important;
  }
  .footer__container {
    gap: 32px;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__phone {
    font-size: 18px;
  }

  .footer__social {
    gap: 8px;
    margin-top: 6px;
  }

  .footer__social-link {
    width: 28px;
    height: 28px;
  }

  .footer__social-link svg {
    width: 24px;
    height: 24px;
  }

  .footer__navigation {
    display: flex;
    justify-self: flex-start;
    justify-content: space-between;
  }

  .footer__developers {
    font-size: 12px;
  }

  .footer__copyright {
    font-size: 12px;
  }
}

@media (max-width: 767px) and (min-width: 561px) {
  .footer__container {
    display: block;
  }
  .footer__navigation {
    display: flex;
    justify-self: flex-start;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .footer__developers {
    padding-bottom: 10px;
  }
  .navigation {
    gap: 55vw;
  }
  .navigation__list,
  .navigation__list_two {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .navigation__list_two {
    align-items: flex-end;
  }
}

@media (max-width: 500px) and (min-width: 400px) {
  .navigation {
    gap: 50vw;
  }
}
@media (max-width: 454px) and (min-width: 400px) {
  .navigation {
    gap: 40vw;
  }
}
@media (max-width: 400px) and (min-width: 323px) {
  .navigation {
    gap: 30vw;
  }
}
@media (max-width: 323px) and (min-width: 300px) {
  .navigation {
    gap: 25vw;
  }
}

/* Media Desktop */
@media (min-width: 768px) {
  .desktop-hidden {
    display: none !important;
  }
  .body_desktop_footer {
    max-width: 2000px;
    margin: 0 auto;
    /* background-color: #000; */
    padding: 40px 20px;
  }

  .desktop_footer__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .desktop_footer__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .desktop_footer__column--left {
    align-items: flex-start;
  }

  .desktop_footer__column--center {
    align-items: flex-start;
  }

  .desktop_footer__column--right {
    align-items: flex-end;
  }

  .desktop_footer__logo {
    max-width: 200px;
    height: auto;
  }

  .desktop_footer__dev p {
    font-size: 12px;
    color: rgb(192, 112, 8);
    margin: 0;
    line-height: 1.4;
  }

  .desktop_footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .desktop_footer__copyright p {
    font-size: 12px;
    color: #fff;
    margin: 0;
    line-height: 1.4;
  }

  .desktop_footer__copyright p a {
    color: rgb(192, 112, 8);
    text-decoration: none;
  }

  .desktop_footer__copyright p a:hover {
    text-decoration: underline;
    transition: all 0.3s;
  }
  /* !!! 90 -> 75 */
  .desktop_footer__nav-columns {
    display: flex;
    gap: 75px;
    justify-content: flex-start;
    margin-top: 20px;
  }
  /* !!! 115  */
  .desktop_footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    min-width: 115px;
  }

  .desktop_footer__nav-list--left {
    align-items: flex-start;
  }

  .desktop_footer__nav-list--right {
    align-items: flex-start;
  }

  .desktop_footer__nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  }

  .desktop_footer__nav-list li a:hover {
    color: rgb(192, 112, 8);
    transition: all 0.3s;
  }

  .desktop_footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }

  .desktop_footer__contact a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .desktop_footer__contact a:hover {
    color: rgb(192, 112, 8);
    transition: all 0.3s;
  }

  .desktop_footer__social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }

  .desktop_footer__social-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
  }

  .desktop_footer__social-link:hover {
    color: rgb(192, 112, 8);
    transition: all 0.3s;
  }

  .desktop_footer__social-link svg {
    width: 28px;
    height: 28px;
  }

  /* Responsive adjustments for smaller desktop screens */
  @media (max-width: 1200px) {
    .desktop_footer__container {
      gap: 30px;
      padding: 0 10px;
    }

    .desktop_footer__logo {
      max-width: 180px;
    }
  }

  @media (max-width: 767px) {
    .desktop_footer__container {
      flex-direction: column;
      gap: 30px;
      align-items: center;
    }

    .desktop_footer__column--left,
    .desktop_footer__column--center,
    .desktop_footer__column--right {
      align-items: center;
    }

    .desktop_footer__nav-columns {
      flex-direction: column;
      gap: 20px;
      justify-content: center;
    }

    .desktop_footer__nav-list--left,
    .desktop_footer__nav-list--right {
      align-items: center;
    }

    .desktop_footer__contact {
      align-items: center;
    }

    .desktop_footer__social {
      justify-content: center;
    }
  }
}
