body {
    font-family: 'Ubuntu', sans-serif;
    background-image: url(../../img/web-design-technology-browsing-programming-concept.jpg);
    backdrop-filter: brightness(.1);
    color: #333;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

header, .actions-container {
    text-align: center;
    margin-bottom: 1rem;
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 1rem 0;
}

.grid-container {
    display: grid;
    border: 2px solid #333;
    background-color: #000;
}

.grid-cell {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 1px solid #ccc;
    position: relative;
}

.grid-cell.block {
    background-color: darkslategray;
    border: 1px solid slategray;
}

.grid-cell input {
    width: 100%;
    height: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    padding: 0;
    background-color: transparent;
}

.grid-cell input:focus {
    outline: none;
    background-color: #fffde7;
}

.grid-cell .clue-number {
    position: absolute;
    top: 1px;
    left: 2px;
    font-size: 0.6rem;
    font-weight: bold;
    color: #555;
    pointer-events: none;
}

.grid-cell.correct input {
    color: #28a745; /* Green */
}

.grid-cell.incorrect input {
    color: #dc3545; /* Red */
}

.clues-container {
    display: flex;
    gap: 2rem;
    max-width: 400px;
}

.clues {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.clues h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.clues ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.clues li {
    margin-bottom: 0.5rem;
}

.clues li.correct {
    text-decoration: line-through;
    color: #888;
}

.actions-container button {
    padding: 10px 20px;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.2s;
}

#check-button {
    background-color: #007bff;
}

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

#restart-button {
    background-color: #dc3545;
}

#restart-button:hover {
    background-color: #c82333;
}

.message {
    position: fixed;
    top: 20px;
    background-color: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 10000;
}

h1 {
    color: white !important;
}
@media (max-width: 800px) {
    .clues-container {
        flex-direction: column;
    }
}
