html {
  height: 100%;
  margin: auto;
}

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;
}	

h4 {
	font-size: 2em;
	text-align: left;
	color: #f07167;
}

ul {
	font-size: 1.5em;
	text-align: left;
	color: #0081a7;
}

form {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: 1fr 2fr;
	grid-gap: 1rem;
}

input, textarea {
	font-size: 1rem;
	padding: 10px;
	color: #0081a7;
	opacity: 50%;
	background-color: #feD9B7;
	border: none;
	font-family: Roboto;
}

input:focus, textarea:focus {
	outline: none;
	opacity: 100%;
	background-color: #feD9B7;
}

label {
	padding: 10px;
	text-align: right;
}				

footer {
	text-align: center;
	font-size: 1rem;
	padding: 55px 0px;
	grid-column: 2 / -2;
	grid-row: -2 / -1;
}

footer a {
	z-index: 1;
	color: #0081a7;
}

footer a:hover {
	color: #fdfcdc;
}

#grid {
	display: grid;
	grid-template-rows:
	100px 40px 40px 40px minmax(900px, 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/FinalProject_Header 1.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");
	grid-column: 3 / 5;
	grid-row: 3 / -2;
	z-index: 1;
}

#footerbar {
	background-image: url("images/FinalProject_Footer 1.svg");
	grid-column: 2 / -2;
	grid-row: -2 / -1;
}

#mySend {
	width: 5rem;
	grid-column: 2 / 3;
	margin-bottom: 1rem;
	color: #0081a7;
	background-color: #f07167;
	font-weight: bold;
	opacity: 100%;
}

#mySend:hover {
	background-color: #0081a7;
	color: #f07167;
	cursor: pointer;
}

.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 {
	z-index: 1;
	cursor: pointer;
	grid-column: 2 / 4;
	grid-row: 1 / 3;
}

.profilePic {
	background-image: url("images/profilepic.png");
	width: 250px;
	height: 250px;
	margin-right: 10px;
	border-radius: 8px;
	float: left;
  background-size: 250px 250px;
}

.scrollText {
	background-color: #fdfcdc;
	color: #0081a7;
	font-size: 1em;
  width: 250px;
  height: 250px;
  padding: 0 10px;
  overflow: auto;
  text-align: justify;
}

.blog {
	padding-bottom: 15px;
}

.blogTitle {
	text-align: left;
	font-size: 1.5rem;
}

.blogSubtitle {
	text-align: left;
	font-size: 1.25rem;
}

.blogBody {
	text-align: left;
	font-size: 1rem;
}

.seeMorePDF {
	width: 6.5rem;
	height: 2rem;
	background-color: #f07167;
	border: none;
	align-items: center;
	justify-content: center;
	text-align: center;
	display: flex;
	font-size: 1rem;
	text-decoration: none;
	color: #0081a7;
	cursor: pointer;
}

.seeMorePDF:hover {
	color: #fdfcdc;
	background-color: #0081a7;
}

.blogSection {
	border: 3px solid #0081a7;
}

.my-gallery {
			  margin-top: 15px;
			  margin-bottom: 10px;
			  width: 100%;
			  float: left;
}

.my-gallery img {
			  width: 100%;
			  height: auto;
}

.my-gallery figure {
			  display: block;
			  float: left;
			  margin: 0 3px 0 0;
			  width: 177px;
}

.my-gallery figcaption {
			  display: none;
}

/* Smaller Desktop */
@media only screen and (max-width: 992px) {

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

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

	#footerbar {
		background-image: url("images/FinalProject_Footer 2.svg");
	}

}

/* Tablet */
@media only screen and (max-width: 768px) {

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

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

	h2 {
	font-size: 2em;
	}

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

	h4 {
		font-size: 1em;
	}

	ul {
		font-size: .75em;
	}

	input, textarea {
		font-size: .75rem;
		padding: 5px;
		margin-bottom: 10px;
	}

	label {
		font-size: .75rem;
		padding: 5px;
		text-align: right;
	}	

	footer {
		color: #fdfcdc;
		font-size: .75rem;
		padding: 60px 0px;
	}

	footer a {
		color: #fdfcdc;
	}

	footer a:hover {
		color: #f07167;
	}	

	#grid {
		grid-template-rows:
		100px 40px 40px 40px minmax(450px, auto) 40px 150px;
		grid-template-columns: 
		minmax(0px, 1fr) 
		48px 
		40px 
		40px
		312px
		40px
		minmax(0px, 1fr) ;
	}

	#headerlogo {
		background-image: none;
		background-color: #f07167;
	}

	#bluenavbar {
		background-image: url("images/FinalProject_Header 4.svg");
	}

	#navgrid {
		display: flex;
		flex-flow: column nowrap;
	  top: 0px;
	  bottom: 0px;
	  align-self: start;
	}

	#sidebardecor {
		background-image: none;
	}

	#footerbar {
		background-image: url("images/FinalProject_Footer 3.svg");
	}

	#mySend {
		width: 3rem;
	}

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

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

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

	.scrollText {
	font-size: .75em;
  width: 250px;
  height: auto;
  padding: 10px 0;
  overflow: hidden;
	}

	.blogTitle {
		text-align: left;
		font-size: 1rem;
	}

	.blogSubtitle {
		text-align: left;
		font-size: .75rem;
	}

	.blogBody {
		text-align: left;
		font-size: .5rem;
	}

	.seeMorePDF {
		width: 3.5rem;
		height: 1rem;
		font-size: .5rem;
	}

	.my-gallery figure {
			  width: 123px;
	}

}

/* Mobile */
@media only screen and (max-width: 480px) {

	h2 {
	font-size: 1em;
	}

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

	h4 {
		font-size: .75em;
	}

	ul {
		font-size: .5em;
		margin: 0;
		padding: 0;
	}

	form {
		display: block;
	}

	input, textarea {
		font-size: .5rem;
		padding: 5px;
	}

	label {
		font-size: .5rem;
		padding: 5px;
		text-align: left;
	}

	#grid {
		grid-template-rows:
		100px 40px 40px 40px minmax(400px, auto) 40px 150px;
		grid-template-columns: 
		minmax(0px, 1fr) 
		48px 
		40px 
		40px
		152px
		40px
		minmax(0px, 1fr) ;
	}

	#bluenavbar {
		background-image: url("images/FinalProject_Header 3.svg");
	}

	#footerbar {
		background-image: url("images/FinalProject_Footer 4.svg");
	}

	#mySend {
	width: 2.5rem;
	}

	.profilePic {
		background-image: url("images/profilepic.png");
		width: 90px;
		height: 90px;
	  background-size: 90px 90px;
	}

	.scrollText {
		background-color: #fdfcdc;
		color: #0081a7;
		font-size: .5em;
	  width: 90px;
	}

	.my-gallery figure {
			  width: 92px;
	}

}