body {
  font-weight: 500;
  line-height: 1.5;
 color: black;
  font-size: 18px;
  /* background-color: #010100; */
  background-color: #E9E7E7;
  font-family: "Manrope", sans-serif!important;
}

body:not(.wp-admin) *:not(#wpadminbar *) {
  font-family: "Manrope", sans-serif !important;
  
}



* {
  box-sizing: border-box;
}

* strong {
  font-weight: 900;
}

* em {
  font-style: italic;
}

.header {
  width: 100%;
  height: 150px; /* Hauteur initiale */
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  font-size: 15px;
  background-color: #e9e7e7;
}

.header-link a,
.menu-item a {
  text-decoration: none;
  color: black;
  text-transform: uppercase;
  position: relative;
}

.header-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px; /* Épaisseur de la ligne de soulignement */
  background-color: #88a3b2; /* Couleur de la ligne de soulignement */
  transform: scaleX(0); /* Initialement, la ligne est invisible */
  transform-origin: bottom left; /* Point d'origine de la transformation */
  transition: transform 0.5s ease; /* Transition de la ligne de soulignement */
}

.header-link a:hover::after {
  transform: scaleX(1); /* La ligne de soulignement devient visible */
}

.header-logo-container {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  width: 80%;
  height: auto;
}

.header-menu {
  display: flex;
  gap: 2rem;
  height: 100%;
  align-items: center;
}

.current_page_item a {
  color: #88a3b2;
}

/* Icône burger */
.hamburger {
  display: none !important; /* Cache le bouton burger sur desktop */

}

/* Menu mobile */
.navigation-mobile {
  width: 100%;
  position: absolute;
  top: 100%;
  right: 0;
  padding: 10px;
  font-size: 15px;
  z-index: 999;
  border-left: 1px solid rgb(232, 231, 231);
  border-bottom: 1px solid rgb(232, 231, 231);
  background-color: #e9e7e7;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}

.navigation-mobile.active {
  visibility: visible;
  animation: latteral 0.4s forwards;
}

.navigation-mobile.inactive {
  display: none;
}

.navigation-mobile.closing {
  animation: latteral-off 0.4s forwards;
}

.navigation-mobile li {
  padding: 0.5rem;
}

.navigation-mobile a {
  color: black;
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

/* Animations */
@keyframes latteral {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes latteral-off {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

/* 404 */
.index-404 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.index-404-title {
  font-weight: bold;
  font-size: 25px;
  /* color: #e9e7e7; */
}

.index-404-link {
  /* color: #e9e7e7; */
  color: black;
  text-decoration: none;
  transition: color 1s ease-in-out;
}

.index-404-link:hover {
  color: #88a3b2;
}

.index-404-img {
  width: auto;
  height: 60vh;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 862px) {

  body {

    font-size: 16px;

  }

  .header {
    justify-content: space-between;
    height: 100px;
  }

  .header-menu {
    display: none;
  }

  .hamburger {
    display: block !important;
  }

  .current_page_item a {
    background-image: none;
    color: #88a3b2;
  }

  .header-logo-container {
    width: 80%;
  }

  .header-logo {
    width: 90%;
  }
}
