body {
	background-color: #feD9B7;
	color: #0081a7;
	margin: 0;
	font-family: Roboto;
}

nav {
	margin: 0;
	grid-column: 5 / -3;
	grid-row: 2 / 4;
}

a:visited { 
  color: #0081a7;
}

main {
	border: 15px solid #00afb9;
	border-radius: 8px;
	text-align: center;
	grid-column: 5 / -3;
	grid-row: 5 / -3;
	padding: 0px 15px;
}

h2 {
	font-weight: bold;
	font-size: 3em;
	color: #f07167;
}

main p, h3 {
	font-size: 2em;
}

h3 {
	font-weight: bold;
	color: #f07167;
}					

footer {
	background-color: #f07167;
	text-align: center;
	font-size: 18px;
	padding: 60px 0px;
	grid-column: 2 / -2;
	grid-row: -2 / -1;
}

footer a {
	color: #0081a7;
}

footer a:hover {
	color: #fdfcdc;
}

#grid {
	display: grid;
	grid-template-rows:
	100px 40px 40px 40px minmax(0px, auto) 40px 150px;
	grid-template-columns: 
	minmax(0px, 1fr) 
	240px 
	40px 
	40px
	600px
	40px
	minmax(0px, 1fr);
}

#navgrid {
	display: grid;
	grid-template: 80px / auto auto auto auto auto auto;
	grid-column-gap: 24px;
}

#headerlogo {
	background-image: url("images/headerlogo.svg");
	background-repeat: no-repeat;
  grid-column: 2 / 4;
	grid-row: 1 / 3;
}

#bluenavbar {
	background-color: #0081a7;
  grid-column: 4 / -2;
	grid-row: 1 / 3;
}

#bluesidebar {
	background-color: #00afb9;
  grid-column: 2 / 4;
	grid-row: 3 / -2;
}

#mainbackground {
	background-color: #fdfcdc;
  grid-column: 4 / -2;
	grid-row: 3 / -2;
}

#sidebardecor {
	background-image: url("images/sidebardecor.svg");
	background-position: center;
	grid-column: 3 / 5;
	grid-row: 3 / -2;
	z-index: 1;
}

.button {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #f07167;
	border: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	display: flex;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	color: #0081a7;
	cursor: pointer;
}

.button:hover {
	color: #fdfcdc;
	background-color: #00afb9;
}

.homebutton {
	cursor: pointer;
	grid-column: 2 / 4;
	grid-row: 1 / 3;
}

@media only screen and (max-width: 992px) {
	
	#grid {
		grid-template-columns: 
		minmax(0px, 1fr) 
		48px 
		40px 
		40px
		600px
		40px
		minmax(0px, 1fr);
	}

	#headerlogo {
		background-image: url("images/headerlogosmaller.svg");
	}

	#sidebardecor {
		background-image: none;

}

@media only screen and (max-width: 768px) {
	
	#grid {
		grid-template-rows:
		100px 40px 40px 40px minmax(0px, auto) 40px 150px;
		grid-template-columns: 
		0px
		48px 
		40px 
		40px
		minmax(132px, 600px)
		40px
		0px;
	}

	body {
		background-color: #0081a7;
	}

	main {
		grid-row: 4 / -3;
		order: 1;
	}

	nav {
		grid-column: 2 / 4;
		grid-row: 4 / -3;
		display: flex;
	}

	h2 {
	font-size: 2.5em;
	}

	main p, h3 {
		font-size: 1.5em;
	}

	#navgrid {
		display: flex;
		flex-flow: column nowrap;
		position: -webkit-sticky;
		position: sticky;
	  top: 0;
	  align-self: start;
	}

	.button {
		width: 80px;
		height: 80px;
		margin: 4px;
		align-self: start;
		position: sticky;
	}

	.button:hover {
		color: #00afb9;
		background-color: #fdfcdc;
	}

}