@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap");

.bingo-90 { background-image: url('../assets/Images/games/bingo90.png'); }
.bingo-75 { background-image: url('../assets/Images/games/bingo75.png'); }
.bingo-fast { background-image: url('../assets/Images/games/bingo60.png'); }
.cinquillo { background-image: url('../assets/Images/games/cinquillo.png'); }
.chinchon { background-image: url('../assets/Images/games/chinchon.png'); }
.chinchon-express { background-image: url('../assets/Images/games/chinchonexpress.png'); }
.domino { background-image: url('../assets/Images/games/dominoes.png'); }
.domino-express { background-image: url('../assets/Images/games/dominoesexpress.png'); }
.tute { background-image: url('../assets/Images/games/tute.png'); }
.memory { background-image: url('../assets/Images/games/memory.png'); }
.guinyot { background-image: url('../assets/Images/games/guinyot.png'); }
.belote { background-image: url('../assets/Images/games/belote.png'); }
.remigio { background-image: url('../assets/Images/games/remigio.png'); }
.corazones { background-image: url('../assets/Images/games/corazones.png'); }
.brisca { background-image: url('../assets/Images/games/brisca.png'); }
.escoba { background-image: url('../assets/Images/games/escoba.png'); }
.suma2 { background-image: url('../assets/Images/games/suma2.png'); }
.solitari { background-image: url('../assets/Images/games/solitari.png'); }
.mus { background-image: url('../assets/Images/games/mus.png'); }
.parxis { background-image: url('../assets/Images/games/parxis.png'); }
.blackjack { background-image: url('../assets/Images/games/blackjack.png'); }
.simon { background-image: url('../assets/Images/games/simon.png'); }
.caballitos { background-image: url('../assets/Images/games/chavaux.png'); }
.spades { background-image: url('../assets/Images/games/spades.png'); }
.ginrummy { background-image: url('../assets/Images/games/ginrummy.png'); }
.dobble { background-image: url('../assets/Images/games/dobble.png'); }

  .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les éléments */
    justify-content: center; /* Centrer les éléments horizontalement */
    padding: 20px; /* Espace autour de la grille */
  }
  .button-link-menu {
    text-decoration: none; /* Supprimer le soulignement des liens */
    color: white; /* Couleur du texte pour une meilleure visibilité sur les images */
    width: calc(100%/3 - 20px); /* 3 éléments par ligne, ajuster si nécessaire */
    height: 100px; /* Hauteur fixe */
    display: flex;
    justify-content: center; /* Centrer le texte horizontalement */
    align-items: center; /* Centrer le texte verticalement */
  }
  .button-link {
    text-decoration: none; /* Supprimer le soulignement des liens */
    color: white; /* Couleur du texte pour une meilleure visibilité sur les images */
    width: 100%; /* 2 éléments par ligne, ajuster si nécessaire */
    height: 100px; /* Hauteur fixe */
    display: flex;
    justify-content: center; /* Centrer le texte horizontalement */
    align-items: center; /* Centrer le texte verticalement */
  }
  .grid-item {
    width: 100%; /* Assurer que le bouton remplit l'élément d'ancrage */
    height: 100%; /* Assurer que la hauteur du bouton remplit l'élément d'ancrage */
    background-color: #f0f0f0; /* Couleur de fond */
    border: none; /* Supprimer la bordure */
    display: flex;
    justify-content: center; /* Centrer le texte horizontalement */
    align-items: center; /* Centrer le texte verticalement */
    text-align: center; /* Assurer que le texte est centré s'il est enroulé */
    font-size: 30px; /* Taille de la police */
    cursor: pointer; /* Changer le curseur en pointeur au survol */
    background-size: cover; /* Couvrir le bouton avec l'image */
    background-position: center; /* Centrer l'image de fond */
    /* Ombre de texte pour effet de contour */
    text-shadow: 
      -1px -1px 0 #000,  
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000;
  }
    @media (max-width: 600px) {
    .button-link-menu {
      width: calc(100%/2 - 20px); /* Ajuster pour les écrans plus petits */
    }
  }




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lexend Deca", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

header{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px 0px 20px;
    position: fixed;
    top: 0;
    z-index: 999;
}

#headerImage:hover{
    cursor: pointer;
}

.helpContainer {
  margin-top: 80px;
  width: 50%;
}

h2 {
  color: transparent;
  background: linear-gradient(210deg, #ff9496, #ff090e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 0 30px 0px;
  text-align: center;
  font-size: 40px;
}

h1 {
    margin: 0 0 30px 0px;
    text-align: center;
    font-size: 40px;
  }

ol{
    display: grid;
    gap: 20px;
}

ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    list-style-type: none;
    justify-items: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

li{
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: black;
    transform: scale(1);
    transition: all 0.1s ease-in-out;

}

ul li:hover{
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

ol li:hover{
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

a {
    text-decoration: none;
    color: black;
  }

p {
  text-align: justify;
  font-size: 15px;
  margin: 0 0 20px 0px;
}

strong {
  font-size: 30px;
}

@media screen and (max-width: 1100px) {
  .helpContainer {
    width: 70%;
  }
}

@media screen and (max-width: 800px) {
  .helpContainer {
    width: 90%;
  }
}

@media screen and (max-width: 600px) {
  .helpContainer {
    width: 95%;
  }

  header{
    padding: 0px;
  }
}