/* Main */
* {
	box-sizing: border-box;
}
body {
	margin: 0px;
}
main {
	background-color: #FFF;
	grid-column: 1 / -1;
	padding-bottom: 100px;
	padding-top: 125px;
}
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;
}
p {
	text-align: center;
	font-size: 50px;
	color: #285959;
}
/* Navigation */
nav {
	height: 150px;
	width: 1000px;
	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;
}
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: 250px 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;
}
/* 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;
}

/* Tablet Media Querry */
@media only screen and (max-width: 900px) {
	#gallery {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	#gallery img {
		height: auto;
		width: 80%;
	}
}

/* Mobile Media Querry */
@media only screen and (max-width: 600px) {
	#gallery {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	#gallery img {
		height: auto;
		width: 80%;
	}
}