/* Author: Max Pennington */

/* Define the character set */
@charset "utf-8";

html, body, #wrapper, #start {
	height: 100%;
	margin: 0;
}

body {
	font-family: "Abel", Helvetica, Arial, sans-serif;
	text-align: center;
	color: white;
	overflow-x: hidden;
}

h1, h2, h3, p, a, li, address {
	font-weight: 100;	
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

.white {
	color: white;
}

.bluish {
	color: #224FA4;
}

nav {
	position: fixed;
	right: 0;
	overflow: hidden;
	z-index: 1005;
}

nav ul {
	padding: 0;
	margin-right: 30px;
}

nav ul li {
	display: inline-block;
	margin: 10px;
}

nav ul li a {
	font-size: 1.35em;
	color: #224FA4;
	transition: 200ms;
}

nav ul li a:hover {
	color: dodgerblue !important;
}

#start {
	background-color: white;
}

#main-header {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#header-logo-img {
	width: 700px;
	margin-top: -40px;
}

#main-header-txt {
	font-size: 3em;
	color: #224FA4;
}

#main-header-txt span {
	color: red;
}

#services {
	background-color: #224FA4;
	text-align: left;
	height: 900px;
}

.section-header {
	display: inline;
	padding: 10px;
	font-size: 3.5em;
	background-color: white;
	color: #224FA4;
	margin: 0;
}

#services ul {
	position: relative;
}

#services ul li {
	position: relative;
	font-size: 4.5em;
}

#about {
	position: relative;
	z-index: 1002;
	color: #224FA4;
}

#about-header {
	position: relative;
	text-align: left;
}

#about-header h1.section-header {
	position: absolute;
	top: 0;
	margin: 0;
	background-color: #224FA4;
	color: white;
	z-index: 1002;
}

#about-header img {
	width: 100%;
	position: relative;
	top: 0;
}

#about-desc p {
	width: 80%;
	max-width: 800px;
	margin: 20px auto;
	font-size: 1.2em;
}

footer {
	background-color: #224FA4;
	overflow: hidden;
}

#foot-wrap {
	width: 70%;
	margin: auto;
}

#foot-header img {
	width: 400px;
}

#foot-content ul {
	padding-left: 0;
	margin: 50px auto;
}

#foot-content ul li {
	font-size: 1.5em;
}

#foot-content ul li a {
	color: white;
}

#foot-content ul:nth-of-type(1) {
	margin: 10px auto;
}

#foot-content ul:nth-of-type(2) li {
	margin: 20px auto;
}

#foot-content ul:nth-of-type(1) li {
	font-size: 2.3em;
}


@media (max-width: 500px) {
	
	body {
		font-size: 50%;
	}
	
	nav {
		display: none;
	}
	
	#header-logo-img {
		width: 80%;
		margin-top: -40px;
	}
	
	#services {
		height: auto;
		overflow: auto;
	}
	
	.section-header {
		display: block;
	}
	
	#services ul li {
		position: static;
		margin: 40px auto;
	}
	
	#about-desc, footer {
		font-size: 170%;
	}
	
	footer {
		padding-bottom: 20px;
	}
	
	#foot-wrap {
		width: 85%;
	}
	
	#foot-header img {
		width: 100%;
	}
}
