*{
	box-sizing: border-box;
}
@font-face{
	font-family: Tanha;
	src:  url('Tanha.woff');
}
body{
	font-family: Tanha;
	direction: rtl;

}
#bg{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-image: url('../images/bg.jpg');
	background-size: cover;
	background-repeat: repeat-x;
	overflow: hidden;
	/*animation: bgPlay 50s linear forwards;*/
}

#start_container{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.7);
	z-index: 99999;
	top: 0px;
	left: 0px;
}

#score_report{
	font-size: 1.5rem;
	width: 250px;
	text-align: center;
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#start{
	width: 80px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	cursor: pointer;
}
#animal{
	/*border: 1px solid black;*/
	width: 25vw;
	height: 23vw;
	background-image: url('../images/animal.gif');
	background-size: cover;
	position: fixed;
	bottom: 3px;
	left: 0px;
	z-index: 4;
	display: none;
}
#animal_body{
	/*border: 1px solid black;*/
	position: absolute;
	width: 15vw;
	height: 10vw;
	bottom: 0px;
	left: 50%;
	transform: translate(-50%,0px);
}

.rock{
	/*border: 1px solid black;*/
	width: 9vw;
	height: 5vw;
	background-image: url('../images/rock.png');
	background-size: cover;
	position: fixed;
	bottom: 2px;
	left: 120%;
	animation: rockPlay 5.5s linear;
	z-index: 3;
}

@keyframes rockPlay{
	to{
		left: -20%;
	}
}

@keyframes bgPlay{
	to{
		background-position: -10000px 0px;
	}
}


#score{
	position: fixed;
	top: 10px;
	left: 10px;
	min-width: 80px;
	padding: 3px;
	border: 1px solid black;
	background-color: black;
	border-radius: 5px;
	color: white;
}

#mute{
	position: fixed;
	top: 10px;
	right: 10px;
	background-color: black;
	color: white;
	border-radius: 3px;
	padding: 2px 3px 0px 3px;
	cursor: pointer;
}