body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    margin: 15px;
    line-height: 1.5;
}

h1 {
    color: #333;
    margin-bottom: 5px;
}

p {
    color: #555;
    text-align: center;
    max-width: 600px;
}

#map-container {
    width: 90%;
    max-width: 800px;
    height: 500px; /* Altura definida para el mapa Leaflet */
    border: 1px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
    width: 100%;
    background-color: #e8f0f8; /* Color de fondo mientras carga */
}


#game-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

#question-text {
    font-weight: bold;
    font-size: 1.1em;
    min-height: 1.2em;
    color: #0056b3;
}

.input-group {
    margin: 15px 0;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: calc(100% - 22px); /* Ajusta el ancho considerando el padding */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

button {
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#feedback {
    margin-top: 15px;
    font-weight: bold;
    min-height: 1.2em; /* Evita que la disposición salte */
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.hidden {
    display: none;
}
