/* 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;
}

/* Layout Styles */

html, body {
  overflow: hidden;
}
body {
  font-size: 1em;
  line-height: 1.5;
  background: #e7e7e7 url(../assets/body-bg.png) 0 0 repeat;
  font-family: 'Helvetica Neue', Helvetica, Arial, serif;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #6d6d6d;
}

#container {
	background: transparent url(../assets/highlight-bg.jpg) 50% 0 no-repeat;
}

#inner {
  width: 100%;
  margin: 0;
}
.__old_inner {
  width: 960px;
  margin: 0 auto;
}

header {
  padding-top: 15px;
  padding-bottom: 15px;
}

header h1 {
  text-align: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, serif; 
  font-weight: 200;
  letter-spacing: -1px;
  font-size: 52px;
  color: #303030;
  line-height: 1.2;
}

h2, #scores {
  letter-spacing: -1px;
  font-size: 24px;
  color: #777;
  font-weight: normal;
  line-height: 1.3;
}

.description {
  text-align: center;
}

#scores {
  position: fixed;
  top: 5px;
  left: 0;
  width: 100%;
  z-index: 10;
}

#instructions {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 10;
}

#arena {
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1;
}

#startScreen {
  width: inherit;
  height: inherit;
  background: transparent url(../assets/favicon.png) 50% 90px no-repeat;
  background-size: 250px auto;
  position: absolute;
}

#restartScreen {
  width: inherit;
  height: inherit;
  background: rgba(35,38,42,0.93);
  position: absolute;
  display: none;
}

canvas
{
	border:solid thick;
}

hr {
  height: 1px;
  line-height: 1px;
  margin-top: 1em;
  border: none;
  background: transparent url('../assets/hr.png') 50% 0 no-repeat;
}

p {
	font-weight: 300;
	margin-bottom: 15px;
}

strong {
	font-weight: bold;
}

a {
  color: #d5000d;
}
a:hover {
  color: #c5000c;
}

a.button {
  cursor: pointer;
  text-align: center;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border-top: solid 1px #cbcbcb;
  border-left: solid 1px #b7b7b7;
  border-right: solid 1px #b7b7b7;
  border-bottom: solid 1px #b3b3b3;
  color: #303030;
  line-height: 25px;
  font-weight: bold;
  font-size: 15px;
  padding: 12px 30px 12px 30px;
  display: block;
  width: 100px;
  margin: 10px auto;
  background: #fdfdfd; /* Old browsers */
  background: -moz-linear-gradient(top,  #fdfdfd 0%, #f2f2f2 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
  background: linear-gradient(top,  #fdfdfd 0%,#f2f2f2 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
  -webkit-box-shadow: 10px 10px 5px #888;
  -moz-box-shadow: 10px 10px 5px #888;
  box-shadow: 0px 1px 5px #e8e8e8;
}
a.button:hover {
  border-top: solid 1px #b7b7b7;
  border-left: solid 1px #b3b3b3;
  border-right: solid 1px #b3b3b3;
  border-bottom: solid 1px #b3b3b3;
  background: #fafafa; /* Old browsers */
  background: -moz-linear-gradient(top,  #fdfdfd 0%, #f6f6f6 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
  background: linear-gradient(top,  #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}

a.button span {
  padding-left: 50px;
  display: block;
  height: 23px;
}

a.button.controls {
  cursor: default;
  width: 10px;
}

#restart, #start {
  border: none;
  background: #E8592E;
  color: #fff;
  text-shadow: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

#restart:hover, #start:hover {
  background: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#restartWrapper {
  position: relative;
  top:33%;
}

#startWrapper {
  position: relative;
  width: 900px;
  margin: 450px auto 0;
}

#controlsWrapper {
  width: 800px;
  margin: 0 auto;
}

.arenaHeader {
  margin-bottom: 20px;
}

.player {
  float: left;
  width:400px;
  height:230px;
}

.controls.float {
  float: left;
  margin: 0px 10px;
}

@-webkit-keyframes glow {
  from {
    box-shadow: 0px 0px 20px #F29A33;
  }
  50% {
    box-shadow: none;
  }
  to {
    box-shadow: 0px 0px 20px #F29A33;
  }
}

@keyframes glow {
  from {
    box-shadow: 0px 0px 20px #F29A33;
  }
  50% {
    box-shadow: none;
  }
  to {
    box-shadow: 0px 0px 20px #F29A33;
  }
}

a.button.fire {
  animation-duration: 3s;
  animation-name: glow;
  animation-iteration-count: infinite;
  -webkit-animation-name: glow;
  -webkit-animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
}

.centerRow {
  width:276px;
  height: 50px;
  margin: auto;
}

.controls.down {
  clear: both;
}

#start{
  clear: both;
}
