body {
    margin: 0;
    padding: 40px;
    background: #252629;

    font-family: 'Merienda';
    font-size: 1.3em;
    color: #aaa;
}

#canvas-container {
    max-width: 640px;
    margin: 0 auto;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.content {
    max-width: 640px;
    margin: 0 auto;
}

h1 {
    font-size: 2.6em;
    color: #d14836;
    text-align: center;
}

h2 {
    color: #555;
    margin-bottom: 0.4em;
}

p {
    margin: 0.5em 0;
}

key {
    text-decoration: underline;
}

td {
    width: 50%;
    vertical-align: top;
    padding-bottom: 15px;
}

a, a:visited, a:link, a:hover, a:active {
    color: white;
}

table.items-table td {
    width: auto;
    vertical-align: middle;
}

img {
    width: 64px;
    height: 64px;
    margin-right: 20px;
    image-rendering: pixelated;
}

#game-messages {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#game-condition {
    position: absolute;
    left: 2vw;
    top: 79%;
    font-size: 5vw;
    color: white;
}
@media screen and (min-width: 640px) {
    #game-condition {
        left: 3%;
        font-size: 50px;
    }
}

.game-message {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    aspect-ratio: 1;

    /* font-family: 'VT323'; */

    overflow: hidden;

    opacity: 0;
    transition: opacity 0.5s;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
}

.game__box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-top: 100px;
    background: beige;
    border: 8px solid brown;
    color: brown;
    text-align: center;
    padding-bottom: 1em; */
}

.game__box h1 {
    font-size: 10vw;
    color: white;
    text-shadow: 0 0 7px black;
}
@media screen and (min-width: 640px) {
    .game__box h1 {
        font-size: 100px;
    }
}