/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 *
 *
 *
 *
 * Global footer rules
 */


footer p {
  color: white;
}
.main__footer {
  margin-top: auto;
}
.footer-block {
  background-color: #2F2C2C;
  color: var(--white);
}
.footer-block__content {
  display: grid;
  gap: 1.438rem;
}
.footer-block__first {
  padding-top: 3rem;
  display: grid;
  gap: .5rem;
}
.footer-block__second {
  display: flex;
  justify-content: center;
}
.footer-block__title{
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}
.footer-block__text p {
  font-size: var(--text-xs);
  line-height: 170%;
}
.footer-block__text a {
  color: white;
  text-decoration: underline;
}
.footer-block__text a:hover {
  text-decoration: none;
}
.footer-block__links {
  display: flex;
  gap: 1.5rem;
}
.footer-block__links p,
.footer-block__links a {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--white);
}
.footer-block__links a:hover {
  text-decoration: underline;
}
@media (min-width: 500px) {
  .footer-block__first {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 2rem;
  }
  .footer-block__right-column {
    margin-top: 2rem;
  }
}
@media (min-width: 600px) {
  .footer-block__first {
    gap: 4rem;
  }
}
@media (min-width: 1000px) {
  .footer-block__first {
    display: flex;
    align-items: center;
  }
  .footer-block__right-column {
    display: flex;
    align-items: center;
    gap: 5rem;
  }
}
@media (min-width: 1400px) {
  .footer-block__text {
    min-width: 340px;
  }
}

.footer-block__socials ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.footer-block__socials .menu__link--icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  transition: transform 0.3s ease;
}
.footer-block__links .menu__link--icon:hover {
  transform: translateY(-5px);
}
.footer-block__socials .menu__link--fb {
  background-image: url('../../images/footer/icon-facebook.svg');
}
.footer-block__socials .menu__link--insta {
  background-image: url('../../images/footer/icon-instagram.svg');
}





/**
 * Pre footer
 */
.pre-footer-block__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1.778rem;
}
@media (min-width: 700px) {
  .pre-footer-block__content {
    flex-direction: row;
    gap: 1.778rem;
    justify-content: center;
    padding: 3.556rem;
  }
}
