body {
	font-family: Arial;
	background-color: #E0E0E0;
	padding: 0em;
	margin: 0em;
}

p {
	display: block;
	margin: 0;
	margin-top: 1em;
	text-align: left;
	line-height: 1em;
}

a {
	color: #006666;
	text-decoration: none;
}

a:hover {
	color: #002E66;
}

#navi {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center;
	z-index: 2;
	background-color: #F5F5F5;
	font-size: 1.5em;
	box-shadow: 0px 0px 0.3em #888888;
}

#navi > a {
	margin-left: 1em;
	margin-right: 1em;
	text-decoration: none;
	color: #505050;
}

#contact {
	
}

.content {
	max-width: 70em;
	margin-left: auto;
	margin-right: auto;
	padding-top: 4.5em;
	text-align: center;
	line-height: 0em;
	min-height: 100vh;
	background-color: #EBEBEB;
}

.game {
	max-width: 50em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3em;
	text-align: left;
	display: flex;
}

.gameBanner {
	max-width: 70em;
	height: 21em;
	margin-left: auto;
	margin-right: auto;
	margin-top: -1.25em;
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
}

.gameDescription {
	max-width: 70%; 
	display: block; 
	float: left;
}

.screenshots {
	max-width: 30%; 
	display: block; 
	float: right; 
	text-align: right;
}

#footer {
	font-family: Arial;
	font-size: 0.7em;
	width: 100%;
	margin-top: 3em;
	margin-bottom: 5em;
	text-align: center;
	display: block;
}

.thumbnail {
	display: inline;
	position: relative;
}

.thumbnail > img {
	cursor: pointer;
	box-shadow: 0px 0px 0.3em #888888;
}

.gif:after {
	font-size: 1em;
	font-weight: bold;
	content: 'GIF';
	position: absolute;
	top: -15em;
	right: 1em;
	color: #FFFFFF;
	background: rgba( 0, 0, 0, 0.4 );
	border-radius: 4px;
	pointer-events: none;
	padding: 0.7em 0.2em 0.7em 0.2em;
}

img {
	margin: 4px;
}

img:hover {
	margin: 4px;
}

#image {
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.6 );
	position: fixed;
	top: 0;
	display: none;
	z-index: 2;
}

#image > img {
	display: block;
	margin: auto;
	border: 8px solid #CECECE;
	border-radius: 5px;
	max-width: 90%;
	max-height: 90%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #CECECE;
}

.contact-left {
	display: inline-block; 
	margin-right: 0em;
	margin-left: 3em;
	margin-bottom: 3em;
	font-size: 1.5em;
}

.contact-right {
	display: inline-block; 
	margin-right: 3em;
	margin-left: 0em;
	margin-bottom: 3em;
	font-size: 1.5em;
}

@media screen and (max-width: 20cm), handheld and (max-width: 20cm), (orientation: portrait) {
	
	#navi {
		font-size: 3.5em;
	}
	
	.content {
		padding-top: 8.5em;
	}
	
	.contact-left, .contact-right {
		font-size: 3em;
		height: 1em;
	}
	
	.contact-left {
		margin-left: 0.25em;
	}
	
	.contact-right {
		margin-right: 0.25em;
	}
	
	#footer {
		font-size: 1.25em;
	}
	
	.game {
		display: inline;
	}
	
	.gameDescription {
		max-width: 95%;
		width: 95%;
		float: none;
		display: inline-block;
	}
	
	.screenshots {
		margin-top: 2em;
		margin-left: auto;
		margin-right: auto;
		float: none;
		text-align: center;
		display: inline-block;
		max-width: 95%;
		width: 95%;
	}
	
	.thumbnail > img {
		width: 45%;
		height: auto;
	}
	
	p {
		font-size: 1.5em;
	}
	
	h1 {
		font-size: 4.5em;
	}
}