body {
	font-family: "Century Gothic", Arial, sans-serif;
	background-color: white;
	margin: auto;
	font-size: 1.2em;
}

main {
	width: 75%;
	margin: auto;
}

header {
	overflow: auto;
	background-color: black;
	color: white;
	margin: 0px;
}

nav {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	padding: 0px;
}

nav ul {
	list-style-type: none;
}

nav li {
	padding: 10px;
}

h1 {
	margin-left: 1rem;
	color: white; 
	font-weight: bold;
	font-size: 3rem;
	font-family: "Brush Script MT";
}

h2 {
	text-align: center;
	color: black;
	font-size: 2.5rem;
	font-variant: small-caps;
	margin-bottom: 1rem;
}

h2.icon {
	text-align: left;
	color: black;
	font-size: 2.5rem;
	font-variant: normal;
	margin-bottom: 1rem;
	margin-top: 0rem;
	font-family: "Brush Script MT";
}

h2 + p {
	margin-top: 0px;
}

/* LINKS */
h1 a:link, h1 a:visited {
	color: white;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}
h1 a:hover {
	text-decoration: underline;
}

a:link, a:visited {
	color: teal;
	font-weight: bold;
	cursor: pointer;
}
/* a:hover {
	color: black;
	background-color: white;
	text-decoration: none;
} */
a:active {
	background-color: white;
}

/* section a:link, section a:visited {
	font-weight: bold;
	color: teal;
}

section a:hover {
	background-color: white;
	color: black;
	text-decoration: none;
} */

/* section a:active {
	background-color: black;
	color: white;
} */

li a:link, li a:visited {
	color: white;
	text-decoration: none;
}

nav ul li:hover {
	background-color: #633;
	cursor: pointer;
}

/* MISCELLANY */
button {
	font-size: 1.4em;
	border-radius: 5px;
	border: 0;
	cursor: pointer;
	color: white;
	background-color: black;
	width: 50px;
	height: 50px;
	display: none;
}

#headerWrapper {
	display: flex;
	align-items: center;
}

#banner, #menu, #buttons {
	flex: 1;
}

#buttons {
	flex: 0 0 50px;
}

#cross {
	font-size: 3em;
	display: none;
}

figure {
	text-align: center;
}

i {
	margin-right: 5px;
}

main {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: stretch;
	/* margin: 5px;
	border: 1px outset #CCC;
	border-radius: 5px; */
}

section {
	flex: 1;
	padding: 3px;
	margin: auto;
	background-color: #DDD;
	border: 1px solid black;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	height: 100%;
	overflow: hidden;
}

#webdev {
	margin-top: 2rem;
}

#banner, #menu, #webdev {
	flex: 1;
}

p {
	line-height: 150%;
}

br {
	clear: both;
}

div.icon {
	width: 147px;
	float: left;
	text-align: center;
	font-weight: bold;
	font-family: "Book Antiqua";
	border: 1px solid black;
}

div.icon:hover {
	background-color: white;
}

li {
	border-radius: 5px;
	margin: 5px;
}

.iconMaroon { background-color: maroon; }
.iconPurple { background-color: purple; }
.iconTeal { background-color: teal; }
.iconNavy { background-color: navy; }
.iconDark { background-color: #369; }

#portfolioTable {
	margin: auto; 
	padding: 15px; 
}	

.date {
	font-family: "Andale Mono", "Courier New";
}

img#banner {
	border: 0px;
	max-width: 100%;
}

/* PORTFOLIO ITEMS */
#filmContainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 70%;
	margin: auto;
}

figure.portfolioItem {
	flex: 1;
	min-width: 300px;
	vertical-align: top;
	border-radius: 5px;
	padding: 20px;
	margin: 20px;
	border: 1px solid #CCA;
	box-shadow: 1px 1px #997;
	background-color: #EEE;
}

span.title {
	font-weight: bold;
}

p.desc {
	text-align: left;
	line-height: 1.75rem;
}

/* FOOTER */
footer {
	padding-top: 10px;
	text-align: center;
	clear: both;
}

footer img {
	vertical-align: middle;
}


/* MEDIA OVERRIDES */
@media screen and (max-width: 320px) {
	body {
		width: 100%;
	}
	#filmContainer {
		width: 95%;
	}
	figure.portfolioItem {
		margin: 5px;
	}
}

@media screen and (min-width: 320px) and (max-width: 1440px) {
	body {
		width: 100%;
	}
	nav {
		display: none;
	}
	#burger {
		display: inherit;
	}
	#headerWrapper {
		flex-direction: row;
	}
	nav li {
		display: block;
		text-align: right;
	}
	#filmContainer {
		width: 95%;
	}
	figure.portfolioItem {
		margin: 5px;
	}
}

@media screen and (min-width: 1441px) {
	#headerWrapper, main, nav {
		margin: auto;
		width: 67%;
	}
	nav li {
		display: inline-block;
		text-align: center;
	}
}
