body {
	margin: 0;
	background-color: #333;
	overflow: hidden;
	font-family: helvetica;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	touch-action: manipulation;
	user-select: none;
}

#game-window {
	position: relative;
	width: 600px;
	height: 380px;
	overflow: hidden;
	z-index: 3;
	background-color: #fff;
	top: 50%;
	transform: translateY(-50%);
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px;
}

	@-moz-document url-prefix() {
		#game-window {
			top: 50vh;
		}
	}

#countdown {
	width: 600px;
	position: absolute;
	top: 55px;
	text-align: center;
	vertical-align: middle;
	font-size: 44px;
	line-height: 17px;
	z-index: 500;
	font-family: "Kode Mono", monospace;
	color: #f5490f;
	text-shadow: 3px 2px #6f66f2;
}

#start, #again {
	position: absolute;
	z-index: 1000;
	cursor: pointer;
	background-image: linear-gradient(#ed3102 10%, #94260a);
	text-shadow: 3px 2px #6f66f2;
	color: #fff;
	font-size: 35px;
	text-align: center;
	height: 35px;
	padding-top: 6px;
	padding-bottom: 14px;
	border-radius: 9px;	
	font-family: "Kode Mono", monospace;
	line-height: 43px;
}

#start {
	left: 10;
	top: 261;
	width: 239px;
}

#again {
	cursor: pointer;
	position: absolute;
	top: 319;
	left: 208;
	z-index: 3000;
	width: 188px;
    	text-align: center;
}

#stop {
	position: absolute;
	top: 50;
	left: 400;
	z-index: 1000;
	-webkit-user-select: none;
}

#hazard {
	position: absolute;
	top: 150px;
	translateY: 400px;
	width: 50px;
	z-index: 100;
}

#railings {
	position: absolute;
	z-index: 50;
	overflow-X: visible;
	top: 129;
}

#railings-pic {
	height: 55px;
}

#ground {
	height: 140px;
	width: 100%;
	position: absolute;
	overflow-X: visible;
	top: 180;
	z-index: 75;
	background-image: linear-gradient(#525252, #8b8b8b);
}

#sea {
	position: absolute;
	z-index: 10;
	top: 110;
	height: 80px;
	background-image: linear-gradient(#b0cdff, #1e71ff);
}

#shimmer {
	position: relative;
	width: 800px;
	height: 70px;
	left: -90;
	top: -8;
	opacity: 0.6;
}

#parasols0, #parasols1 {
	position: absolute;
	top: 100;
	z-index: 11;
}

#parasols-small0, #parasols-small1 {
	height: 130px;
}

#sky {
	position: absolute;
	top: 0;
	height: 150px;
	width: 600px;
	background-image: linear-gradient(#469eff, #bbdefd);
}

#character {
	width: 20px;
	background-color: #ed3102;
	position: absolute;
	top: 50;
	left: 50;
	z-index: 100;
	display: none;
}

#legs {
	position: absolute;
	top: 100;
	left: 34px;
	z-index: 93;
	}

#ouch {
	position: absolute;
	top: 100;
	left: 44;
	z-index: 2000;
}

#bop {
	position: absolute;
	top: 32;
	font-size: 44px;
	color: #f5490f;
	text-shadow: 3px 2px #6f66f2;
	width: 600px;
	text-align: center;
	z-index: 94;
	font-family: "Kode Mono", monospace;
	font-weight: 600;
}

#button-area {
	height: 80px;
	position: absolute;
	top: 300;
	width: 600px;
	background-color: #000;
	clear: both;
	z-index: 93;
}

.a-button {
	background-color: #ed3102;
	width: 50%;
	height: 80px;
	position: absolute;
	text-align: center;
	cursor: pointer;
	-webkit-user-select: none;
	}

.button-text {
	color: #fff;
	text-shadow: 2px 2px #310342;
	font-size: 39px;
	font-family: Electrolize;
	position: relative;
	text-align: center;
	user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
}

#duck {
	left: 0;
	border-right: 2px solid #000;
	box-shadow: inset -6px 0 8px 0 #be0000;
}

#jump {
	right: 0;
	border-left: 2px solid #000;
	box-shadow: inset 6px 0 8px 0 #be0000;
}

#duck, #jump {
	background-color: #ed3102;
	line-height: 81px;
	-webkit-tap-highlight-color: transparent;
}

#final {
	position: absolute;
	height: 390px;
	width: 700px;
	background-image: linear-gradient(#310342 20%, #000);
	z-index: 94;	
}

