@font-face{ 
	font-family: 'Happy Sans';
	src: url('../pappufonts/happy_sans-webfont.eot');
	src: url('../pappufonts/happy_sans-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../pappufonts/happy_sans-webfont.woff') format('woff'),
	     url('../pappufonts/happy_sans-webfont.ttf') format('truetype'),
	     url('../pappufonts/happy_sans-webfont.svg#webfont') format('svg');
}

@import url(//fonts.googleapis.com/css?family=Open+Sans);

/* Loading */
#loading {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #FF6767;
	z-index: 10;
}

#loading #barCont {
	width: 400px;
	height: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -200px;
	background: black;
}

#loading #bar {
	width: 0;
	height: 20px;
	position: absolute;
	left: 0;
	background: #F3FF67;
}

#title, #loadText {
	text-align: center;
	color: #fff;
	margin-top: 20px;
	font-family: 'Happy Sans', cursive;
}

#loadText {
	line-height: 380px;
	font-size: 30px;
}

#fps_count {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 20px;
	color: white;
	font-family: 'Happy Sans', cursive;
}

#mute {
	width: 49px;
	height: 40px;
	background: url(../pappuimg/mute.png) no-repeat;
	display: block;
	text-decoration: none;
	outline: none;
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 15;
	background-position: 0 0;
}

.container {
	position: relative; 
	margin:0 auto;
	/* width: auto; */
	width: 950px;
	height: 475px;
}

#game_main {
  display: block;
  margin: 0 auto;
  position: absolute; top: 0px; left: 0px;
}
#game_bg {
	display: block;
	margin: 0 auto;
	position: absolute; top: 0px; left: 0px;
}

/* Score Board */
#score_board {
	position: absolute;
	top: 0; left: 0; right: 0;
	padding: 10px;
	height: 10%;
	text-align: left;
	font-size: 30px;
	font-weight: normal;
	font-family: 'Happy Sans', cursive;

	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#invincible_timer {
	width: 150px;
	height: 10px;
	position: absolute;
	top: 20px;
	left: 50%;
	border: 1px solid #fff;
	margin-left: -75px;
	display: none;
}
#invincible_loader {
	width: 100%; height: 100%;
	background: #FDCF7D;
}

/* Start Screen */
#start_screen {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	z-index: 1;
	width: 100%;

	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#title {
	font-size: 67px;
	line-height: 100px;
	font-weight: normal;
	color: #945430;
	text-align: center;
	margin: 0;
	padding: 0;
	text-shadow: 3px 3px 0px white;
}

#credits, #high_score, #last_score {
	font: 36px 'Happy Sans', cursive;
	color: white;
	padding: 0;
	text-align: center;
	margin: -10px 0 10px;
}

#credits a {
	color: #FFEEAA;
	text-decoration: none;
}

.options {
	height: 400px;
	background-image: url(../pappuimg/stand.png);
	background-position: bottom center;
	width: 225px;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	right: 50px;
}

.options:before {
	content: '';
	background-image: url(../pappuimg/dig.png);
	background-repeat: no-repeat;
	position: absolute;
	width: 47px;
	height: 49px;
	bottom: -1px;
	left: 50%;
	margin-left: -27px;
	z-index: -1;
}

.options ul {
	margin: 0;
	padding: 50px 0 0;
	list-style: none;
}

.options ul li {
	display: block;
	font: 40px 'Happy Sans', cursive;
	text-align: center;
	margin: 0 0 20px;
}

.options ul li a {
	color: #FFEEAA;
	text-decoration: none;
}

.options ul li:first-child {
	background: url(../pappuimg/plank_top.png) no-repeat top center;
	height: 70px;
	line-height: 70px;
}

.options ul li:nth-child(2) {
	background: url(../pappuimg/plank_mid.png) no-repeat top center;
	height: 63px;
	line-height: 63px;
}

.options ul li:last-child {
	background: url(../pappuimg/plank_bot.png) no-repeat top center;
	height: 75px;
	line-height: 85px;
}

.controls {
	width: 200px;
	height: 48px;
	background: url(../pappuimg/controls.png) no-repeat top center;
	margin: 10px auto;
	position: absolute;
	top: 60%; left: 50%;
	margin-top: -24px; margin-left: -100px;
}
