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

/**
 * Global footer rules
 */

.main__footer {
  margin-top: auto;
  background-color: var(--color-brand--2);
  color: var(--color-neutral--6);
  padding: 4rem 1rem;
}

.footer-block__logo-text {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-direction: column;
}
.footer-block__logo{
  flex-shrink: 0;
}

.footer-block__text a {
  color: var(--neutral-pure);
  text-decoration: underline;
  font-weight: unset;
}

.footer-block__text p:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}
.main__footer .menu{
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.main__footer .menu a{
  color: var(--color-neutral--6);
}

.main__footer h4,
.main__footer p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}


@media all and (min-width: 1000px) {
  .main__footer {
    margin-top: auto;
    background-color: var(--color-brand--2);
    color: var(--color-neutral--6);
    padding: 4rem 1rem;
  }
  .main__footer .menu{
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
  }
  .footer-block__content,
  .footer-block__wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
  }
  .footer-block__logo-text {
    flex-direction: row;
  }
}

@media all and (min-width: 1200px) {
  .footer-block__content,
  .footer-block__wrapper {
    flex-wrap: unset;
  }
}



/**
 * Icon Socials
 */

 .footer__facebook {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  text-indent: -999px;
  overflow: hidden;
  transition: transform 0.3s ease;
 }
 .footer__facebook:hover {
  transform: translateY(-3px);
}
 .footer__facebook::before {
  background-image: url(../../images/footer/facebook.svg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
 }

 .footer__instagram {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  text-indent: -999px;
  overflow: hidden;
  transition: transform 0.3s ease;
 }
 .footer__instagram:hover {
  transform: translateY(-3px);
}
 .footer__instagram::before {
  background-image: url(../../images/footer/instagram.svg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
 }

 .footer__panneaupocket {
  height: 43px;
  width: 39px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  text-indent: -999px;
  overflow: hidden;
  transition: transform 0.3s ease;
 }
 .footer__panneaupocket:hover {
  transform: translateY(-3px);
}
 .footer__panneaupocket::before {
  background-image: url(../../images/footer/panneau-pocket.svg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
 }
