@import url("https://fonts.googleapis.com/css?family=Permanent+Marker|Roboto");

html {
	font-size: 16px;
}

body {
	margin: 0;
	font-family: "Roboto";
	color: #37302d;
	/*background-image: url("/Images/Wallpaper/david-pisnoy-660309-unsplash-wallpaper.jpg");*/
}

#background {
	width: 100%;
	/*margin-top: -80%;*/
}

/* Add welcome Splash to webpage and rendering logic in js
#welcomeSplash{
	width: 50%;
	background-color: #20a6dd;
	margin: 5% 25%;
	text-align: center;
}

*/

.desktop {
	display: none;
}

header {
	float: left;
	width: 100%;
	margin-left: 0%;
}

header #header-column-1 {
	float: left;
	width: 80%;
	margin: 20px 0;
}

#header-column-1 img {
	width: 25%;
	margin: 0 0 0 3%;
	float: left;
}

#header-column-1 h1 {
	float: left;
	line-height: 1;
	margin-top: 3px;
	font-size: 1.8rem;
	text-align: center;
}

#header-column-1 h1 span {
	font-size: 1.6rem;
	text-align: center;
}

header #header-column-2 {
	float: left;
	width: 17%;
}

#header-column-2 img {
	width: 50%;
	float: right;
	margin: 30% 7% 0 0;
}

p#hideNav {
	position: relative;
	margin: -30% 16% 0 0;
	z-index: 1000;
	float: right;
}

#nav {
	float: right;
	width: 100%;
	background-color: white;
	position: fixed;
	margin-left: -80%;
	margin-top: -20%;
	z-index: 10;
	list-style: none;
	padding-bottom: 150%;
	padding-top: 30%;
}

#nav li {
	margin: 5% 0;
}

#nav a {
	color: #000;
	text-decoration: none;
}

#nav > li img {
	width: 10%;
	float: left;
	margin: 1% 1% 5% 0;
}

#nav > li:nth-child(3) > a > p {
	float: left;
	color: #000;
	margin: 3% 0 0 1%;
}

#nav > li:nth-child(3) > a > img:nth-child(3) {
	width: 9%;
	margin: 1.5% 0 0 1.5%;
}

#main {
	float: left;
	width: 80%;
	margin: 0% 10% 0;
	padding: 0 0 2.5% 0%;
}

#main h1 {
	width: 100%;
	font-size: 1.5em;
	background: #23a6dd;
	color: white;
	padding: 12px;
}

#main h2 {
	width: 90%;
	font-size: 1.3em;
	color: #23a6dd;
}

#main h3 {
	width: 90%;
	font-size: 1.17em;
	letter-spacing: 1px;
}

#main h4 {
	width: 90%;
}

#main p {
	width: 90%;
}

.gallery {
	display: flex;
	margin: 0 0 2% 0;
	width: 100%;
}

.projectImages {
	display: flex;
	margin: 0 0 2% 0;
	width: 50%;
}

.projectImages figure {
	width: 45%;
	margin: 0 2.5% 0 0;
	border-bottom: 2px solid #23a6dd;
	padding-bottom: 20px;
}

.projectImages img {
	width: 100%;
	margin: 0 5px 0 0;
	height: 300px;
	overflow: hidden;
}

footer {
	width: 90%;
	float: left;
	background-color: #20a6dd;
	color: white;
	padding: 5%;
}

footer p {
	float: left;
	margin: 1% 0% 0;
	width: 100%;
}

footer > p:nth-child(2) {
	font-size: 0.9rem;
	margin-bottom: 0.5%;
}

footer > p:nth-child(2) a {
	color: white;
}

