/* Base */
body {
  background: #0a0a1a;
  color: #fff;
  font-family: Raleway, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   NAVBAR (div.navbar)
   ========================= */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;

  height: 90px;
  padding-top: 30px;
  /* si tu veux un peu d’air au-dessus des items */

  background-color: #1a1a1a;
  border-bottom: 2px solid #0ff;
  box-shadow: 0 0 10px #0ff;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Liens de la navbar (tous les <a> dans .navbar)
   Utile pour enlever soulignement + couleur par défaut */
.navbar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

/* État hover global des liens */
.navbar a:hover,
.navbar a.active {
  color: #0ff;
}

/* =========================
   ITEMS (a.navbar-item)
   ========================= */
.navbar-item {
  /* Mise en colonne (icône au-dessus du texte) */
  display: flex;
  flex-direction: column;
  align-items: center;

  /* Ajustement vertical si ton logo chevauche un peu */
  margin-top: -10px;
  margin-bottom: 10px;

  transition: transform 0.3s, color 0.3s;
}

.navbar-item i {
  font-size: 1.8rem;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.navbar-item span {
  font-size: 1.1rem;
  transition: color 0.3s;
}

/* Hover item : zoom + néon */
.navbar-item:hover {
  transform: scale(1.15);
  color: #0ff;
}

.navbar-item:hover i,
.navbar-item:hover span {
  color: #0ff;
}

/* =========================
   LOGO CENTRAL (div.navbar-logo > a > img)
   ========================= */
.navbar-logo {
  position: absolute;
  top: -10px;
  /* ajuste la hauteur du logo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;

  transition: transform 0.3s;
}

.navbar-logo:hover {
  transform: translateX(-50%) scale(1.05);
}

/* Taille du logo (une seule règle, pas besoin de doublons) */
.navbar-logo img {
  width: 250px;
  /* tu avais 200 puis 250 : j’ai gardé la dernière valeur */
  display: block;
  transition: transform 0.3s;
}

.navbar-logo:hover img {
  transform: scale(1.1);
}