@charset "utf-8";

.footer {
  position: relative;
}

.footer__top {
  position: relative;
  z-index: 10;
}

.bg-text__wrap {
  display: flex;
  gap: 150px;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 310px;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .bg-text__wrap {
    top: 222px;
  }
}
.bg-text {
  flex-shrink: 0;
  font-size: 100px;
  line-height: 1;
  letter-spacing: 0;
  color: #6c757d;
  opacity: 0.7;
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@media screen and (min-width: 768px) {
  .bg-text {
    font-size: 170px;
  }
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}


.footer__contact:hover {
  opacity: 0.8;
}

.footer__bottom {
  padding: 50px 20px 40px;
  display: flex;
  gap: 60px;
  flex-direction: column-reverse;
  margin-inline: auto;
  position: relative;
  z-index: 5;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 100vw;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }
}
@media screen and (min-width: 500px) {
  .footer__bottom {
    padding: 50px 60px 40px;
  }
}
@media screen and (min-width: 1024px) {
  .footer__bottom {
    padding: 57px 83px 118px;
    flex-direction: row;
    align-items: center;
    gap: 42px;
    justify-content: space-between;
    max-width: 1366px;
  }
}

.footer__logo {
  width: 70px;
  height: auto;
}
@media screen and (min-width: 768px) {
  .footer__logo {
    width: 113px;
  }
}
.footer__logo:hover {
  opacity: 0.8;
}

.footer__bottom-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  max-width: 50%;
  white-space: nowrap;
  align-items: start;
}
@media screen and (min-width: 1024px) {
  .footer__bottom-links {
    max-width: 100%;
    gap: 42px 17px;
  }
}

.footer__bottom-link {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}
.footer__bottom-link p {
  width: fit-content;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.footer__bottom-link:hover p {
  color: #1283BA;
}

.footer__copyright {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #333333;
  margin: 36px 0 0 6px;
}