@import 'https://fonts.googleapis.com/css?family=Inconsolata';

* {
    box-sizing: border-box;
}

html,
body {
    background-color: #000;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background: #222;
    background: radial-gradient(#444, #111);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Inconsolata', Helvetica, sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-shadow:
        0 0 1ex rgba(17, 17, 17, 1),
        0 0 2px rgba(255, 255, 255, 0.8);
    text-align: center;
}

.custom-font {
    font-family: "Permanent Marker", cursive;
}

.invert {
    color: rgba(4, 4, 4, 0.8);
    text-shadow:
        0 0 1ex rgba(238, 238, 238, 1),
        0 0 2px rgba(0, 0, 0, 0.8);
}

.overlay {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    background-size: auto 4px;
    z-index: 1;
}

.title {
    font-size: 100px;
    margin: 10px auto;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    width: 310px;
    margin: 10px auto;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.cell {
    font-family: "Permanent Marker", cursive;
    width: 100px;
    height: 100px;
    box-shadow: 2px 2px 2px 2px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 100px;
    font-size: 60px;
}

.status {
    font-size: 50px;
    margin: 20px auto;
}

.restart {
    background-color: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(0deg,
            transparent 0%,
            rgba(0, 0, 0, 0.2) 2%,
            rgba(0, 0, 0, 0.8) 3%,
            rgba(0, 0, 0, 0.2) 3%,
            transparent 100%);
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-family: 'Inconsolata', Helvetica, sans-serif;
    text-shadow:
        0 0 1ex rgba(17, 17, 17, 1),
        0 0 2px rgba(255, 255, 255, 0.8);
    color: #fff;
    box-shadow:
        0 0 1ex rgba(17, 17, 17, 0.4),
        0 0 2px rgba(255, 255, 255, 0.8);
    border: 2px solid white;
}