.footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 0.125rem solid #d7d7d7;
}

.footer .logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  color: #98a2b3;
}

.footer .logo-container img {
  width: 15.625rem;
  height: auto;
  object-fit: contain;
}

.footer .terms-list {
  display: flex;
  gap: 4rem;
}

.footer .terms-list .col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
}

.footer .terms-list .col div {
  color: #1976d2;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.footer .terms-list .col a {
  color: #667085;
  text-decoration: none;
}
@media screen and (max-width: 1300px) {
  .footer {
    padding-inline: 1rem;
  }
}

@media screen and (max-width: 68rem) {
  .footer {
    padding-inline: 1.5rem;
  }

  .footer .terms-list {
    gap: 2rem;
  }
}

@media screen and (max-width: 48rem) {
  .footer {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 1rem;
    border-top-width: 0.0625rem;
  }

  .footer .terms-list {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer .terms-list .col {
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .footer .terms-list .col div,
  .footer .terms-list .col a {
    font-size: 0.75rem;
  }

  .footer .logo-container {
    order: 2;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    text-align: center;
  }

  .footer .logo-container img {
    width: 9.5rem;
  }
}
