:root {
    --main-color: #0e0;
    --inactive-color: #090;
    --button-color: #0c0;
}

@font-face {
    font-family: 'Courier Prime';
    src: url(CourierPrime-Bold.ttf);
    src: url(CourierPrime-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: 'Courier Prime';
    color: var(--main-color);
    background: #000 url(images/bg.png);
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto;
}

body {
    margin: 1em;
}

.centered, h1, form {
    text-align: center;
}

.hidden {
    display: none;
}

hr {
    position: relative;
    border: 1px solid var(--main-color);
    width: 104%;
    left: -2%;
    margin: 1em 0;
}

button {
    font: 0.9em 'Courier Prime';
    color: #000;
    background: var(--button-color);
    border: 2px solid var(--button-color);
    border-radius: 10px;
    padding: 0.2em 0.4em;
    margin-bottom: 0.5em;
}

input {
    font: 0.9em 'Courier Prime';
    color: var(--main-color);
    background: none;
    border: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 0.2em 0.4em;
    margin: 0;
}

button:active {
    position: relative;
    top: 2px;
    left: 2px;
}

h1 {
    font-weight: bold;
    font-size: 1.5em;
    margin: 0;
}

div, form {
    margin: 1em 0;
}

ul {
    margin: 1em 0 1em 1.5em;
    padding: 0;
}

li img {
    vertical-align: middle;
}

#prompt, #timer {
    margin-bottom: 1em;
}

@keyframes bounce {
    0% {
        top: 20px;
    }

    100% {
        top: -20px;
    }
}

.option {
    display: inline-block;
    margin: 0 1em;
    height: 150px;
    line-height: 150px;

    position: relative;

    animation: bounce 1s ease-in-out infinite alternate-reverse;
}

.option, .option * {
    vertical-align: middle;
}

.option:nth-child(3n + 1) {
    animation-delay: 0s;
}

.option:nth-child(3n + 2) {
    animation-delay: -0.4s;
}

.option:nth-child(3n) {
    animation-delay: -0.8s;
}

.option.selected:after {
    display: block;
    content: "";
    width: 100px;
    height: 127px;
    background: transparent url(images/this_one.png) no-repeat 50% 0%;
    position: relative;
    top: -50px;
}

.play {
    padding: 0em 0.2em;
}

.winner {
    font-weight: bold;
    text-decoration: underline;
}

.winner:after {
    content: " - Winner";
}

.loser {
    color: var(--inactive-color);
}

.votebar {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 1ex;
    height: 20px;
    width: 150px;
    border: 2px solid #060;
}

.progress {
    background: var(--main-color);
    margin: 0;
    height: 100%;
}

.controlsWrapper {
    margin-bottom: 0.5em;
    text-align: center;
}
