html,body,#page-wrapper {
	height:100%;
	background-color:#58595b;
}
* {
	font-family: "Fira Sans";
	font-weight: 700;
}
#start-screen {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:9990;
	/*background-color:rgba(280,280,280,0.9);*/
	background-color:#58595b;
	text-align: center;
}
#start-screen img {
	width:60%;
	max-width:400px;
	max-height:600px;
	display:block;
	margin:40px auto;
}
#save-score input[type="submit"],
button.restart-btn,
a.restart-btn,
a.start-elem,
#start-screen button {
	min-width:220px;
	padding:15px 25px;
	margin:auto;
	display:block;
    background-color: #1b75bc;
    border-radius: 10px;
    border: 2px solid #000;
	color: #ed1c24;
	/*text-shadow:1px 1px #fff;*/
	font-size: 32px;
	cursor:pointer;
	-moz-text-fill-color: #ed1c24;
    -webkit-text-fill-color: #ed1c24;
	-moz-text-stroke-color: #fff;
    -webkit-text-stroke-color: #fff;
	-moz-text-stroke-width: 1.2px;  
	-webkit-text-stroke-width: 1.2px;
	text-decoration: none;
}
a.start-elem {
    display: inline-block;
    margin: 8px auto 0;
    box-sizing: border-box;
}
#start-counter {
	font-size: 80px;
    text-align: center;
    /* margin-top: 20%; */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25%;
    color: #fff;
    letter-spacing: 5px;
}
#game-status {
	text-align:center;
    color: #fff;
    font-size: 32px;
	padding-top: 16px;
}
#game-status > div {
	display:inline-block;
	text-align:center;
	width:20%;
}
#game-lives,
.game {
	max-width:1024px;
	margin:auto;
}
#game-lives img {
	height:32px;
	width:auto;
}
#minutes,
#seconds,
#bonus,
#lvl {
	display:inline-block;
	min-width:35px;
	/*margin:;*/
}
table.background {
	background:url('img/bg.png');
	background-size:auto 100%;
}
table.background td {
	background-color:transparent;
}
table.background td.wall {
	background-size:contain;
	background-image:url('img/plank.png');
}
table.background td.lava {
	background-size:contain;
	background-image:url('img/lava2.gif');
}
table.background td.pedro {
	position: relative;
}
table.background td.pedro:before {
	content:'';
	display:block;
	position:absolute;
	left:0;
	bottom:0;
	width:20px;
	height:40px;
	background-image:url('img/pedro.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.actor.lava {
	background-size:contain;
	background-image:url('img/star.gif');
	background-color:transparent;
	background-repeat:no-repeat;
}
.actor.lava.bat {
	background-image:url('img/star.gif');
}
.actor.lava.monkey {
	background-image:url('img/star.gif');
}
.actor.coin {
	background-size:contain;
	background-image:url('img/coin.gif');
}
.actor.player {
	position:absolute;
	background-color:transparent;
	background-image:url('img/walk.gif');
	background-size:cover;
}
.actor.player.back {
	background-image:url('img/walk.gif');
}
.actor.player.jump {
	background-image:url('img/jump.gif');
	min-width:33px;
}
.actor.player.die {
	background-image:url('img/die.gif');
}
#pc-guide {
	text-align: center;
    color: #ffffff;
    font-size: 28px;
    border-top: 1px solid #fff;
    max-width: 50%;
    margin: 25px auto;
    padding-top: 25px;
}
#save-score {
	max-width: 220px;
	margin: 40px auto;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding-top: 12px;
    padding-bottom: 25px;
}
#save-score span {
	margin-bottom:8px;
}
#save-score input:not([type="checkbox"]) {
	width:100%;
    padding: 8px 12px;
    box-sizing: border-box;
	border-radius: 5px;
	border: 2px solid #000;
	box-shadow: none;
	margin-top:8px;
	margin-bottom:8px;
}
#save-score input[type="submit"] {
	width:100%;
	margin-top:12px;
	font-size: 28px;
	background:#999;
	pointer-events: none;
}
#save-score #allow-news:checked ~ input[type="submit"] {
	pointer-events: auto;
	background:#1b75bc;
}
@media all and (max-width:1024px) {
	#pc-guide {
		display: none;
	}
}
@media all and (max-width:767px) {
	#start-screen img {
		max-height: 200px;
		margin-top: 5px;
		margin-bottom: 5px;
		width: auto;
	}
	#game-status {
		position: absolute;
		top:0;
		left:0;
		font-size:90%;
	}
	#game-status > div {
		width: auto;
		margin-left:12px;
	}
	#minutes, #seconds, #bonus, #lvl {
		min-width: 20px;
	}
}
