
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

@keyframes bounceInLeft {
    0% {
      transform: translateX(-300%);
      opacity: 0;
    }
    60% {
      transform: translateX(30%);
      opacity: 1;
    }
    80% {
      transform: translateX(-10%);
    }
    100% {
      transform: translateX(0);
    }
  }

  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
body {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    background: url('bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    padding: 3rem;
    max-width: 100%;
    margin: auto;
    text-align: center;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
  }
  
  /* Bouton burger */

  .menu {
    width: 280px;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/chemin/vers/d12a6cf5-b4f6-4421-acb6-491b59f52728.png') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    animation: slideInLeft 0.5s ease-out forwards;
  }

  .menu-toggle {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
  }
  
  /* Barres du menu burger */
  .menu-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 2px;
    margin: 6px 0;
    transition: 0.4s;
  }
  
  /* Menu caché au départ */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 20px;
    padding: 20px;
    background: url(Fond\ menu.png) no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 100;
    overflow: hidden;
  }
  
  /* Quand ouvert */
  .nav-links.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  
  /* Liens */
  .nav-links a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #82e0aa; /* joli vert léger */
    transform: scale(1.05);
  }

  .nav-links.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  
  /* Animation du bouton quand ouvert */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }



h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #FFD700;
}

.poles {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.pole {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 1rem;
    width: 250px;
    transition: transform 0.2s ease, border-color 0.3s;
}

.pole:hover {
    transform: scale(1.05);
    border-color: #7CFC00;
}

.pole h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

ul {
    list-style-type: '🎮 ';
    padding-left: 1rem;
    text-align: left;
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }
  
