body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #F29C85;
}
h1{
	color:#E3DC74;
}
p{
	color:#E3DC74;
}
h2{
	color:#E3DC74;
}
#svgContainer {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border: 1px solid #eee;
    line-height: 0; /* Évite des espaces vides sous le svg */
}

svg {
    width: 100%;
    height: auto; /* En CSS, 'auto' fonctionne parfaitement */
    display: block;
}

/* On s'assure que les chemins sont visibles */
path {
    fill: #d3d3d3; /* Gris par défaut */
    stroke: #ffffff; /* Bordures blanches */
    stroke-width: 1px;
}

/* Couleurs du jeu */
.region-found {
    fill: #2ecc71 !important;
}
.region-missed {
    fill: #e74c3c !important;
}

input {
    padding: 8px;
    font-size: 16px;
  }
  
#grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 20px auto;
}

.case {
    border: 2px dashed #aaa;
    padding: 10px;
    min-height: 40px;
    background: white;
    font-weight: bold;
}

button {
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
}

.btn-retour {
    display: inline-block;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-retour:hover {
    background-color: #666;
}