@keyframes flotter {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, rgb(1 15 52), rgb(3, 32, 114));
  height: 100px;
  padding: 0 2rem;
  border-bottom: 1px solid #0e046d66;
  font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.3s ease;
}

nav a:hover {
  background-color: rgba(68, 122, 184, 0.9);
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  border: 1px solid white;
}

.bx-menu {
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.display-menu-hamburger {
  display: none;
}

.logo-bouge {
  animation: flotter 3s infinite ease-in-out;
  font-weight: bold; 
  color: white;
  font-size: 1.5rem;
}

.display-menu {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .display-menu-hamburger {
    display: block;
  }

  .display-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: #011034;
    text-align: center;
    z-index: 1000;
  }

  .display-menu a {
    padding: 1rem;
    border-bottom: 1px solid white;
    width: 100%;
    display: block;
  }

  nav {
    flex-direction: row;
  }

  nav a {
    width: auto;
  }

  .logo-bouge {
    font-size: 1.2rem;
  }
}
