body {
    margin: 0;
    background-color: rgb(30, 30, 30);
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    user-select: none;
}

#game {
    font-family: Geo;
    color: rgb(200, 200, 100);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
    width: 8em;
    height: 12em;
    /* background-color: rgb(30, 30, 30); */
}

#game .background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#game .background canvas {
    width: 100%;
    height: 100%;
}

#game .screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10;
}

#game .screen.active {
    display: block;
}

#splash-screen {
    text-align: center;
    padding-top: 2.5em;
}

#splash-screen .continue {
    cursor: pointer;
    font-size: 0.75em;
    display: block;
    margin-top: 1.5em;
}

.logo {
    font-family: Slackey;
    font-size: 1.5em;
    line-height: 0.9em;
    margin: 0;
    text-align: center;
    color: rgb(70, 120, 20);
    text-shadow:
        0.03em 0.03em 0.03em rgb(255, 255, 0),
        -0.03em -0.03em 0.03em rgb(255, 255, 0),
        0.10em 0.15em 0.15em rgb(0, 0, 0);
}

/* Jewel size */
.jewel-size {
    font-size: 40px;
}

#jewel-proto {
    position: absolute;
    width: 1em;
    height: 1em;
    left: -1000px;
}

/* Main menu */
#main-menu {
    padding-top: 1em;
}

ul.menu {
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.menu li {
    margin: 0.65em 0;
}

ul.menu li button {
    font-family: Slackey, sans-serif;
    font-size: 0.6em;
    color: rgb(100, 120, 0);
    width: 10em;
    height: 1.5em;
    background: rgb(10, 20, 0);
    border: 0.1em solid rgb(255, 255, 0);
    border-radius: 0.5em;
    box-shadow: 0.2em 0.2em 0.3em rgb(0, 0, 0);
}

ul.menu li button:hover {
    background: rgb(30, 40, 0);
}

/* Install screen for iOS devices */
#install-screen {
    padding-top: 0.5em;
    text-align: center;
}

#install-screen span {
    font-size: 0.75em;
    display: inline-block;
    padding: 0 0.5em;
}

#game-screen .game-board .board-bg,
#game-screen .game-board .board {
    position: absolute;
    width: 100%;
}

#game-screen .game-board .board {
    z-index: 10;
}

#game-screen .game-board .board-bg {
    z-index: 0;
}