.footer-info {
  padding: 0;
}

.footer-text {
  max-width: 500px;
}
.footer-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  background: var(--first-color-alt);
  color: var(--white);
  padding: 52px;
}
.footer-info svg {
  color: var(--first-color);
}
.footer-footer p {
  font-weight: 300;
}
footer {
  padding: 16px;
  background: var(--first-color-light);
  color: var(--title-color);
}

footer p {
  font-size: 14px;
}

.footer-white {
  border-top: 3px solid var(--first-color-alt);
  background-color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem;
}
.developer {
  font-size: 14px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.developer a {
  font-weight: 700;
  transition: all 300ms ease-in-out;
}
.developer a:hover {
  text-decoration: underline;
}

.footer-white .delivery svg,
.footer-white .pay svg {
  fill: var(--first-color-alt);
  width: 50px;
  height: 50px;
}
.back-to-top {
  position: relative;
  cursor: pointer;
  border-right: 2px solid var(--first-color);
  border-left: 2px solid var(--first-color);
}
.footer-phone {
  display: flex;
  gap: 8px;
  align-items: center;
}
.arrow {
  height: 50px;
  padding: 8px;
  transform: translate(-50%, -50%);
  transform: rotate(180deg);
  cursor: pointer;
}

.arrow div {
  display: block;
  width: 15px;
  height: 15px;
  border-bottom: 4px solid var(--first-color-alt);
  border-right: 4px solid var(--first-color-alt);
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 2s infinite;
}

.arrow div:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow div:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

.delivery,
.pay,
.back-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-height: 86px;
}

.delivery p,
.pay p,
.back-to-top p {
  font-size: 14px;
  height: 28px;
  color: var(--first-color);
  font-weight: 600;
}

.socials {
  gap: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.socials p {
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a svg {
  fill: var(--white);
  width: 24px;
  height: 24px;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover {
  border: 2px solid var(--white);
}

@media screen and (max-width: 900px) {
  .footer-white .delivery svg,
  .footer-white .pay svg {
    width: 30px;
    height: 30px;
  }

  .footer-footer {
    justify-content: center;
    padding: 32px 16px;
  }
}
