/* Conteneur principal de la navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  padding: 20px;
  max-width: 1600px;
}

/* Style pour chaque bouton */
.navbar-item {
  width: 240px;
  height: 140px;
  background-color: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px solid #555;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* Effet de lumière au survol */
.navbar-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: all 0.4s ease-in-out;
}

.navbar-item:hover::before {
  left: 100%;
}

.navbar-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* Style pour le titre du bouton */
.navbar-title {
  font-size: 16px;
  font-weight: bold;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  font-family: "Star Jedi Monospaced", monospace;
}

/* Style pour la description */
.navbar-description {
  font-size: 18px;
  opacity: 0.8;
  margin-top: 5px;
  color: #bbb;
}

/* Effet de néon pour le texte */
.navbar-item:hover .navbar-title {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.navbar-item:hover .navbar-description {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .navbar-item {
    width: 100%;
  }
  .navbar-item:hover {
    transform: none;
    transition: none;
  }
  .navbar-item::before {
    transform: none;
    transition: none;
  }
  .navbar-item {
    transition: none;
  }
}
