.footer {
  background-color: var(--contianer-color);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow-x: hidden;
}

.footer__container {
  padding: 2rem 0;
  max-width: 100%;
}

.footer__title,
.footer__link {
  color: var(--title-color);
}

.footer__title {
  text-align: center;
  margin-bottom: var(--mb-2);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.footer__link:hover {
  color: var(--title-color-dark);
}

.footer__list {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
  margin-top: var(--mb-2);
}

.footer__social-icon {
  color: var(--title-color);
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  transition: 0.3s;
}

.footer__social-icon:hover {
  background-color: var(--title-color-dark);
  transform: translateY(-0.25rem);
}

.footer__social-link {
  background-color: var(--title-color);
  color: var(--contianer-color);
  font-size: 1.125rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
  display: inline-flex;
}

.footer__social-link:hover {
  background-color: var(--title-color-dark);
}

.footer__copy {
  display: block;
  margin-top: 3rem;
  color: var(--title-color);
  text-align: center;
  font-size: var(--smaller-font-size);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 992px) {
  .footer__social-icon {
    padding: 0.4rem;
    font-size: 1.125rem;
  }

  .footer__social-link {
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .footer__container {
    padding: 2rem 1rem;
  }

  .footer__title {
    padding: 0 0.5rem;
  }

  .footer__list {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    column-gap: 1rem;
    padding: 0 1rem;
  }

  .footer__social {
    column-gap: 1rem;
    padding: 0 1rem;
  }

  .footer__social-icon {
    font-size: 1rem;
    padding: 0.4rem;
  }
}

@media screen and (max-width: 350px) {
  .footer__container {
    padding: 2rem 0.75rem;
  }

  .footer__title {
    font-size: var(--h2-font-size);
    padding: 0 0.25rem;
  }

  .footer__list {
    column-gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .footer__social {
    column-gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .footer__social-icon {
    font-size: 0.875rem;
    padding: 0.35rem;
  }

  .footer__social-link {
    font-size: 0.875rem;
  }
}
