.footer {
  background: var(--black-primary);
  color: var(--white-primary);
}

.footer__bottom {
  color: #ededed;
  padding-block: 30px;
  text-align: center;
}

.footer a {
  color: var(--white-primary);
  font-weight: 600;
}

.footer a:hover {
  color: var(--red-primary);
}

.footer a:hover svg path {
  fill: var(--red-primary);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__text {
  font-size: var(--text-sm);
  margin-bottom: 32px;
}

.footer__divider {
  background-color: #363636;
  margin: 0;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-block: 64px 48px;
}

.footer__col--container {
  display: flex;
  max-width: 371px;
  width: 100%;
  justify-content: space-between;
}

.footer__col--brand {
  grid-area: brand;
  text-align: center;
}

.footer__col--nav {
  grid-area: nav;
}

.footer__col--projects {
  grid-area: projects;
}

.footer__col--projects p,
.footer__col--projects ul > li {
  white-space: nowrap;
}

.footer__text {
  max-width: 360px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__col--container .footer__col p {
  color: var(--grey-border-secondary);
  margin-bottom: 32px;
}

.footer__col--container .footer__col ul li:not(:last-child) a {
  display: inline-block;
  margin-bottom: 20px;
}

@media (min-width: 400px) {
  .footer__social {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .footer__top {
    padding-block: 80px 64px;
    gap: 64px;
  }

  .footer__text {
    margin-bottom: 48px;
  }
}

@media (min-width: 1248px) {
  .footer__top {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__col--brand {
    text-align: start;
    align-items: flex-start;
  }

  .footer__top {
    padding-block: 80px 48px;
  }

  .footer__text {
    margin-bottom: 64px;
  }
}
