body {
  font-weight: 500;
  line-height: 1.5;
  font-size: 18px;
  font-family: "Roboto", serif;
  /* background-color: #DE9B6C; */
}

* {
  box-sizing: border-box;
}

* strong {
  font-weight: 900;
}

* em {
  font-style: italic;
}

.header {
  width: 100%;
  height: fit-content;
  display: flex;
 justify-content: space-evenly;
  align-items: center;
  position: relative;
  padding:1rem;
  /* border-bottom: #b87f62 2px solid; */
  background-color: #643C2B;
  color: #E9E7E7;
}

.header-logo-container {
  width: fit-content;
  display: flex;
  align-items: center;
}

.header-logo {
  height: 80px!important;

}


.header-menu {
    display: flex;
    gap: 3rem;
  font-size: 16px;

  
}

.current-menu-item a{
color: #f8bc9f!important;
}

.menu-item a {
  text-decoration: none;
  /* color: #E9E7E7; */
  color: #E9E7E7;

  text-transform: uppercase;
  position: relative;
}

.menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px; /* Épaisseur de la ligne de soulignement */
  background-color: #f8bc9f; /* 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 */
}

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


/* 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: 9999;
  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%);
  }
}

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

  body {

    font-size: 16px;

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

  .header-menu {
    display: none;
  }

  .hamburger {
    display: block !important;
    
  }

  .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before  {
    background-color: white!important;
  }

  .header-logo-container {
    width: 80%;
   display: flex;
   align-items: center;
  }

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

  .current-menu-item a{
    color: #643C2B!important;
    }
}