#failure {
	font-family: "Kode Mono", monospace;
	position: absolute;
	width: 600px;
	text-align: center;
	left: 40;
	top: -6;
}

.finish-message {
	z-index: 101;
}

#game-over {
	font-size: 64px;
	font-weight: 700;
	color: #f5490f;
	text-shadow: 3px 2px #6f66f2;
}

#lose-screen, #start-screen {
	position: absolute;
	height: 390px; 
	width: 600px; 
	background-color: #fff;
	z-index: 91;
	}

#lose-screen {
	bottom: 450;
}

#stats2, #stats-heading {
	font-family: Electrolize;
	color: #f6f7c8;
	cursor: default;
}

#stats2 {
	position: absolute;
	z-index: 95;
	font-size: 31px;
	top: 161;
	width: 600px;
	text-align: center;
	text-shadow: 1px 1px #5148d4; 
}

#stats-heading {
	margin-top: 32px;
	font-size: 37px;
	color: #f5490f;
	text-shadow: 2px 2px #6f66f2;
}

#new-record {
	position: absolute;
   	top: 278;
   	left: 50;
   	font-size: 20px;
   	color: #F54A0F;
    	text-shadow: 1px 1px #6f66f2;
   	transform: rotate(6.24rad);
	cursor: default;
}

#very-start {
	position: absolute;
	z-index: 99;
	width: 700px;
	height: 380px;
	background-image: linear-gradient(180deg, #4eaefc, #5ea6e0 70%);
}

#start-left, #start-right {
	position: absolute;
	height: 390px;
	width: 300px;
}

#start-left {
	left: 0;
}

#start-right {
	position: absolute;
	padding-top: 7;
	padding-left: 2px;
	width: 287px;
	right: 0;
	background: linear-gradient(#310342 5%, #000);
}

.advice {
	margin-left: 8px;
	font-size: 19px;
	width: 240px;
	padding-bottom: 1px;
	text-align: center;
	cursor: default;
}

#good-advice {
	font-family: Electrolize, monospace;
	color: #f6f7c8;
	text-shadow: 1px 1px #5148d4;
}

#ready {
	font-size: 32px;
	font-weight: 600;
	position: absolute;
	top: 197;
}

#question-mark {
	position: relative;
	top: -1;
	font-family: Kode Mono;
	font-size: 32px;
}

#main-logo, #logo-seagulls {
	font-size: 60px;
	font-weight: 700;
	color: #f5490f;
	text-shadow: 3px 2px #5148d4;
	font-family: "Kode Mono", monospace;
	cursor: default;
}

#main-logo {
	position: absolute;
	text-align: center;
	width: 300px;
	top: 20;
	left: 91;
}

#logo-seagulls {
	position: absolute;
	left: -8;
	line-height: 95px;
	font-weight: 700;
}

#logo-start {
	width: 120px;
	position: absolute;
	left: 70;
	bottom: 10;
}

#logo-gull-start {
	position: absolute;
	width: 140px;
	bottom: 100;
}

#start-screen {
	bottom: 0;
}

#scorekeeping {
	position: absolute;
	z-index: 93;
	left: 0;
	font-size: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	width: 100%;
	background-color: #000;
}

#hits, #so-far {
	font-size: 20px;
	color: #fff;
	font-family: Electrolize;
}

#so-far {
	padding-left: 10px;
	float: left;
}

#hits {
	padding-right: 10px;
	float: right;
}

footer {
	color: #fff;
	position: fixed;
	bottom: 0;
	margin-left: 5px;
	margin-bottom: 3px;
	font-size: 10px;
}

/* START OF LOW-HEIGHT */

@media only screen and (max-height: 400px) {
	body {
		scale: 0.55;
		height: 100vh;
	}
	
	#game-window {
		top: 49vh;
	}

}

/* END OF LOW-HEIGHT */

/* START OF MOBILE */

@media only screen and (max-width: 600px) {	
	body {
		margin: 0;
		position: relative;
		width: 600px;
	}

	#game-window {
		margin-top: 0;
		width: 100%;
		position: relative;
		margin-left: auto;
		margin-right: auto;
	}
	
	#question-mark {
		top: -1;
	}

	#duck, #jump {
		line-height: 84px;
	}

	#start {
		line-height: 45px;
	}

	#again {
		line-height: 44px;
	}

}

/* END OF MOBILE */