@font-face {
    font-family: 'Lanapixel';
    src: url('lanapixel.woff2') format('woff2');
}

@font-face {
    font-family: 'Arkpixel';
    src: url('ark-pixel-10px-monospaced-latin.ttf') format('truetype');
}

body {
    font-family: 'Lanapixel', monospace;
    background: #2A2928;
    color: #E0DCD7;
    margin: 0;
    font-size: 16px;
    image-rendering: pixelated;
    font-smooth: never;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    background: #232221;
    border-bottom: 2px solid #47423E;
}

.logo {
    height: 96px;
    image-rendering: pixelated;
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #8A7D77;
    background: #1a1919;
    border-bottom: 1px solid #47423E;
}

nav a {
    color: #8A7D77;
    text-decoration: none;
    margin-left: 20px;
}

.stats a {
    color: #8A7D77;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
}

.stats a.active {
    color: #E0DCD7;
}

nav a:hover, .stats a:hover {
    color: #CC668A;
}

main {
    padding: 20px;
}

#games-list,
#my-games-list {
    background: #1a1919;
    border: 1px solid #47423E;
    border-radius: 4px;
    padding: 10px;
}

.game-row {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #47423E;
    cursor: pointer;
}

.game-row:last-child {
    border-bottom: none;
}

.game-row:hover {
    background: #47423E;
}

.play-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    image-rendering: pixelated;
}

.game-info {
    flex: 1;
}

.game-title {
    color: #E0DCD7;
    margin-bottom: 2px;
}

.game-meta {
    color: #8A7D77;
    font-size: 16px;
}

input[type="text"],
textarea {
    font-family: 'Lanapixel', monospace;
    font-size: 16px;
    color: #E0DCD7;
    background: #0f0f0f;
    border: 1px solid #47423E;
    border-radius: 4px;
    padding: 8px;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #d34bb3;
}

label {
    font-family: 'Lanapixel', monospace;
    font-size: 16px;
}

button {
    font-family: 'Lanapixel', monospace;
    font-size: 16px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-image: url('/check_off.png');
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    margin: 0;
    padding: 0;
}

input[type="checkbox"]:checked {
    background-image: url('/check_on.png');
}

.error-message,
.empty-message {
    padding: 20px;
    color: #8A7D77;
}

code {
    font-family: 'Arkpixel', monospace;
    font-size: 15px;
    color: #E0DCD7;
    font-smooth: never;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
}

codeComment {
    font-family: 'Arkpixel', monospace;
    font-size: 15px;
    color: #8A7D77;
    font-smooth: never;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
}

codeNumber {
    font-family: 'Arkpixel', monospace;
    font-size: 15px;
    color: #68A7A0;
    font-smooth: never;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
}
