/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* Custom Styling */
button::-moz-focus-inner {
    border: 0;
}

.hide {
    display: none;
}

* {
    box-sizing: border-box;
}

body {
    color: white;
    background: #0f1013;
}

#main {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 14px;
    max-width: 768px;
    height: 100vh;
    border: 10px solid #067;
}

#test {
    position: absolute;
    top: 0;
    left: 0;
}

#disclaimer {
    display: flex;
    flex-direction: column;
}
#disclaimer.hide {
    display: none;
}
#disclaimer .game-title {
    margin-top: 60px;
    text-align: center;
}
#disclaimer .game-title span {
    border-bottom: 5px solid white;
    font-size: 40px;  
    text-transform: uppercase;
}
#disclaimer .warning {
    margin-top: 100px;

    font-size: 32px;  
    text-align: center;  
    text-transform: uppercase;
}
#disclaimer .warning .warning-title {
    color: red;
}
#disclaimer button {
    margin: 100px auto 0;
    width: 250px;
    height: 85px;

    background: #4a4545;
    color: white;
    font-size: 20px;
    border: none;
    outline: none;
    border-radius: 4px;
    border: 2px solid red;
    text-transform: uppercase;
}

#modeChange {
    text-align: right;
}
#modeChange .mode {
    color: aqua;
    text-transform: capitalize;
}
#modeChange button {
    margin-top: 10px;
    padding: 5px 10px;

    color: #00f400;
    background: none;
    outline: none;
    border: 1px solid#00f400;
}

#start {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
#start.hide {
    display: none;
}
#start img {
    max-height: 70vh;
    transition-duration: 1s;
    transition-property: transform;
}
#start img.rotate-out {
    transform: rotate(-1080deg) scale(0);
}
#start img.flash {
    filter: drop-shadow(2px 2px 0 white)
        drop-shadow(-2px 2px 0 white)
        drop-shadow(2px -2px 0 white)
        drop-shadow(-2px -2px 0 white);
}

#results {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 32px;
}
#results.hide {
    display: none;
}
#results .speed {
    margin-top: 10px;
    font-weight: 700;
}

#results button {
    margin-top: 60px;
    width: 250px;
    height: 85px;

    background: none;
    color: aqua;
    font-size: 20px;
    border: none;
    outline: none;
    border-radius: 4px;
    border: 2px solid aqua;
    text-transform: uppercase;
}