* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #e6f2e6; 
  color: #004400;       
  text-align: center;
}

header {
  background: #2c6f2c; 
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

header h1 {
  margin-bottom: 10px;
}

nav ul.menu {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav ul.menu > li {
  position: relative;
  margin: 0 15px;
}

nav ul.menu > li > a {
  display: block;
  padding: 12px 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s, color 0.3s;
}

nav ul.menu > li > a:hover {
  background: #ffd700; 
  color: #004400;
  border-radius: 5px;
}

nav ul.menu li.dropdown:hover .submenu {
  display: block;
}

nav ul.menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b4d1b;
  min-width: 200px;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

nav ul.menu .submenu li a {
  padding: 12px 20px;
  color: white;
  display: block;
  font-weight: normal;
}

nav ul.menu .submenu li a:hover {
  background: #ffd700;
  color: #004400;
  border-radius: 5px;
}

.hero {
  padding: 100px 20px;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #2c6f2c;  
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: #ffd700; 
  color: #004400;
  transform: scale(1.05);
}


.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  border-radius: 8px;
}

@keyframes slide {
  0% { transform: translateX(0%); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}

@media (max-width: 768px) {
  nav ul.menu {
    flex-direction: column;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn {
    padding: 12px 20px;
  }
}
/* CONTACT */
.contact {
  padding: 80px 20px;
  text-align: center;
  background: #e6f2e6; /* fond vert clair */
  color: #004400;      /* texte vert foncé */
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-info a {
  color: #2c6f2c;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  color: #ffd700; /* jaune */
}

/* FORMULAIRE */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #2c6f2c;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffd700;
}

.contact-form button.btn {
  width: 100%;
  background: #2c6f2c;
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form button.btn:hover {
  background: #ffd700;
  color: #004400;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .contact h2 {
    font-size: 2rem;
  }
  .contact p {
    font-size: 1rem;
  }
}
.presentation {
  padding: 60px 20px;
  text-align: center;
  background: #f5f5f5;
  color: #333;
}

.fun-facts {
  padding: 60px 20px;
  background:  #e6f2e6;
  text-align: center;
}

.fun-facts .cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.fun-facts .card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video {
  text-align: center;
  padding: 60px 20px;
  background: #e6f2e6;
  color: white;
}

.video iframe {
  width: 80%;
  max-width: 700px;
  height: 400px;
  border-radius: 8px;
}
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Parallax : chaque bloc prend tout l'écran */
.parallax {
  position: relative;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;   /* 👈 l’image reste figée */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Images */
.p1 { background-image: url('./medias/madrid.jpg'); }
.p2 { background-image: url('./medias/milan.webp'); }
.p3 { background-image: url('./medias/om.webp'); }
.p4 { background-image: url('./medias/barca.jpg'); }
.p5 { background-image: url('./medias/liverpool.webp'); }

/* Bande blanche autour du texte */
.overlay {
  background: rgba(255,255,255,0.85);
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.overlay h2 {
  margin-bottom: 15px;
  color: #222;
  font-size: 2.5rem;
}

.overlay p {
  color: #333;
  font-size: 1.2rem;
}
section + section {
  margin-top: 60px;
}
.video {
  text-align: center;
  padding: 60px 20px;
  background: #e6f2e6;
}

.video iframe {
  width: 80%;
  max-width: 700px;
  height: 400px;
  border-radius: 8px;
}

.carousel-container {
    width: 600px;
    overflow: hidden; /* cacher le débordement */
    margin: 50px auto;
    margin-top: 80px;
    border-radius: 10px;
  }

  .carousel-track {
    display: flex;
    gap: 20px; /* espace entre images */
    width: calc((400px + 20px) * 10);
    animation: scroll 15s linear infinite;
  }

  .carousel-item {
    flex: 0 0 400px; /* largeur fixe */
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-1 * ((400px + 20px) * 5))); /* 200px width + 20px gap * nombre d'images */
    }
  }

  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

footer {
    width: 100%;
    text-align: center;
    background-color: #2c6f2c;
    color: black;
    padding: 20px;
    margin-top: 40px;
    margin-left: -8px;
    opacity: 100%;
    font-family: "Comic Sans MS", cursive, sans-serif;
   position: absolute;
}

.login-menu {
    padding: 40px 50px;
    border-radius: 10px;
    width: 350px;
    box-sizing: border-box;
    background: transparent; /* pas de fond */
    border: 2px solid rgba(32, 19, 220, 0.8); /* bordure blanche semi-transparente */
    box-shadow: none; /* pas d'ombre */
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  }

  .login-menu h2 {
    margin: 0 0 25px 0;
    text-align: center;
  }

  .login-menu label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  }

  .login-menu input[type="text"],
  .login-menu input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.1); /* léger fond translucide */
    color: white;
    transition: border-color 0.3s ease, background-color 0.3s ease;
  }

  .login-menu input[type="text"]::placeholder,
  .login-menu input[type="password"]::placeholder {
    color: rgba(255,255,255,0.7);
  }

  .login-menu input[type="text"]:focus,
  .login-menu input[type="password"]:focus {
    border-color: white;
    background-color: rgba(255,255,255,0.3);
    outline: none;
    color: black;
  }

  .login-menu button {
    width: 100%;
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.8);
    color: #007bff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .login-menu button:hover {
    background-color: rgba(255, 255, 255, 1);
  }

.fond-ecran {
   height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('./medias/stade\ accueil.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}
