@keyframes animLand {
   0% { background-position: 0px 0px; }
   100% { background-position: -100500px 0px; }
}

@keyframes animSky {
   0% { background-position: 0px 100%; }
   100% { background-position: -5500px 100%; }
}

@keyframes animChara {
   from { background-position: 0px 0px; }
   to { background-position: 0px -96px; }
}

body {
	overflow:hidden;
}

#gamescreen {
	position: absolute;
	width: 100%;
	height: 100%;
}

#gamecontainer {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 525px;
}

.chara {
    position: absolute;
    top: 30%;
    width: 108px;
    height: 180px;
    /*
    animation: animChara 300ms steps(4) infinite;
    */
}

.jin {
    left: 15%;
    background-image: url('../assets/fly_jin.png');
}

.aya {
    left: 10%;
    background-image: url('../assets/fly_aya.png');
}

.fuku {
    left: 5%;
    background-image: url('../assets/fly_fuku.png');
}


#splash {
    z-index: 5;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center; 
    background-attachment: fixed; 
    background-image: url(../assets/splash.png);
    background-repeat: no-repeat;
}

#result {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center; 
    background-attachment: fixed; 
    background-image: url(../assets/result.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

#uniqueUser {
    display: none;
    color: white;
    font-size: 16px;
    position: fixed;
    bottom: 5%;
    left: 1%;
}

#version {
    display: block;
    color: white;
    font-size: 16px;
    position: fixed;
    bottom: 5%;
    right: 1%;
    opacity: 0.5;
}

#resultText {
    display: none;
    text-align: left;
    line-height: 2em;
    font-size: 42px;
    letter-spacing: 3px;
    color: black;
    font-weight: bold;
    position: absolute;
    top: 60%;
    left: 55%;
    text-shadow: white 1px 1px 1px;
}

#resultScore {
    font-size: 64px;
    color: red;
    text-shadow: black 1px 1px 1px;
}

#score {
    display: none;
    font-size: 120px;
    color: white;
    font-weight: bold;
    position: fixed;
    top: 88px;
    right: 1%;
    height: 100%;
    text-shadow: 2px 2px 1px #000, -2px 2px 1px #000, 2px -2px 1px #000, -2px -2px 1px #000;
}

#sky {
    z-index: 1;
	position: absolute;
	top: -100px;
	width: 100%;
	height: 100%;
	background-image: url('../assets/sky.png');
	background-repeat: repeat-x;
	background-position: 0px 100%;
	background-color: #a2d6ca;
	animation: animSky 140s linear infinite;
}


#land {
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 10%;
	background-image: url('../assets/land.png');
	background-repeat: repeat-x;
	background-position: 0px 0px;
	background-color: #ded895;
	animation: animLand 503s linear infinite;
}

#ceiling {
	position: absolute;
	top: 100px;
	width: 100%;
	height: 80px;
	background-image: url('../assets/ceiling.png');
	background-repeat: repeat-x;
	background-position: 0px 0px;
	background-color: #ded895;
	animation: animLand 503s linear infinite;
}

#nicoText {
    z-index: 3;
	position: absolute;
	left: 100%;
	white-space: nowrap;
	color: white;
	font-weight: bold;
	text-shadow: black 1px 1px 1px;
	font-size: 64px
}