html {
	position: relative;
	min-height: 100%;
}

body {
	background-color: #050509;
	bottom: 45px;
	height: 100%;
	margin: 0 0 45px;
}

h1 {
	color: teal;
	text-align: center;
	font-size: 32px;
}

h2 {
	color: teal;
	text-align: center;
	font-size: 24px;
	padding-top: 20px;
}

p {
	color: teal;
}



/* Container for flexboxes */
section {
	display: -webkit-flex;
	display: flex;
}

/* Style the navigation menu */
nav {
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	background-color: #151519;
	padding: 0px 5px 0px 5px;
}

/* Style the list inside the menu */
nav ul {
	list-style-type: none;
	padding: 0;
}

nav ul a {
	display: block;
	color: #f2f2f2;
	text-align: left;
	text-decoration: none;
	padding-top: 10px;
	font-size: 16px;
}

nav ul a:hover {
	background-color: #151519;
	color: #008080;
	transition: 0.3s;
}

nav .activeNav {
	background-color: #151519;
	color: #008080;
}




div.gallery {
	display: flex;
	padding: 10px;
	align-items: center;
	justify-content: center;

}

div.gallery img {
	width: 80%;
	padding: 20px;
}

div.gallery a {
	display: flex;
	width: 80%;
	padding: 20px;
	align-items: center;
	justify-content: center;

	
}

/* Style the content */
article {
	-webkit-flex: 10;
	-ms-flex: 10;
	flex: 10;
	float: left;
	background-color: #050509;
	font-size: 16px;
}

article.project {
	display: flex;
	flex-direction: column;
	padding-left: 5%;
	padding-right: 5%;
}

article a:link {
	color: #a2a2a2;
	text-decoration: none;
}

article a:hover {
	color: #f2f2f2;
	text-decoration: none;
}

article a:visited {
	color: #a2a2a2;
	text-decoration: none;
}

.footer {
	left: 0;
	padding-top: 10px;
	bottom: 0;
	width: 100%;
	height: 45px;
	background-color: #303035;
	color: #f2f2f2;
	text-align: center;
	overflow: hidden;
	position: relative;
}


.topnav {
	background-color: #303035;
	overflow: hidden;
}

.topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
	z-index: 1;
}

.topnav a:hover {
	background-color: #303030;
	color: #008080;
	transition: 0.3s;
}

.topnav a.active {
	background-color: #008080;
	color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
	display: none;
}

@media screen and (max-width: 700px) {
	.topnav a:not(.active) {
		display: none;
	}

	.topnav a.icon {
		float: right;
		display: block;
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav a.active {
		float: none;
		background-color: transparent;
		color: white;
	}
	.topnav .logo {
		position: absolute;
		left: 0;
		top: 0;
		z-index: 5;
	}
}

@media screen and (max-width: 700px) {
	.topnav.responsive {
		position: relative;
	}

	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}

	.topnav.responsive a {
		float: none;
		display: block;
		text-align: center;
	}
	.topnav.responsive a.active {
		background-color: transparent;
		color: #008080;

	}
	.topnav.responsive .logo {
		position: absolute;
		left: 0;
		top: 0;
		z-index: 5;
	}
	
}

@media screen and (max-width: 700px) {
	nav {
		-webkit-flex: 1;
		-ms-flex: 1;
		flex: 1;
		background-color: #151519;
		padding: 0px;

	}
	
	nav ul a {
		display: block;
		color: #f2f2f2;
		text-align: center;
		text-decoration: none;
		font-size: 16px;
		top: 0px;
		position: relative;
	}
	

	nav li:not(.active) {
		display: none;
	}

	nav.responsive {
		-webkit-flex: 1;
		-ms-flex: 1;
		flex: 1;
		background-color: #151519;
		padding: 0px;

	}

	nav.responsive li{
		display: block;
	}
	
	nav.responsive ul a.activeNav{
		color: #008080;
	}
}


@media (max-width: 700px) {
	section {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
}
