body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Optional: to center vertically within the viewport */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:active {
    transform: translateY(2px); /* Moves the button down by 2 pixels to simulate a pushed effect */
}

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

#flipResult {
    margin-top: 20px; /* Add some space above the result */
    margin-bottom: 20px; /* Add some space below the result */
    font-size: 24px;
    text-align: center;
    color: #3f11e7;
}

#result {
    font-size: 24px;
    margin-top: 20px; /* Add some space above the result */
    margin-bottom: 20px; /* Add some space below the result */
    text-align: center;
    color: #333;
}

.spelling-bee-container {
    text-align: center;
    margin-top: 50px;
}

.letters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.letter {
    width: 60px;
    height: 60px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid #000;
    border-radius: 10px;
    background-color: #f0f0f0;
    cursor: pointer;
    user-select: none;
}

.letter:active {
    background-color: #d0d0d0;
}

.typed-word {
    font-size: 24px;
    margin-top: 20px;
    border: none;
    padding: 10px;
    min-height: 40px;
}