body, html {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', Helvetica, Arial;
}

html {
	font-size: 24px;
	line-height: 1em;
}

body {
	font-size: 17px;
}

h1 {
	text-align: center;
	color: #fff;
	font-size: 2.4em;
	line-height: 1.2em;
}

h2 {
	font-size: 1.5em;
	line-height: 1.2em;
	margin-top: 2.5rem;
	color: #223867;
}

h2.centered {
	text-align: center;
}

p {
	margin-top: 1.5rem;
	line-height: 1.7em;
}

p:first-child,
h2:first-child {
	margin-top: 0;
}

header {
	padding: 1rem 2rem;
	background-image: url(../images/header-background.jpg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

nav {
	background-color: #122957;
	padding: 0.75rem 2rem 0.75rem 1rem;
	margin-bottom: 10rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

nav .button {
	border: 2px solid #fff;
	color: #fff;
	text-decoration: none;
	padding: 0.5rem 3rem;
	font-size: 1em;
}

main section {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 3rem;
	padding-bottom: 3rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

main section .button {
	background-color: #62AFD9;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	padding: 0.375rem 1rem;
	font-size: 1;
	text-align: center;
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
	        box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
}

#button-links-wrap {
	background-image: url(../images/lighthouse-background.jpg);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

#button-links {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#button-links .buttons {
	-ms-flex-preferred-size: 50%;
	    flex-basis: 50%;
}

#button-links a {
	display: block;
	margin-bottom: 0.5rem;
	background-color: #62AFD9;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
	padding: 0.5rem 2rem;
	font-size: 1.1em;
	text-align: center;
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0, 0.5);
	        box-shadow: 2px 2px 5px rgba(0,0,0, 0.5);
}

footer {
	background-color: #1C2B57;
	color: #fff;
	text-align: center;
	padding: 2rem;
	font-size: 0.85em;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}


@media screen and (max-width: 767px) {
	header {
		padding: 0.5rem 1rem;
	}

	header img {
		width: 200px;
	}

	nav {
		padding: 1rem;
		margin-bottom: 4rem;
	}

	nav .button {
		padding: 0.375rem 1rem;
		font-size: 0.9em;
	}

	#button-links .buttons {
		-ms-flex-preferred-size: 100%;
		    flex-basis: 100%;
	}
}


@media screen and (max-width: 499px) {
	nav {
		display: block;
		text-align: center;
	}

	main section {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	header img {
		display: block;
		margin-bottom: 1.5rem;
		margin-left: auto;
		margin-right: auto;
	}

	h1 {
		font-size: 1.8em;
	}

	main section .button {
		font-size: 0.8em;
		display: block;
		max-width: 300px;
		line-height: 1.3em;
	}

}