/* Styles Globaux */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

/* Styles du Générateur de Grille de Loto */
.options-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.option-group {
  align-items: center;
  margin-right: 1rem;
}

.option-group label {
  margin-right: 0.5rem;
}

.option-group input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 1rem;
}

.btn:hover {
  background-color: #0056b3;
}

.loto-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  grid-gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ccc; /* Ajouté une ligne pour séparer les grilles */
}

.number-bubble,
.lucky-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
}

.number-bubble {
  background-color: #f1f1f1;
}

.lucky-bubble {
  background-color: #ffd700;
}

/* Styles de l'Article */
article {
  margin-top: 2rem;
}

article h1,
article h2,
article h3 {
  margin-bottom: 1rem;
}

article ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

article th,
article td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

article th {
  background-color: #f1f1f1;
}

/* Styles Responsives */
@media (max-width: 768px) {
  .options-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .option-group {
    margin-bottom: 1rem;
  }

  .loto-grid {
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  }

  .number-bubble,
  .lucky-bubble {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}