HTML, BODY{
  margin: 0;
  height: 100%;
  width: 100%;
} 

#topdiv{
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  width: 100%;
  background-color: #e61b23;
  z-index: -9999;
}

CANVAS{
  border: solid #e61b23 20px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}

#qrcode{
	background: rgba(255,164,166,1); 
	width: 200px;
	height: 200px;
	margin: 0 auto;
	margin-top: -200px; /* fix */
	transform: translate(450px,50px);
	-webkit-transform: translate(450px,50px);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
  	border-radius: 15px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
	box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
}

@-webkit-keyframes rotate-webkit {
  from {
    -webkit-transform: rotate(0deg);
  }
  to { 
    -webkit-transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to { 
    transform: rotate(360deg);
  }
}

#loadingqrcode{
	background: Url(/media/happens_rotation.png);
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 100%;
	
	-webkit-animation-name:             rotate-webkit; 
    -webkit-animation-duration:         1s; 
    -webkit-animation-iteration-count:  infinite;
    -webkit-animation-timing-function: linear;
	
	animation-name:             rotate; 
    animation-duration:         1s; 
    animation-iteration-count:  infinite;
    animation-timing-function: linear;
}

#qrcodeimage{
	background-size: 170px, 170px;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 100%;
	position: relative;
	top: -100%;
}

#scanme{
	color: white;
	font-family: "Lucida Console", Monaco, monospace;
	font-weight: bolder;
	font-size: 26px;
	width: 100%;
	padding-top: 10px;
	height: 40px;
	position: relative;
	top: -100%;
	text-align: center;
	text-shadow: 0px 0px 10px rgba(51,51,51,0.5);
	visibility: hidden;
}

#playerstatus{
	background: rgba(255,164,166,1); 
	width: 200px;
	height: 200px;
	margin: 0 auto;
	transform: translate(-450px,50px);
	-webkit-transform: translate(-450px,50px);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
  	border-radius: 15px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
	box-shadow: 0px 0px 5px 0px rgba(51,51,51,1);
	text-align: center;
	color: white;
	font-family: "Lucida Console", Monaco, monospace;
	font-size: 180px;
	text-shadow: 0px 0px 10px rgba(255,255,255,0.8);
}

#avatar{
	margin-top: -15px; /* fix */
	background-size: 170px, 170px;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 100%;
	position: relative;
	top: -100%;
}

#playername{
	color: white;
	font-family: "Lucida Console", Monaco, monospace;
	font-weight: bolder;
	font-size: 18px;
	width: 100%;
	padding-top: 10px;
	height: 40px;
	position: relative;
	top: -100%;
	text-align: center;
	text-shadow: 0px 0px 10px rgba(51,51,51,0.5);
}
@font-face {
	font-family: "DigitalPoints";
	src: Url("/media/digital-7-webfont.woff");
}
	

#points{
	font-family: DigitalPoints;
	text-align: center;
	font-size: 50px;
	position: absolute;
	color : white;
	top: 50px;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 999;
	width: 100px;
	height: 50px;
}
	

#record{
	font-family: DigitalPoints;
	text-align: center;
	font-size: 15px;
	position: absolute;
	color : white;
	top: 100px;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 999;
	width: 100px;
	height: 50px;
}













