html, body {
    height: 100vh;
    width: 100vw;
    color: #fff;
    overflow: hidden;
    /* background: #000; */
    /* overflow: hidden; */
}

body {
    background-repeat: no-repeat;
    background-position: top right;
}

.instructions {
    border: 1px solid #ccc;
    background: #eeeeff;
    color: #000;
    margin: 10px 0;
    padding: 2px
}

.banner_bg {
    float: left;
    width: 100%;
    height: 100%;
    background: #000;
    /* transform: scale(1.3); */
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    /* background-attachment: fixed; */
}

.blur {
    filter: blur(1rem);
}

#choose {
    margin: 5% auto 0 auto;
    max-width: 750px;
}

#gamewrapper {
    display: none;
    padding-left: 12.5%;
    padding-right: 12.5%;
    padding-top: 5%;
    padding-bottom: 5%;
}

#mainwrapper {
    height: 100%;
    width: 100;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #000;
    padding-top: 1px;
    background-repeat: no-repeat;
    background-position: center;
    /* background-size:30% auto; */
    height: 100%;
    color: #fff;
    max-width: 700px;
    margin: auto;
    z-index: 1;
    display: flexbox;
    align-items: center;
    justify-content: top;
}

.random-image {
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width: 980px) {}

small {
    font-size: 1.5rem;
}

#gamewrapper>div {
    /* width: 75%; */
    max-width: 700px;
    margin: 5rem auto 0 auto;
}

#message {
    font-size: 36pt;
    margin-top: 5%;
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
}

#speed {
    margin: 50px auto 0 auto;
    text-align: center;
    display: none;
}

#progress {
    height: 25px;
    background-color: #222;
}

#progress .jerkbar, #progress .cumbar {
    height: 100%;
    float: left;
    width: 100%;
    position: relative;
}

#progress .jerkbar .text, #progress .cumbar .text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    color: #000;
    vertical-align: middle;
    line-height: 25px;
    color: #fff;
    display: none
}

#progress .cumbar {
    background-color: green;
    width: 25%;
    font-size: 12pt;
    display: none;
    background: linear-gradient(to right, rgba(0, 120, 0, 1) 0%, rgba(100, 255, 100, 1) 100%);
}

#progress .cumbar .separator {
    height: 100%;
    background: #000;
    width: 2px;
    float: left
}

#progress .bar {
    height: 100%;
    float: left;
    background-color: #fff;
    width: 0px;
    position: absolute;
    top: 0;
    left: 0;
}

#mainwrapper.stop #progress {
    background-color: red;
}

#mainwrapper.stop #progress .bar {
    background-color: #000;
}

#mainwrapper.go #progress {
    background-color: rgb(0, 120, 0);
}

#mainwrapper.go #progress .jerkbar {
    width: 75%;
}

#mainwrapper.go #progress .bar {
    background-color: #000;
}

#mainwrapper.go #progress .cumbar {
    display: block;
}

#mainwrapper.go #progress .cumbar .bar {
    background-color: red;
}

#mainwrapper.go #progress .text {
    display: block;
}

#mainwrapper.go {
    background-color: #001100;
}

.color-go {
    color: #001100;
}

#mainwrapper.stop {
    background-color: #330000;
}

.color-stop {
    color: #330000;
}

#mainwrapper.cancel {
    background-color: #ff0000;
}

.color-cancel {
    color: #ff0000;
}

#mainwrapper.finish {
    background-color: #009900;
}

.color-finish {
    color: #009900;
}

#mainwrapper.go #speed, #mainwrapper.stop #speed {
    display: block;
}

#mainwrapper.stop #flash, #mainwrapper.cancel #flash, #mainwrapper.finish #flash {
    display: none;
}

#flash {
    width: 10rem;
    height: 10rem;
    margin: auto;
    /* position:absolute;
    bottom:0;
    left:0; */
    text-align: center;
}

#flash.on {
    background: rgba(0, 255, 0, 0.5);
}

#flash.off {
    background: rgba(0, 0, 0, 0.75);
}

#flash span {
    text-transform: uppercase;
    line-height: 10rem;
    vertical-align: middle;
}

.container-flash {
    width: 100%;
}

.hide {
    display: none;
}