body {
    font-family: 'Courier New', monospace;
    background-color: #222;
    color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 400px;
    position: relative;
}

.container-level{
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ddd;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ddd;
}

.clues {
    text-align: left;
    margin-bottom: 30px;
    border-left: 5px solid #555;
    padding-left: 20px;
}

.clues ul {
    list-style: none;
    padding: 0;
}

.clues li {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.input-area {
    margin-bottom: 30px;
}

input[type="text"] {
    padding: 12px;
    border: 2px solid #555;
    border-radius: 5px;
    background-color: #444;
    color: #ddd;
    width: 250px;
    font-size: 1em;
    font-family: 'Courier New', monospace;
}

button {
    margin-top: 10px;
    padding: 12px 24px;
    background-color: #555; /* Botón gris */
    color: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #777; /* Botón gris más claro al pasar el mouse */
}

#result {
    font-weight: bold;
    margin-top: 20px;
    color: #ff0000;
}

#timer {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #555;
    color: #ffcc00;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 1000;
}

#restart {
    margin-top: 20px;
    padding: 10px 20px;
}

#difficulty-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#difficulty-selection button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1.2em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);

}

.modal-content {
    background-color: #333;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);    
}

.modal-content button {
    margin-top: 20px;
}