/* Footer */

footer {
  background: var(--dark-shades-900);
  border-top: 1px solid var(--dark-shades-800);
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-right: 85px;
}

.footer-logo img {
  width: 100%;
}

.footer-list {
  display: flex;
  align-items: center;
  gap: 54px;
}

.footer-link {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 137.5%;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-white);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #52656e;
}

.social-media {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-media-link {
  background: var(--dark-shades-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 40px;
  height: 40px;
  transition: background 0.3s ease;
}
.social-media-link:hover {
  background: #123d52;
}
.social-media-link:active {
  background: #0a202d;
}
.footer-line-mobile {
    display: none;
}
.footer-line,
.footer-line-mobile {
  border-bottom: 1.5px solid var(--dark-shades-800);
  width: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 32px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
}

.footer-bottom-left p {
  font-size: 13px;
  font-weight: 400;
  line-height: 138.5%;
  text-align: left;
  color: var(--text-extra);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-align: right;
  color: var(--text-extra);
  text-decoration: underline;
}

/* Breakpoint */

@media (max-width: 1024px) {
  .footer-top {
    padding: 27px 84px 32px;
    max-width: 1024px;
    width: 100%;
  }
  .footer-nav {
    display: none;
  }

  .footer-bottom {
    padding: 20px 84px 32px;
    max-width: 1024px;
    width: 100%;
  }

  .footer-bottom-left p {
    line-height: 138%;
  }

}
@media (max-width: 768px) {
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0 36px;
  }
  .footer-logo {
    margin: 0;
  }
  .footer-line-mobile {
      display: block;
      margin: 36px 0 48px;
  }
  .footer-nav {
    display: block;
    margin-bottom: 48px;
  }
  .footer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
  }

  .footer-link {
    line-height: 137%;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 70px 40px;
    max-width: 393px;
    width: 100%;
    gap: 24px;
  }

  .footer-bottom-left {
    display: flex;
    align-items: center;
    order: 2;
  }

  .footer-bottom-left p {
    line-height: 138%;
    text-align: center;
  }

  .footer-bottom-right {
    display: flex;
    gap: 24px;
    order: 1;
  }

  .footer-bottom-right a {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0 36px;
  }
  .footer-logo {
    margin: 0;
  }
  .footer-line-mobile {
      display: block;
      margin: 36px 0 48px;
  }
  .footer-nav {
    display: block;
    margin-bottom: 48px;
  }
  .footer-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
  }

  .footer-link {
    line-height: 137%;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 70px 40px;
    max-width: 393px;
    width: 100%;
    gap: 24px;
  }

  .footer-bottom-left {
    display: flex;
    align-items: center;
    order: 2;
  }

  .footer-bottom-left p {
    line-height: 138%;
    text-align: center;
  }

  .footer-bottom-right {
    display: flex;
    gap: 24px;
    order: 1;
  }

  .footer-bottom-right a {
    text-align: center;
  }
}
