/* =========================
   FOOTER
========================= */

.site-footer {
  width: 100%;
  max-width: 100%;

  padding: 55px 80px 40px;
  margin-top: 40px;

  overflow-x: hidden;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  align-items: start;

  width: 100%;
  max-width: 100%;
}

/* =========================
   ALIGNEMENTS
========================= */

.footer-bottom .credits {
  text-align: left;
}

.footer-bottom .legal {
  text-align: center;
}

.footer-bottom .social {
  text-align: right;
}

/* =========================
   TYPO
========================= */

.footer-bottom a {
  position: relative;
  display: inline-block;

  margin: 0;

  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;

  color: #111;
  text-decoration: none;
}

/* =========================
   MENTIONS LEGALES
========================= */

.mentions-link {
  font-size: 15px !important;
  letter-spacing: 0.5px;
}

/* =========================
   ESPACEMENT LIGNE GAUCHE
========================= */

.footer-bottom .credits a:first-child {
  margin-bottom: 14px;
}

/* =========================
   SOULIGNEMENT
========================= */

.footer-bottom .credits a::after,
.footer-bottom .legal a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 1px;

  background: #111;

  transition: width 0.35s ease;
}

.footer-bottom .credits a:hover::after,
.footer-bottom .legal a:hover::after {
  width: 100%;
}

/* =========================
   SOCIAL
========================= */

.social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social img {
  width: 28px;
  height: 28px;

  display: block;

  transition: opacity 0.3s ease;
}

.social a:hover img {
  opacity: 0.55;
}

/* =========================
   RESPONSIVE
========================= */

@media screen and (max-width: 768px) {
  .site-footer {
    padding: 40px 24px 30px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom .credits,
  .footer-bottom .legal,
  .footer-bottom .social {
    text-align: left;
  }

  .social {
    justify-content: flex-start;
  }
}
