body {
    text-align: center;
    font-family: sans-serif;
    min-height: 100vh;
    margin: 0;
    padding-top: 2.5em;
    background-image: url('/static/images/alphabet.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#status-bar {
    display: flex;
    justify-content: center;
    gap: 0.25em;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
#status-bar span {
    width: 1.5em;
    height: 1.5em;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    /*
     * Add a translucent background so each letter stands out over
     * the alphabet image.
     */
    background: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 2px #000;
}
#status-bar span.filled {
    background: #ff0;
}
#current-letter {
    width: 60vmin;
    height: 60vmin;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20vmin;
    margin: 0 auto 0 auto;
    user-select: none;
    /*
     * Use a light background and text shadow so the current letter
     * is readable against the backdrop.
     */
    background: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 4px #000;
}
@media (max-width: 600px) {
    body { font-size: 1.1em; }
    #current-letter { font-size: 24vmin; }
}
#back-button { margin: 0; }
#menu {
    position: fixed;
    top: 0;
    right: 0;
    text-align: right;
    margin: 0;
    padding: 0.5em;
    z-index: 1000;
}

#menu-toggle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.1em 0.25em;
    border-radius: 0.25em;
    border: none;
    cursor: pointer;
}

#nav-buttons {
    margin-top: 0.5em;
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-direction: row;
    flex-wrap: wrap;
}
#bottom-buttons {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: flex;
    justify-content: center;
    gap: 0.5em;
}

/*
 * Give headings and controls a subtle background so they stand out
 * against the alphabet image, similar to the hunt and bingo games.
 */
#title,
#nav-buttons button,
#bottom-buttons button,
#reset-top,
#instructions h2,
#instructions p {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.1em 0.25em;
    border-radius: 0.25em;
}
