.container {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    width: min(900px, 90%);
    background-color: var(--container-bg);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80vh;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    margin: 0;
}

.heading {
    margin: 10px;
    font-weight: bolder;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    margin-top: auto;
    margin-bottom: 8px;
    padding: 10px;
    font-size: 0.9em;
    background-color: var(--panel-bg);
    border-radius: 16px;
}

header {
    padding: 10px;
    background-color: var(--panel-bg);
    border-radius: 16px;
}

/* Main game box: 60 characters wide, 24 lines high */
#game {
    font-family: 'Courier New', Courier, monospace;
    width: 80ch;
    max-width: 100%;
    line-height: 1.25;
    height: calc(24 * 1.25em);
    margin: 16px auto;
    padding: 12px;
    background: var(--card-bg);
    color: #ffffff;
    border-radius: 12pt;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: scroll;
    text-align: left;
}

/* from index.html */
#game a {
    color: var(--container-bg);
    text-decoration: underline;
}