/*
html, body { height: 100%; }

body {
  font: normal 100% 'Francois One';
  background: #333;
  color: black;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  -webkit-user-select: none; 
  -moz-user-select: none; 
  -moz-user-select: none; 
  -khtml-user-select: none;
}
*/

.sprite {
  box-sizing: border-box;
  -webkit-transform-origin: 0 0 0;
  -moz-transform-origin: 0 0 0;
  -webkit-transform: translate3d(0,0,0) rotate3d(0,0,0,0);
  -moz-transform: translate3d(0,0,0) rotate3d(0,0,0,0);
  -webkit-backface-visibility: visible;
  -moz-backface-visibility: visible;
}

.marking {
  border: 30px solid #fff;
  z-index: 18;
}


.goal {
  background: url("/assets/goal.png") no-repeat;
  background-size: 498px 166px;
  z-index: 10;
}

.goalie {
  background: url("/assets/goalie.png") no-repeat center center;
  background-size: 103px 119px;
  z-index: 15;
}


.ball {
  background: url("/assets/ball.png") no-repeat center center transparent;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
  z-index: 20;
}

.ballShadow {
  z-index: 19;
  background: #333;
  opacity: 0.6;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  border-radius: 15px;
}

#goalText {
  font-weight: normal;
  font-size: 200px;
  color: #fff;
  /* text-shadow: 2px 2px 1px #333; */
  position: absolute;
  z-index: 100;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -webkit-transform:  translate3d(50%,50%,-400) rotateZ(0deg) rotateX(0deg);
  -moz-transform:  translate3d(50%,50%,-400) rotateZ(0deg) rotateX(0deg);
  -webkit-transition: -webkit-transform 0.5s, -webkit-opacity 0.5s;
  -moz-transition: -webkit-transform 0.5s, -webkit-opacity 0.5s;
  -webkit-perspective: 600;
  -moz-perspective: 600px;
}

#goalText.visible {
  -webkit-opacity:   1;
  -moz-opacity:   1;
  -webkit-transform: translate3d(50%,50%,0) rotateZ(360deg) rotateX(720deg);
  -moz-transform: translate3d(50%,50%,0) rotateZ(360deg) rotateX(720deg);
}

#viewport {
  -webkit-perspective: 600;
  -moz-perspective: 600px;
  background: url("/assets/sky.png") repeat-x 0 -100px;
  background-size: 100% 400px;
  position: relative;
  
  margin: 0px auto;
  overflow: hidden;
  width:  800px;
  height: 400px;
}

#stage {
  position: absolute;
  width:  100%;
  height: 100%;
  top: 50%;
  left: 50%;
  z-index: 20;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-transform-origin: 0 0 0;
  -moz-transform-origin: 0 0 0;
}

#ground {
  /* background: #595; */
  background: url("/assets/ground.png") no-repeat top center;
  background-size: 100% 200px;
  top: 260px;
  left: 0;
  position: absolute;
  width: 100%;
  height: 200px;
  z-index: 13;
}

#riser {
  display: none;
  background: #159b68;
  border-bottom: 1px solid #262;
  position: absolute;
  top: 220px;
  left: 0;
  height: 40px;
  width: 100%;
  z-index: 13;
}

#crowd {
  /* background: url("/assets/crowd.jpg") repeat-x top left; */
  /* background-size: 190px 190px; */
  width: 100%;
  height: 380px;
  left: 0;
  top: 30px;
  position: absolute;
  z-index: 12;
}

#message {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  text-align: center;
  color: yellow;
  font: normal 60px "LiberatorRegular", Helvetica, Arial, sans-serif;
  color: #bebfc1;
  text-shadow: 1px 1px 5px #333;
}

#strikes {
  position: absolute;
  right: 10px;
  top: 10px;
  font: bold 24px 'Verdana';
}

#strikes span {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 30px;
  background: #333;
  border: 2px inset #777;
  color: #f66;
  text-align: center;
}

#score {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
}

#score span {
  color: #000;
}

#angles {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

#angles span {
  vertical-align: bottom;
  padding: 5px 8px;
  display: inline-block;
  background: rgb( 255, 45, 50);
  border: 2px outset rgb( 255, 70, 70);
  font-size: 24px; 
  
}

#angles span.current {
  background: #000;
  color: #fff;
  border-style: inset;
}

#gameover {
  position: absolute;
  left: 0;
  top:  0;
  width: 100%;
  height: 100%;
  /*margin: -100px 0 0 -150px;
   background: rgba(255,45,50,1);
  box-shadow: 0 0 8px #000; */
   background: transparent;
  font: normal 35px "LiberatorRegular", Helvetica, Arial, sans-serif;
  color: 
  #bebfc1;
  padding: 130px 0;
  color: #fff;
  text-align: center;
  line-height: 37px;
}

#gameover a {
  text-decoration: none;
  color: #fff;
  background: #000;
  padding: 5px 8px;
  font-size: 75%;
  padding-top: 8px;
  line-height: 75%;
}

.hud {
  z-index: 100;
  font-size: 28px;
  font-family: "PT Sans Narrow", Helvetica, Arial, sans-serif;  
  font-weight: bold;
  /* font: normal 28px Verdana; */
}
    
