/* style.css */

/* Style global */
body {
    margin: 0;
    padding: 0;
    font-family: 'Anek Bangla', sans-serif;
    background-color: white;
  }
  
   /* placement plateau */
  #plateau {
    display: block;
    margin: 30px auto; 
  }
  
  /* Bouton lancer de dé */
  #btn-lancer-de {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
  }
  
  /* Informations joueurs */
  #infosJoueurs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  
  #infosJoueurs > div {
    background: #ddd;
    padding: 15px 25px;
    border: 3px solid #000;
    text-align: center;
    min-width: 150px;
  }

  .joueur-actif {
    border: 5px solid #A52B0F !important;
  }
  
  .score-couleurs {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 16px;
    margin-top: 10px;
    justify-content: center;
  }
  

  .dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid currentColor;
    background-color: transparent;
    margin-right: 6px;
    vertical-align: middle;
  }
  
  /* Définition des couleurs via color */
  .rouge { color: red; }
  .vert  { color: green; }
  .jaune { color: gold; }
  .bleu  { color: blue; }
  .noir  { color: black; }
  
  
  
  /* Style des modales */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .modal-content-question {
    background-color: #eeeeee;
    padding: 40px;
    border: 3px solid #000;
    max-width: 600px;
    width: 90%;
    text-align: center;
    margin: auto;
  }
  
  
  
  .question-titre {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* Texte de la question */
  .question-texte {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.4;
  }

    /* Liste des choix */
    .choix-options label {
      display: block;
      margin: 10px 0;
      font-size: 1.1em;
      cursor: pointer;
    }
    
    .choix-options input[type="radio"] {
      margin-right: 10px;
      transform: scale(1.2);
      accent-color: #a00;
    }
    
    /* Bouton principal */
    .btn-question {
      margin-top: 25px;
      padding: 12px 30px;
      font-size: 1.1em;
      font-weight: bold;
      background-color: #a00;
      color: white;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    
    .btn-question:hover {
      background-color: #800;
    }

  .modal.hidden {
    display: none;
  }
  
  .hidden {
    display: none;
  }
  

/* Style pour le bouton suivant */
.btn-intro {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #a00;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  display: block;
  margin-left: auto;
  margin-right: 0;
}


.btn-intro:hover,
.btn-commencer:hover {
  background-color: #800;
}

/* Style pour le bouton suivant */
.btn-commencer {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #a00;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

/* ajout prenom */
#form-prenoms {
  text-align: center;
}

#input-prenom {
  padding: 10px;
  font-size: 1em;
  margin-right: 10px;
}

#liste-joueurs {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

#liste-joueurs li {
  font-weight: bold;
  margin-bottom: 5px;
}

  
/* Conteneur principal de l'accueil */
.entete-accueil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.entete-accueil h1 {
  font-size: 4em;
  margin: 0;
  font-weight: bold;
}

/* Boutons */
.choix-nb-joueurs {
  display: flex;
  flex-direction: column;
  max-width: 70rem;
  margin: 50px auto;
  border: 4px solid black;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.btn-nb-joueurs {
  padding: 25px;
  font-size: 3em;
  font-weight: bold;
  border: 3px solid black;
  background: #dcdcdc;
  color: black;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

/* Hover */
.btn-nb-joueurs:hover {
  background: rgb(134, 1, 1);
  color: white;
}

/* bande defilante */
.bande-defilante {
  width: 100%;
  overflow: hidden;
  background-color: #000;
  margin-top: 140px;
  margin-bottom: 0;
}

.contenu-defilant {
  display: inline-block;
  white-space: nowrap;
  animation: defilementInfini 20s linear infinite;
}

.contenu-defilant img {
  height: 100px;
  opacity: 0.9;
}

/* Animation défilement fluide */
@keyframes defilementInfini {
  0% {
    transform: translateX(0%);

  }
  100% {
    transform: translateX(-50%);
  }
}

