/* Main */
* {
	box-sizing: border-box;
}
body {
	margin: 0px;
	position: absolute;
	
}
main {
	background-color: #FFF;
	grid-column: 1 / -1;
	padding-bottom: 100px;
	padding-top: 75px;
}
footer {
	height: 175px;
	background-color: #285959;
	grid-column: 1 / -1;
	text-align: center;
	font-size: 15px;
	color: #c7d9d9;
}
h1 {
	text-align: center;
	font-size: 100px;
	color: #285959;
	text-decoration: underline;
	margin-top: 0px;
}
h2 {
	text-align: center;
	font-size: 75px;
	color: #285959;
	text-decoration: underline;
	margin-top: 0px;
}
p {
	text-align: center;
	font-size: 50px;
	color: #285959;
	padding-left: 150px;
	padding-right: 150px;
}
/* Navigation */
nav {
	height: 125px;
	width: 1200px;
	background-color: #285959;
	padding-top: 0;
	padding-bottom: 0;
	position: sticky;
	grid-column: 2 / -2;
}
nav a {
	display: block;
	color: #c7d9d9;
	text-align: center;
	font-family: sarala;
	font-size: 25px;
	padding: 1rem 1rem 1rem;
	text-decoration: none;
}
nav a:hover {
	/*background-color: #FFFFFF;*/
	text-align: center;
	margin: 0;
	font-size: 30px;
	color: #8e9c9c;
	transition: color 0.5s;
	transition: font-size 0.1s;
}
nav ul {
	list-style-type: none;
	display: flex;
	flex-flow: row nowrap;
	margin: 0;
}
nav ul li {
	width: 100%;
}

/* IDs and Classes */
#wrapper {
	display: grid;
	grid-auto-rows: 170px 200px auto auto auto;
	grid-template-columns: repeat(5, 1fr);
}
#gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	width: 80%;
	margin: 0 auto;
	grid-gap: 5rem;
	text-align: center;
	font-size: 20px;
}
#gallery div img {
	height: auto;
	width: 100%;
}
.logo {
	grid-column: 4 / -1;
	align-self: center;
	position: sticky;
	min-height: 100px;
}
.email {
	color: #c7d9d9;
}
.email:hover {
	font-size: 16px;
	color: #8e9c9c;
}
.textGal {
	color: black;
	text-decoration: none;
}

#gallery div a:hover {
	color: #285959;
	font-size: 23px;
}
.center {
	text-align: center;
}


/* Hero Images */
#homehero {
	width: 100%;
	background-image: url("images/homehero.jpg");
	background-color: lightgrey; /* if image doesn't load */
	height: auto;
	background-position: center;
	background-size: cover;
	grid-column: 1 / -1;
}
.logo, #homehero {
	grid-row: 1 / 3;
}

/* Small Desktop */
@media only screen and (max-width: 1100px) {
	footer {
		font-size: 20px;
	}
	#gallery {
		font-size: 28px;
	}
	nav {
		height: 175px;
	}
	nav a {
		font-size: 33px;
	}
	.testFoot {
	padding-bottom: 350px;
	padding-top: 350px;
	}
	#gallery div a:hover {
		font-size: 31px;
	}
}

/* Tablet Media Querry */
@media only screen and (max-width: 992px) {
	#gallery {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		font-size: 30px;
	}
	#gallery img {
		height: auto;
		width: 80%;
	}
	nav a {
		font-size: 35px;
	}
	nav {
		height: 200px;
	}
	footer {
		font-size: 20px;
	}
	#gallery div a:hover {
		font-size: 33px;
	}
}

/* Mobile Media Querry */
@media only screen and (max-width: 768px) {
	#gallery {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		font-size: 35px;
	}
	#gallery img {
		height: auto;
		width: 80%;
	}
	nav {
		height: 230px;
	}
	nav a {
		font-size: 36px;
	}
	footer {
		height: 250px;
		font-size: 25px;
	}
	#gallery div a:hover {
		font-size: 38px;
	}
}