html, body {
	margin: 0;
	padding: 0;
}




@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animated {
  animation-duration: .5s;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.bounce {
  animation-name: bounce;
}

#alienRunnerContainer td {
	padding: 0;
}

#alienRunnerContainer div {
	padding-top: 0 !important;
}

#alienRunnerScore {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 24px;
	font-weight: bold;
}

#alienRunnerWrapper {
	position: relative;
	max-width: 100%;
	height: 400px;
	overflow: hidden;
	background-color: #fcffcc;
}

#alienRunnerContainer .tilemap {
	border-collapse: collapse;
	table-layout: fixed;
}
	#alienRunnerContainer .tilemap td {
		min-width: 64px !important;
		height: 128px;
		box-sizing: border-box !important;
	} #alienRunnerContainer .tilemap td .platform {
		background: url(../data/gfx/BridgeTiles.png);

		width: 64px;
		height: 128px;
	} #alienRunnerContainer .tilemap td .spikes {
		background: url(../data/gfx/spikes.png);
		margin-top: 96px;
		/*border-bottom: 6px #111 solid;*/

		width: 64px;
		height: 32px;
	}

	#alienRunnerContainer .tilemap td .border-right {
		position: absolute;
		width: 12px;
		height: 128px;
		margin-left: 56px;
		background-color: #111;
	} #alienRunnerContainer .tilemap td .border-left {
		position: absolute;
		width: 12px;
		height: 128px;
		margin-left: 0px;
		background-color: #111;
	}

#alienRunnerContainer .player {
	position: absolute;
	z-index: 5;
	transform-origin: bottom; /* for when squishing happens */
}
	#alienRunnerContainer .player.run {
		background: url(../data/gfx/player_run.png);
		width: 55px;
		height: 110px;
	} #alienRunnerContainer .player.jump {
		background: url(../data/gfx/player_jump.png);
		width: 110px;
		height: 110px;
	} #alienRunnerContainer .player.die {
		background: url(../data/gfx/player_die.png);
		width: 110px;
		height: 110px;
	}

#alienRunnerContainer .bird {
	position: absolute;
	z-index: 7;
}
	#alienRunnerContainer .bird.fly {
		background: url(../data/gfx/bird_fly.png);
		width: 64px;
		height: 64px;
	}

#alienRunnerContainer .boulder {
	position: absolute;
	z-index: 6;
	width: 64px;
	height: 64px;
	background: url(../data/gfx/boulder.png);
}

#alienRunnerContainer .question {
	position: absolute;
	font-size: 24px;
	color: #111;
	font-weight: bold;
	text-align: right;
	white-space: nowrap;
	transform: translate(-100%, 0); /* align right */
	z-index: 3;
} #alienRunnerContainer .question input[type='text'] {
	font-size: 24px;
	font-weight: bold;
	margin-left: 5px;
	width: 80px;
	border: 2px #111 solid;
	border-radius: 5px;
	text-align: center;
} #alienRunnerContainer .question input[type='text'].active {
	border-color: #338dfd;
} #alienRunnerContainer .question div {
	border-bottom: 2px #111 solid;
	margin-bottom: 7px;
} #alienRunnerContainer sup {
	transform: translate(0, -12px) !important;
	vertical-align: super !important;
}

	#alienRunnerContainer .question .arrow {
		position: absolute;
		right: 24px;
		width: 32px;
		height: 32px;
		background: url(../data/gfx/location.png);
		top: -40px;
		border-bottom: 0;
	}

	#alienRunnerContainer .question.has-background {
		background-color: rgba(0, 0, 0, 0.75);
		color: #eee;
		border: 3px #795a27 solid;
		border-radius: 15px;
		padding: 10px !important;
	}

#alienRunnerContainer .text-header {
	position: absolute;
	font-size: 48px;
	font-weight: bold;
	white-space: nowrap;
} #alienRunnerContainer .text-header .sub-header {
	font-size: 24px;
	font-style: italic;
	white-space: nowrap;
}

#alienRunnerContainer .cloud {
	position: absolute;
	width: 450px;
	height: 300px;
	transition: transform 200s linear;
	opacity: 0.7;
} #alienRunnerContainer .cloud.alpha {
	background: url(../data/gfx/cloud1.png);
} #alienRunnerContainer .cloud.beta {
	background: url(../data/gfx/cloud2.png);
} #alienRunnerContainer .cloud.charlie {
	background: url(../data/gfx/cloud3.png);
}