@import url(https://fonts.googleapis.com/css?family=Gloria+Hallelujah);

@font-face {
	font-family: 'comic';
	src: url(./comic.ttf);
}

@font-face {
	font-family: 'comicbd';
	src: url(./comicbd.ttf);
}

@font-face {
	font-family: 'times';
	src: url(./times.ttf);
}

*{box-sizing: border-box;}

body {
	margin: 0; padding: 0;
	font-family: 'times';
}

.container {
	height: 552px;
	width: 422px;
	position: relative;
	margin: 20px auto 0; 
	overflow: hidden;
}

canvas {
	height: 552px;
	width: 422px;
	display: block;
	/* background: url(bg1.webp) top left; */
	/* background: #231f20 top left; */
	background:transparent;
	border-radius:17px;
}

#scoreBoard {
	width: 420px;
	height: 50px;
	/* background: rgba(182, 200, 220, 0.7); */
	position: absolute;
	top: -3px;
	left: 0;
	z-index: -1;	
	border-image: url(5BBsR.png) 100 5 round;
}

#scoreBoard p {
	font-size: 20px;
	padding: 0;
	line-height: 47px;
	margin: 0px 0 0 5px;
	font-family: comicbd;
	color: #fff;

}

img {display: none}
#mainMenu{
	background: url(./bg.webp) no-repeat;
	background-size: 100% 100%;
}
#mainMenu, #gameOverMenu {
	height: 100%;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

#gameOverMenu {
	visibility: hidden;
}
#gameOverMenu h1{
	font-family: comicbd;
	color: #fff;
}
#gameOverMenu h3{
	font-family: comicbd;
	color: #fff;
}

.passMenu{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	visibility: hidden;

}
.passMenu>input{
	width: 90%;
	height: 40px;
	font-size: 16px;
	text-align: center;
	margin: 20px 0;
}
.passMenu>.btnSend{
	width: 105px;
	height: 31px;
	background: url(2WEhF3.png) 0 0 no-repeat;
}
h2, h3, h1 {font-weight: normal}
h1 {
	font-size: 60px; 
	color: #ff6200; 
	transform: rotate(-10deg);
	margin: 0px;
}

h3 {text-align: right; margin: -10px 20px 0 0; color: #fff}
h3 a {color: #ff6200}

.button {
	width: 105px;
	height: 31px;
	background: url(2WEhF3.png) 0 0 no-repeat;
	display: block;
	color:  #fff;
	font-size: 12px;
	line-height: 31px;
	text-decoration: none;
	position: absolute;
	left: 50%;
	bottom: 50px;
	margin-left: -53px;
	font-family: comic;
}

.button.tweet {bottom: 100px; background-position: 0 -90px}
.button.fb {bottom: 150px; background-position: 0 -60px}

.info {position: absolute; left: 0; bottom: 0px; margin: 0; color: #fff;text-align: center;width: 100%;
	color:  #fff;
	font-family: 'comicbd';
}

.info .key {
	width: 16px;
	height: 16px;
	background: url(2WEhF3.png) no-repeat;
	text-indent: -9999px;
	display: inline-block;
}

.info .key.left {background-position: -92px -621px;}
.info .key.right {background-position: -92px -641px;}

.btns{
	position: absolute;
	bottom: 20px;
	left:0;
	width: 100%;
	/* height: 100px; */
	display: flex;
	justify-content: space-around;
	/* background: rgba(182, 200, 220, 0.7); */
	
}
.btns>div{
	display: none;
	opacity: .5;
	/* position: absolute;
	top:0; */
	width: 50px;
	height: 50px;
	background: url(./left.png) no-repeat;
	background-size: 100% 100%;
}

.btns>div:last-child{
	background: url(./right.png) no-repeat;
	background-size: 100%;
}

.mobile .btns > div {
    opacity: .5;
    width: 50px;
    height: 50px;
    display: block;
}

.mobile canvas {
    width: 100%;
	border-radius:0px;
}
.mobile .container{
	width: 100%;
}
.mobile .btns>div{
	display: block;
}

