body {
    margin: 0;
    background: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    font-family: sans-serif;
}

.keyboard {
    position: relative;
    width: 560px;
    height: 200px;
    margin-top: 40px;
}

.key {
    border: 1px solid #000;
    position: absolute;
    cursor: pointer;
}

.white {
    bottom: 0;
    width: 80px;
    height: 200px;
    background: white;
    z-index: 1;
}

.black {
    top: 0;
    width: 50px;
    height: 120px;
    background: black;
    z-index: 2;
}

.white span,
.black span {
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: black;
    pointer-events: none;
}

.black span {
    color: white;
}

#answerDisplay,
#question,
#controls {
    padding: 10px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
}

#question {
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
}

#controls button {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}

#answerDisplay {
    margin-top: 20px;
}

#answerDisplay.correct {
    background-color: blue;
}

#answerDisplay.incorrect {
    background-color: red;
}

#stats {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #444;
    padding: 10px;
    border: 1px solid #666;
    border-radius: 4px;
    width: 250px;
}

#stats div {
    margin-bottom: 5px;
}