* {
    box-sizing: border-box;
}

div.maze {
    display: table;
    border-collapse: collapse;
}

div.row {
    display: table-row;
    margin: 0;
    padding: 0;
}

div.cell {
    display: table-cell;
    border: 1px solid transparent;
    height: 2em;
    width: 2em;
    margin: 0;
    padding: 0;
}

div.cell.solution {
    background-color: lightgray;
}

div.cell.top {
    border-top-color: #000;
}

div.cell.right {
    border-right-color: #000;
}

div.cell.bottom {
    border-bottom-color: #000;
}

div.cell.left {
    border-left-color: #000;
}
div.cell.user {
    background-color: hotpink;
}
div.cell.solution.user {
    background-color: darkred;
}
input:invalid {
    border-color: #f00;
}
body {
    font-family: sans-serif;
    margin: 20px;
    padding: 0;
}

h1 {
    margin-top: 0;
    font-size: 22px;
}

h2 {
    margin-top: 0;
    font-size: 20px;
}

h3 {
    margin-top: 0;
    font-size: 18px;
}

h4 {
    margin-top: 0;
    font-size: 16px;
}

h5 {
    margin-top: 0;
    font-size: 14px;
}

h6 {
    margin-top: 0;
    font-size: 12px;
}

code {
    font-size: 1.2em;
}

ul {
    padding-left: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 20px;
    padding: 0;
}

.square {
    background: #fff;
    border: 1px solid #999;
    float: left;
    font-size: 24px;
    font-weight: bold;
    line-height: 34px;
    height: 34px;
    margin-right: -1px;
    margin-top: -1px;
    padding: 0;
    text-align: center;
    width: 34px;
}

.board-row:after {
    clear: both;
    content: '';
    display: table;
}

.status {
    margin-bottom: 10px;
}

.game {
    display: flex;
    flex-direction: row;
}

.game-info {
    margin-left: 20px;
}