body {
	font-family: verdana, sans-serif;
	padding: 0;
	margin: 0;
}

nav ul {
	list-style-type: none;
	position: fixed;
	background-color: #333;
	margin: 0;
	padding: 0;
	top: 0;
	width: 100%
}

nav ul li {
	float: left;
}

nav li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

nav li a:hover {
	background-color: #111;
}

.active {
	background-color: #737373;
}

.active:hover {
	background-color: #737373;
}

.portfolio {
	font-style: italic;
}

.portfolio:hover {
	background-color: #333;
	color: #737373;
}

footer {
	background-color: #111;
	height: 50px;
}

footer p {
	color: white;
	padding: 14px;
}

.content {
	min-height: calc(100vh - 66px);
}

h1 {
	margin: 0;
	background-image: url("../Images/heading_image.png");
	text-align: center;
	padding-top: 100px;
	padding-bottom: 100px;
	font-style: italic;
}

h3 {
	padding-top: 15px;
	padding-bottom: 0px;
}

section {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: space-between;
	margin-left: 15%;
	margin-right: 15%;
}

.flex-item {
	margin: 10px;
	padding: 20px;
}

section .flex-item ul {
	list-style-type: square;
}

section .flex-item a:link {
	color: #13099a;
	font-style: italic;
	text-decoration: none;
}

section .flex-item a:visited {
	color: #13099a;
	font-style: italic;
	text-decoration: none;
}

section .flex-item a:active {
	color: #13099a;
	font-style: italic;
	text-decoration: none;
}

section .flex-item a:hover {
	color: #9a0909;
	font-style: italic;
	text-decoration: none;
}

@media (max-height: 450px) {
	h1 {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

@media (max-width: 600px) {
	section {
		margin-left: 0%;
		margin-right: 0%;
	}

	nav ul li {
		float: none;
	}
	
	h1 {
		margin-top: 250px;	
	}
}