.footer {
  background: $main;
  padding: 4.8rem 0;
  color: $white;
  font-size: 1.8rem;
  @include roboto;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2.4rem;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 4.8rem;
  row-gap: 2.4rem;
}

.footer-nav-list-item {
  a {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.8rem;
    color: $white;
    @include roboto;
    font-weight: 400;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-info-item {
  display: flex;
  gap: 2.4rem;
  align-items: center;

  // &:nth-child(3) {
  //   align-items: flex-start;
  // }
  &:nth-child(4),
  &:nth-child(5),
  &:nth-child(6) {
    display: none;
  }
  &:nth-child(7),
  &:nth-child(8) {
    padding-left: 4.8rem;
  }
}

.footer-info-item-icon {
  svg {
    fill: $white;
  }
}

.footer-info-item-title {
  font-size: 1.8rem;
  color: $white;
  @include roboto;
  font-weight: 400;
  max-width: 37rem;
}

@media (max-width: 1200px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .footer-nav-list {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 850px) {
  .footer-info-item {
    &:nth-child(4),
    &:nth-child(5),
    &:nth-child(6) {
      display: flex;
    }
  }
}
@media (max-width: 700px) {
  .footer-nav-list {
    grid-template-columns: repeat(2, auto);
    column-gap: 2.4rem;
  }
}

@media (max-width: 400px) {
  .footer-wrapper {
    gap: 2.4rem;
  }
  .footer-nav-list {
    gap: 1.6rem;
  }
  .footer-nav-list-item {
    a {
      font-size: 1.6rem;
    }
  }
  .footer-info-item-title {
    font-size: 1.6rem;
  }
}
