.footer {
  background-color: rgb(10 35 66);
}

.footer__info {
  padding-block: 4rem;
  display: grid;
  gap: 2rem;
}

.footer__info-logo {
  width: 12rem;
  margin-bottom: 1.5rem;
}

.footer__info-description {
  font-size: 0.875rem;
  color: rgb(209 213 219);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.footer__info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  & svg {
    flex-shrink: 0;
    width: 1.25rem;
    color: var(--color-primary);
  }

  & span {
    color: var(--color-white);
  }
}

.footer__title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__item {
  color: rgb(209 213 219);
  transition: color 150ms;
  font-weight: 500;
}
.footer__item:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-block: 1.5rem;
  border-top: 1px solid #ffffff1a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: rgb(156 163 175);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer__back-to-top {
  color: var(--color-white);
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: #126bfb33;
  transition: color 150ms;
}
.footer__back-to-top:hover {
  background-color: #126bfb4d;
}

@media (width >= 768px) {
  .footer__info {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
  }
  .footer__copyright {
    margin-bottom: 0;
  }
}

@media (width >= 768px) {
  .footer__info {
    grid-template-columns: repeat(3, 1fr);
  }
}
