/**********************************
GENERAL
***********************************/

body {
	font-family: 'Oswald', sans-serif;
}

#wrapper {
	max-width: 840px;
	margin: 0 auto;
	padding: 5px;
	/* border: 1px solid #000; */
}	

a {
	text-decoration: none;
}

img {
	max-width: 100%;
}

p {
	font-size: 1em;
	line-height: 1.5;
}

.column {
	width: 700px;
	margin: 10px auto;
	padding: 10px;
	background-color: #fff;
	opacity: 0.8;
	border-radius: 10px;
}

.top {
	margin-top: 5px;
	font-weight: 500;
}

#downtown-image {
	background: linear-gradient(180deg, #fff, transparent 95%),
				linear-gradient(0deg, #fff, transparent 85%),
				url('../img/downtown-des-moines-bw.jpg') no-repeat center;
	background-position: cover;
	-webkit-background-position: cover;
	-moz-background-position: cover;
	background-attachment: fixed;
	overflow: hidden;
}

html {
  scroll-behavior: smooth;
}


/**********************************
HEADINGS
***********************************/

header {
	padding-top: 5px;
}

#logo {
	text-align: center;
	margin: 0 auto;
}

h1 {
	margin: 15px 0;
	font-size: 2em;
	font-weight: bold;
	line-height: 0.8em;
}

h3 {
	font-size: 1em;
	margin: -5px 0 0;
	font-weight: lighter;
}


/**********************************
NAVIGATION
***********************************/

nav {
	text-align: center;
	padding: 5px 0;
	margin: 20px 0 0;
}

nav ul li {
	display: inline-block;
	margin-right: 25px;
}

nav ul li a {
	font-size: 1.2em;
	font-weight: bold;
}


/**********************************
FOOTER
***********************************/

footer {
	font-size: 0.75em;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 5px;
	color: #fff;
}

footer a {
	border: 2px solid;
	padding: 7px;
	margin-right: 5px;
	border-radius: 15px;
}


/**********************************
SECTION: ABOUT ME
***********************************/

#aboutme {
	text-align: center;
	margin: 0 auto;
	padding: 10px;
	/* border: 1px solid #000; */
	font-weight: lighter;
}

#aboutme h1 {
	color: #023e8a;
}

#aboutme h2 {
	color: #000;
	font-size: 1.25em;
}

.photo img {
	text-align: center;
	margin-top: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-radius: 50px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
}


/**********************************
SECTION: PORTFOLIO
***********************************/

#mywork {
	text-align: center;
	margin: 0 auto;
	padding: 15px;
	/* border: 1px solid #000; */
	font-weight: lighter;
}

#mywork h1 {
	color: #023e8a;
}

#mywork h2 {
	color: #000;
	font-size: 1.25em;
}


/**********************************
SECTION: CONTACT ME
***********************************/

#contactme {
	text-align: center;
	margin: 0 auto;
	padding: 15px;
	/* border: 1px solid #000; */
	font-weight: lighter;
}

#contactme h1 {
	color: #023e8a;
}

#contactme h2 {
	color: #000;
	font-size: 1.25em;
}

/**********************************
FORM
***********************************/

form {
	margin: 10px auto;
	width: 500px;
	padding: 10px;
}

form div {
	margin-top: 10px;
}

label {
	display: block;
	width: 50px;
	margin: auto;
	font-weight: normal;
}

input, 
textarea {
	width: 350px;
	-moz-box-sizing: border-box;
	box-sizing: borderbox;
}

input:focus,
textarea:focus {
	border-color: #5696bc;
}

textarea {
	vertical-align: top;
	height: 150px;
}

button {
	font-family: 'Oswald', sans-serif;
	background-color: #5696bc;
	border-color: #5696bc;
	color: #fff;
	font-weight: normal;
	width: 200px;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/**********************************
COLORS
***********************************/

/* site body */
body {
	background-color: #fff;
	color: #000;
}

/* header */
header {
	background-color: #023e8a;
}

/* footer */
footer {
	background-color: #023e8a;
}

/* nav */
nav {
	background-color: #0077b6;
}

/* logo text */
h1, h2, h3 {
	color: #fff;
}

/* links */
a {
	color: #0077b6;
	font-weight: 700;
}

/* nav link */
nav a, nav a:visited {
	color: #fff;
}

/* selected nav link */
nav a.selected, nav a:hover {
  color: #fff;
  text-decoration: underline;
}


/**********************************
MEDIA QUERIES
***********************************/

@media (max-width: 480px) {
	nav ul li{
		display: block;
		margin-top: 5px;
	}
	
	.photo img {
		width: 50%;
		padding-top: 5px;
	}
	
	#aboutme p,
	#mywork p,
	#contactme p {
		font-size: 0.95em;
		font-weight: lighter;
	}
	
	.column {
		width: 90%;
	}
	
	form {
		width: 90%;
		font-size: 0.95em;
		font-weight: lighter;
	}
	
	form label {
		text-align: center;
	}
	
	input, 
	textarea {
		width: 90%;
	}
	
	button {
		width: 80%;
		margin-bottom: 10px;
		margin-left: 0;
	}
}

@media (min-width: 481px) and (max-width: 764px) {
	.column {
		width: 90%;
	}
	
	#aboutme p,
	#mywork p,
	#contactme p {
		font-size: 1em;
		font-weight: lighter;
	}
	
	form {
		font-size: 1em;
		font-weight: lighter;
		width: 90%;
	}
	
	label {
		margin: auto;
	}
	
	button {
		width: 65%;
		margin-bottom: 10px;
		margin-left: 0;
	}
	
}

