.footer {
  background-color: #000;
}

.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) {
  .footer__container {
    gap: 32px;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__phone {
    font-size: 16px;
  }

  .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;
  }
}
