/* 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;
}

/************************************************************
* End css reset
************************************************************/

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #ffffff;
    margin: 0;
    overflow: hidden;
    font-family: arial;
}

#blocker {

    position: absolute;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.5);

}

#instructionsText {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

#instructions {
    display: none;
    position: fixed;
    text-align: center;
    left: 50%;
    top: 50%;
    width: 600px;
    height: 160px;
    border: #fb0 dotted 4px;
    background-color: #fff;
    cursor: pointer;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);    
}

#scoreBoard {
    background-color: #000;
    color: #fff;

    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);

    font-size: 60px;

    padding: 0;
    border-radius: 25px 25px 0 0;
    overflow: hidden;    
}

.score {
    display: inline-block;
    padding: 4px 16px;
}

#score0 {
    background-color: #00f;
}

#score1 {
    background-color: #f00;
}

/*
    http://stackoverflow.com/questions/1776915/how-to-center-absolute-element-in-div
*/
.centeredX {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}
.centeredXY {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}


.team1 {
    background-color: #ff9999;
}

.team0 {
    background-color: #9999ff;
}

.blue {
    color: #3333ff;
}

#gameOver {
    background-color: #ffffff;
    font-size: 5em;
    font-weight: bold;
    text-align: center;
}

.wonToast {
    font-size: 4em;
}

strong {
    font-weight: bold;
}

h2 {
    font-size: 2em;
}


