html {
	background-color: rgb(240,240,240);	
}

body {
	font-family: Montserrat, sans-serif;
	margin: 5em;
	width:  90%;
}

a:link {
   color: rgb(0,0,0);
   text-decoration: none;
  }
  a:visited {
    color: rgb(0,0,0);
  }
  nav a:hover {
    color: rgb(170,170,170);
	border-bottom: 1px solid rgba(0,0,0,0.2);  }
  a:active {
    color: black;
	}

header {
	margin: 0 0 30px;
}

h1 {
	margin-right: auto;
	font-weight: 700;
	font-size: 2em;
	letter-spacing: -2px;
}

nav ul {
	font-weight: 300;
	font-size: 1.3em;
	padding: 0;
	list-style-type: none;
	display: flex;
	align-items: center;
}

nav ul li {
	padding: .4em .8em;
	margin: .5em 1em 2em 0;
}

.title {
	margin-right: auto;
	color: black;
}

.title a:hover {
	 border-bottom: none
	}

section {
	padding: 0;
}


img {
	width: 100%
}


section {
	border-top: 1px solid rgba(0,0,0,0.2); 
	border-bottom: 1px solid rgba(0,0,0,0.2); 
	width: 80%;
	margin: 10% 8%;
	padding: 5% 0;
}

section p {
	font-family: Lato, sans-serif;
	line-height: 1.3em;
}

.resume {
	padding-top: 2em;
	text-decoration: underline;
}

.portrait {
	float: left;
	width: 20%;
	margin-right: 2em;
	border-radius: .2em;
}

.page-title {
	text-align: center;
	font-weight: 300;
	font-size: 2em;
	letter-spacing: 3px;
}
.gallery {
	list-style-type: none;
	display: inline-flex;
	flex-flow: wrap;
	padding: 0;
	margin: 0;
}

.gallery li {
	width: 33.33%;
}
.seemore {
	text-align: center;
	font-family: Montserrat;
	font-weight: 300;
	margin: 3em 0 0;
}

footer {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 0.8em;
	margin-top: 100px;
	text-align: right;
}
 footer p {
 	text-align: left;
 }

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


.social-media a {
	display: inline-block;
	height: 30px;

	background-repeat: no-repeat;
	background-position: center;

	overflow: hidden;
	text-indent: -9999em;

	opacity: .85;

	padding: 3px;

	text-decoration: none;
	font-family: sans-serif;
	text-align: left;
}

.social-media a:hover {
	opacity: 1;
	border-bottom: none
}

.social-media a:first-of-type {
	background-image: url("images/icons_facebook.svg");
}

.social-media a:last-of-type {
	background-image: url("images/icons_instagram.svg");
}

form {
  margin: 10% auto;
  width: 400px;
  padding: 1em;
  border: 1px solid #CCC;
  border-radius: 1em;
}

form div + div {
  margin-top: 1em;
}

label {
  display: inline-block;
  width: 90px;
  text-align: right;
}

input, textarea {
  font: 1em sans-serif;
  width: 300px;
  box-sizing: border-box;
  border: 1px solid #999;
}

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

textarea {
  vertical-align: top;
  height: 5em;
}

.button {
  padding-left: 90px; 
}

button {
  
  margin-left: .5em;
}