@media only screen and (max-width: 768px) {
	.gallery {
		display: flex;
		margin: 0 0 2% 0;
		width: 100%;
		flex-flow: column;
	}

	.projectImages {
		display: flex;
		margin: 0 0 2% 0;
		width: 100%;
	}
}
@media only screen and (min-width: 768px) {
	header.mobile {
		display: none;
	}

	.desktop {
		display: initial;
	}

	header.desktop {
		display: initial;
		width: 85%;
		margin: 0 7.5% 0 7.5%;
	}

	header #header-column-1 {
		float: left;
		width: 25%;
		margin: 20px 0;
	}

	#header-column-1 img {
		width: 30%;
		margin: 0 0 0 3%;
	}

	#header-column-1 h1 {
		letter-spacing: 2px;
		float: left;
		line-height: 1.1;
	}

	div.nav.desktop {
		float: right;
		width: 60%;
		margin: 3% 0% 0 0;
		z-index: 10;
		text-align: right;
		font-size: 1.1rem;
		background-color: initial;
		position: relative;
		padding-bottom: 1%;
		border-bottom: 2px solid black;
	}

	div.nav.desktop a {
		margin: 0 0 0 25px;
		text-decoration: none;
		color: #4d2901;
	}

	header.desktop #nav {
		float: right;
		width: 90%;
		margin: 3% 15% 0 0;
		z-index: 10;
		text-align: right;
		font-size: 1.3rem;
		color: #e81f1a;
		background-color: initial;
		position: relative;
		padding-bottom: 0%;
	}

	header.desktop #nav a {
		color: #e81f1a;
		text-decoration: none;
	}
}
@media only screen and (min-width: 568px) and (max-width: 768px) {
	#background {
		width: 100%;
		/*margin-top: -80%;*/
	}

	#welcomeSplash {
		width: 50%;
		background-color: #20a6dd;
		margin: 5% 25%;
		text-align: center;
	}

	header #header-column-1 {
		float: left;
		width: 60%;
		margin: 20px 0;
	}

	#header-column-1 img {
		width: 30%;
		margin: 0 0 0 3%;
	}

	#header-column-1 h1 {
		letter-spacing: 2.5px;
		float: left;
		font-size: 2.3rem;
		line-height: 0.75;
		margin-top: 18px;
	}

	#header-column-1 h1 span {
		font-size: 1.9rem;
	}

	header #header-column-2 {
		width: 40%;
	}

	#header-column-2 img {
		width: 15%;
		float: right;
		margin: 7% 7% 0 0;
	}

	#nav {
		margin-left: -60%;
	}

	#nav li {
		margin: 3% 0 0;
	}

	p#hideNav {
		z-index: 20;
		position: relative;
		margin: -24% 10%;
	}

	#nav > li img {
		width: 8%;
		float: left;
		margin: 1% 1% 5% 0;
	}

	#nav > li:nth-child(3) > a > p {
		float: left;
		color: white;
		margin: 3% 0 0 1%;
	}

	#nav > li:nth-child(3) > a > img:nth-child(3) {
		width: 6%;
		margin: 2% 0 0 1.5%;
	}

	#main {
		float: left;
		width: 100%;
		padding-bottom: 35%;
	}

	footer {
		width: 90%;
		float: left;
		background-color: dimgray;
		color: white;
		padding: 2% 5%;
	}
}

@media only screen and (min-width: 1024px) {
	#background {
		width: 100%;
		/*margin-top: -80%;*/
		float: left;
	}

	#welcomeSplash {
		width: 50%;
		background-color: #20a6dd;
		margin: 5% 25%;
		text-align: center;
		float: left;
		font-family: "Permanent Marker", cursive;
	}

	a#splashClicker {
		float: left;
		width: 50%;
		margin: 0 25%;
		text-decoration: none;
		color: white;
		background-color: gray;
		border-top-left-radius: 50px;
		border-bottom-right-radius: 50px;
	}

	/* header.mobile {
		display: none;
	}

	.desktop {
		display: initial;
	} */

	/* header.desktop {
		display: initial;
		width: 85%;
		margin: 0 7.5% 0 7.5%;
	}

	header #header-column-1 {
		float: left;
		width: 25%;
		margin: 20px 0;
	}

	#header-column-1 img {
		width: 30%;
		margin: 0 0 0 3%;
	}

	#header-column-1 h1 {
		letter-spacing: 2px;
		float: left;
		line-height: 1.1;
	}

	div.nav.desktop {
		float: right;
		width: 60%;
		margin: 3% 0% 0 0;
		z-index: 10;
		text-align: right;
		font-size: 1.1rem;
		background-color: initial;
		position: relative;
		padding-bottom: 1%;
		border-bottom: 2px solid black;
	}

	div.nav.desktop a {
		margin: 0 0 0 25px;
		text-decoration: none;
		color: #4d2901;
	}

	header.desktop #nav {
		float: right;
		width: 90%;
		margin: 3% 15% 0 0;
		z-index: 10;
		text-align: right;
		font-size: 1.3rem;
		color: #e81f1a;
		background-color: initial;
		position: relative;
		padding-bottom: 0%;
	}

	header.desktop #nav a {
		color: #e81f1a;
		text-decoration: none;
	} */

	footer {
		width: 90%;
		float: left;
		background-color: dimgray;
		color: white;
		padding: 1% 5%;
	}
}
