html { box-sizing: border-box; }

body { overflow: hidden; }

*,
*:before,
*:after {
    box-sizing: inherit;
}

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

main {
    display: grid;
    grid-template-areas: "player ai";
    grid-auto-columns: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.player-space { background-color: #dde1e7; }
.ai-space { background-color: #fcfafa; }

.player-space,
.ai-space {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas {
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
}

.choice {
    position: absolute;
    display: block;
    width: 100%;
    height: auto;
}

.actions {
    position: absolute;
    bottom: 4px;
    right: 4px;
}

.score {
    position: absolute;
    top: 8px;
    right: 0;
    left: 0;
    width: 100px;
    margin: 0 auto;
    padding: 4px;
    text-align: center;
    background-color: #212121;
    color: white;
    font-size: 1.25rem;
    border-radius: 3px;
}
