body {
	background: -webkit-linear-gradient(rgba(79, 151, 180, 0.4), rgba(0, 139, 116, 0.4)), url(../img/back.png);
	background: -o-linear-gradient(rgba(79, 151, 180, 0.4), rgba(0, 139, 116, 0.4)), url(../img/back.png);
	background: linear-gradient(rgba(79, 151, 180, 0.4), rgba(0, 139, 116, 0.4)), url(../img/back.png); 
	background-size: cover;
  	background-attachment: fixed;
	font-family: 'Press Start 2P', cursive;	
	text-transform: uppercase;
	color: white;
}

.container {
	margin: 30px auto 0 auto;
	width: 600px;
	overflow: hidden;
	position: relative;
}

a {
	color: #333;
	text-decoration: none;
}

h2 {
	margin: 0 auto;
	text-align: center;
	font-size: 25px;
	margin-bottom: 15px;
   	letter-spacing: 15px;    
  	animation-name: moveInLeft;
   	animation-duration: 0.7s;
   	animation-timing-function: ease-out;
}

canvas, #score, #high_score, #overlay a {
	background: -webkit-linear-gradient(rgba(79, 151, 180, 1), rgba(0, 139, 116, 1));
	background: -o-linear-gradient(rgba(79, 151, 180, 1), rgba(0, 139, 116, 1));
	background: linear-gradient(rgba(79, 151, 180, 1), rgba(0, 139, 116, 1));	
}

canvas {
	box-shadow: inset 1px 1px 150px #000;
   	border-radius: 25px;
}

#stats {
	width: 590px;
	padding: 5px;
	font-size: 12px;
	color: #fff;
	margin-bottom: 5px;
	overflow: auto;
}

#score, #high_score {		
	width: 25%;
	height: 30px;
	padding-top: 20px;
	display: inline-block;
	font-size: 10px;
	margin-right: 5px;
	text-align: center;	
	border-radius: 7px;
}

#reset_score {
	padding: 12px;
   	position: absolute;
  	margin: 5px 0 0 20px;

}

#overlay {
	display: none;
	color: #fff;
	font-size: 15px;
	text-align: center;
   	position: absolute;
   	top: 40%;
   	left: 50%;
   	transform: translate(-50%, -50%);
}

#overlay a {
	display: block;
	margin-top: 10px;
	padding: 10px;	
	box-shadow: 1px 1px 30px #3d3d3d;	
	border-radius: 20px;
	}	

button:hover,
#overlay a:hover {
	background: -webkit-linear-gradient(rgba(79, 151, 180, 0.7), rgba(0, 139, 116, 0.7));
	background: -o-linear-gradient(rgba(79, 151, 180, 0.7), rgba(0, 139, 116, 0.7));
	background: linear-gradient(rgba(79, 151, 180, 0.7), rgba(0, 139, 116, 0.7));
}

button {
	font-family: 'Press Start 2P', cursive;
	background: #3e7d7f;
	color: #fff;
	text-transform: uppercase;
	border: 2px solid #518e82;
	box-shadow: 1px 1px 8px #333;
}

@keyframes moveInLeft {
    0% {
     opacity: 0;
     transform: translateX(-100px);
    }
    
    80% {
     transform: translateX(10px);
    }
    
    100% {
     opacity: 1;
     transform: translateX(0);
    }
}