.navbar {
  height: 90px;
  display: flex;
  justify-content: normal;
  align-items: center;
  padding: 15px 20px;
  background-color: #EDE0D4;
  position: sticky;
  width: 100%;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  gap: 50px;
  z-index: 10;
}
.navbar .logo {
  font-weight: bold;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.dropdown-nav {
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.dropdown-menu-nav {
  display: none;
  position: absolute;
  background-color: #EDE0D4;
  min-width: 150px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
}

.dropdown-menu-nav a {
  display: block;
  padding: 10px;
  color: #EDE0D4;
  text-decoration: none;
}

.dropdown-menu-nav a:hover {
  background-color: black;
}

.dropdown-nav .dropdown-menu-nav {
  display: none;
}

/* Afficher le menu au survol */
.dropdown-nav:hover .dropdown-menu-nav {
  display: block;
}
.nav-links a,
.dropdown-nav {
  font-size: 1.2rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
  padding-bottom: 5px;
}
.nav-links a:hover {
  color: #7F5539;
  border-bottom: #7F5539 solid 2px;
}
.nav-account {
  margin-left: auto; /* Pousse l'élément vers la droite */
  height: 100%;
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: flex-end;
  gap: 10px;
}
/*.navbar-button {
  border-radius: 20%;
  color: #121212;
  background-color: #b82132;
  border: none;
}
.navbar-button a {
  color: white;
  font-weight: 100;
}
.navbar-button i {
  font-size: 2rem;
} */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}
.navbar-admin {
  display: none;
}
.navbar-pp {
  object-fit: cover;
}

@media (max-width: 700px) {
  .nav-links,
  .nav-account {
    /* Ajout de .nav-account */
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #EDE0D4;
    padding: 10px;
  }

  .nav-links.show,
  .nav-account.show {
    /* S'assurer que les deux s'affichent */
    display: flex;
  }
  .nav-account.show {
    /* S'assurer que les deux s'affichent */
    display: none;
  }
  .navbar-admin.show {
    /* S'assurer que les deux s'affichent */
    display: flex;
  }

  .nav-account {
    justify-content: center; /* Centrer les boutons dans le menu mobile */
    width: 100%;
    padding-top: 10px;
  }
  .menu-toggle {
    display: block;
  }
}
