html, body {
    padding: 0;
    margin: 0;
}

body {
    background: #2d2d2d;
    height: 100%;
    min-height: 100vh;
    font-family: 'IBM Plex Mono', monospace;
}

div#game {
    position: absolute;
    top: 10%;
    left: 0;
    height: 80%;
    width: 100%;
    color: #c0c0c0;
    background: transparent;
}

div#game #title {
    position: absolute;
    text-align: center;
    left: 10%;
    width: 80%;
    font-size: 3em;
    font-weight: 400;
    top: 30%;
    color: #e0e0e0;
}

div#game #title .dot {
    color: #e8654a;
}

div#game #gamelist {
    list-style-type: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 55%;
    font-size: 0.9em;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    background: transparent;
}

div#game #gamelist li {
    padding: 8px 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.15s ease;
}

div#game #gamelist li:hover {
    color: #e8654a;
}

#header {
    text-align: center;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    top: 5%;
    background: transparent;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

#header p {
    margin: 0;
}

#games li {
    display: inline;
}

.x {
    display: none;
}

#lose {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 1.5em;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    color: #c0c0c0;
}

#lose p {
    position: relative;
    top: 30%;
}

#lose #playagain {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.15s ease;
}

#lose #playagain:hover {
    color: #e8654a;
}
