html {
	font-size: 62.5%;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Arvo', serif;
}

a:link, a:hover, a:visited, a:active {
	color: #000;
}

a:hover {
	background-color: #f00;
	color: #fff;
	border-bottom: 1px solid #fff;
}

header {
	display: flex;
	justify-content: center;
	align-items: center;	
	height: 100%;
	flex-direction: column;
}

#mainPage {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #00fffe;
}

header h1 {
	height: auto;
	position: relative;
	margin: -3rem 0 0;
	padding: 0;
	text-align: center;
}

	header h1 img {
		width: 70%;
		height: auto;
	}

	header h1 {
		width: 500px;
	}
	
	header h1 a {
		display: block;
	}
	
	header p {
		font-size: 1.2rem;
		padding-right: 2rem;
		padding-left: 2rem;
		text-align: center;
	}
	
.corner {
	color: #666;
	position: absolute;
	padding: 1.6rem;
}
	.corner h2 {
		margin: 0;
	}

.contact a {
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid #000;
	display: block;
	margin-bottom: -3px;
	left: 0;
	bottom: 0;
	font-size: 1.2rem;
	font-weight: normal;
	padding: .2rem;
}

	.contact a:hover {
		border-bottom: 1px solid #fff;
	
	}

@media only screen and (max-height: 386px) {
	#mainPage {
		position: inherit;
	}
	
	.corner {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
	}
	
	.corner h2 {
		display: inline-block;
	}
	
	header h1 {
		padding: 3rem 0 2rem;
		margin-top: 0;
	}
}

@media only screen and (min-width: 486px) {
	
	.contact {
		right: 0;
		left: auto;
		bottom: 0;
	}
	
	header h1 {
		margin: 0;
	}
	
		header h1 img {
			width: 90%;			
		}
}
	