* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
  }
body {
  cursor: url('../image/volant.png'), auto;
}
  :root {
    --primary-color: #44a0eb; 
    --secondary-color: #ffffff; 
    --loader-color: rgb(9, 2, 32);
  }
  
  /* Le loader */
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--loader-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    animation: fadeOut 3s forwards; 
    animation-delay: 0.1s; /* temporisation avant disparition */
  
  }
  
  #loader h1 {
    color: var(--secondary-color);
    font-size: 2rem;
  }
  
  #loader h1 span {
    display: inline-block; /* nécessaire pour l'animation des points (permet l'utilisation de translateY() */ 
    animation: bounce 1s infinite;
  }
  
  /* Délai pour l'animation de chaque point */
  #loader h1 span:nth-child(1) {
    animation-delay: 0s;
  }
  
  #loader h1 span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  #loader h1 span:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 2%;
  }
  .logo {
    font-size: 40px;
    font-weight: 500;
    color: #44a0eb;
    justify-content: center;
    display: flex;
  }

  .logo {
    position: relative;
  }
  
  .logo::before, span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #44a0eb;
    transform: scaleX(0);
    transition: transform 0.5s ease;
  }
  
  .logo::before {
    top: 0;
    transform-origin: center right;
  }
  
  .logo:hover::before {
    transform-origin: center left;
    transform: scaleX(1);
  }
  
  .logo::after {
    bottom: 0;
    transform-origin: center left;
  }
  
  .logo:hover::after {
    transform-origin: center right;
    transform: scaleX(1);
  }
  


  ul {
    display: flex;
  }
  
  ul button {
    padding: 8px 12px;
    list-style: none;
  }
  
  ul button {
    background: var(--primary-color);
    padding: 8px 12px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1;
    position: relative;
    font-size: inherit;
    font-family: inherit;
    color: white;
    padding: 0.5em 1em;
    outline: none;
    border: none;
    background-color: #44a0eb;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
  }

  ul button::before {
    content: '';
    z-index: -1;
    position: absolute;
    bottom: 100%;
    right: 100%;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: #3377f5;
    transform-origin: center;
    transform: translate3d(50%, 50%, 0) scale3d(0, 0, 0);
    transition: transform 0.5s ease-in-out;
  }
  
  button:hover {
    cursor: url('../image/raquette.png'), auto; /* Ajout du curseur personnalisé ici */;
    color: #fcfcfc;
  }
  
  ul button:hover::before {
    transform: translate3d(50%, 50%, 0) scale3d(15, 15, 15);
  }
  
  .text {
    position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%); /* Permet de centrer parfaitement verticalement */
            padding: 10px;
            font-size: 18px;
            color: #333;
            padding: 80px 80px;

  }
  .text h1 {
    font-size: 50px;
  }
  
  .text span,
  .argument {
    color: var(--primary-color);
  }
  .text p {
    max-width: 40%;
    margin: 20px 0;
    font-size: 30px;
  }

  .images {
    text-align: right;
    padding-right: 50px;
    padding-top: 100px;
    height: 80%;
  }

  .hist {
    padding: 80px 80px;
    text-align: center;
    padding-right: 350px;
    padding-left: 350px;
  }
  .hist h1 {
    font-size: 50px;
  }

  .hist p1 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }

  .hist p2 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  
  .regles {
    padding: 80px 80px;
    text-align: center;
    padding-right: 350px;
    padding-left: 350px;
  }
  .regles h1 {
    font-size: 50px;
  }
  .regles p1 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  .regles p2 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  .regles p3 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  .regles p4 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  .regles p5 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }
  .equip {
    padding: 80px 80px;
    text-align: center;
    padding-right: 350px;
    padding-left: 350px;
  }
  .equip h1 {
    font-size: 50px;
  }
  .equip p1 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 18px;
  }
  .equip p2 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p3 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p4 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p5 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 18px;
  }
  .equip p6 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p7 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p8 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 14px;
  }
  .equip p9 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 18px;
  }

  .propos {
    padding: 80px 80px;
    text-align: center;
    padding-right: 350px;
    padding-left: 350px;
  }
  .propos h1 {
    font-size: 50px;
  }
  .propos p1 {
    max-width: 10%;
    margin: 20px 0;
    font-size: 15px;
  }


  /* ---------------------------------------------------------------------- ANIMATIONS ---------------------------------------------------------------------------------------------/*
  
  /* Rebond des points (chargement) */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }
  
  /* Animation de disparition (loader)*/
  @keyframes fadeOut {
    0% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  




  @media all and (max-width: 1024px) {
    header {
      flex-wrap: wrap;
      justify-content: center;
      background: var(--primary-color);
      color: var(--secondary-color);
      padding: 5% 0;
    }
  
    ul {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      background: rgb(255, 255, 255);
      margin: 5px 0;
      border-top: 2px solid var(--secondary-color);
      border-bottom: 2px solid var(--secondary-color);
    }
  
    ul li a {
      color: var(--secondary-color);
    }
  
    .logo {
      font-size: 30px;
      color: #ffffff;
    }
  
    .logo span,
    .active {
      color: #ffffff;
    }

  
    .right {
      width: 100%;
      text-align: center;
    }
  
    nav {
      text-align: center;
  
    }
    nav button {
      text-align: center;
      border: 2px solid var(--secondary-color);
      width: 160px;
      margin: 5px;
    }
  
    .text {
      padding: 5px;
    }
    .text h1 {
      font-size: 20px;
    }
    .regles {
      padding: 5px;
    }
    .regles p1 {
      font-size: 20px;
    }
    .hist {
      padding: 5px;
    }
    .hist {
      font-size: 20px;
    }
    .equip {
      padding: 5px;
    }
    .equip {
      font-size: 20px;
    }    
    .propos {
      padding: 5px;
    }
    .propos {
      font-size: 20px;
    }
  }
