body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-image: url('src/Maquina-de-escrever.png');
    background-size: 100% auto ;
    background-repeat: no-repeat;
    margin: 0;
}

#game-container {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.submit-button {
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Bordas arredondadas */
    font-size: 1.5em; /* Tamanho da fonte */
    transition: background-color 0.3s ease; /* Transição suave */
}

.submit-button:hover {
    background-color: #45a049; /* Cor de fundo ao passar o mouse */
}

#word-container {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra leve */
    font-weight: bold; /* Texto em negrito */
}

#input-box {
    font-size: 1.5em;
    padding: 5px;
    margin-bottom: 40px; /* Ajuste o valor conforme necessário */
}

.virtual-keyboard {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column; /* Alterado para column para dividir em linhas */
    align-items: center; /* Centraliza as linhas */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.row {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.key {
    width: 40px;
    height: 40px;
    margin: 5px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    cursor: pointer;
    user-select: none;
    border-radius: 25px;
}

.key.highlight {
    background-color: rgba(255, 255, 0, 0.5);
}
.correct {
    color: green; /* Cor da letra quando correta */
    font-weight: bold;
}

.incorrect {
    color: red; /* Cor da letra quando incorreta */
    font-weight: bold;
}
.incorrect-input {
    background-color: #ffcccc; /* Cor de fundo vermelha para indicar erro */
    border: 1px solid red; /* Borda vermelha */
    transition: background-color 0.3s ease; /* Transição suave */
}