/* CSS RESET COURTESY OF
	http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* END RESET CSS */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

body {
	font-family: 'Karla', sans-serif;
	/*color: #FFFFFF;*/
/*	background:
  linear-gradient(
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.75)
  ),
  url(../images/background.jpg);
	background-position: 37% 70%;
	background-size: cover;*/
}

p, .work-inner-content-wrapper li {
  line-height: 1.5em;
  margin-bottom: 1.05em;
  font-size: 1em;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

b{
	font-weight: bold;
}

h3 {
  font-weight: 700;
  font-size: 1.25em;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.5em;
  padding-top: 2em;
}

h4 {
  font-weight: 700;
  font-size: 1em;
  margin-bottom: 1em;
  margin-top: 1.75em;
  line-height: 1.25em;
}

h4 span {
	font-weight: 400;
}

legend {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.5em;
  padding-top: 2em;
	margin-bottom: 1em;
  width: 100%;
}

.header-nav-outer-wrapper {
	width: 100%;
	background-color: #FFFFFF;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}

.header-nav-inner-wrapper {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.5em;
  margin-left: 3em;
  margin-bottom:2.5em;
}

.logo-link {
	flex: 1;
	color: #000000;
}

.logo-link:hover {
	text-decoration: none;
}

.main-title {
	font-size: 2.35em;
	font-weight: 700;
	font-family: 'Playfair Display', 'Karla', sans-serif;
}

.main-description, .main-description-mobile {
	font-size: 1.35em;
	flex: 1;
}

.main-description-mobile {
	display: none;
}

.main-contact {	
	font-size: 1.35em;
	flex: 1;
	text-align: right;
}
.main-contact a {
	color: black;
    border: 2px solid black;
    border-radius: 5px;
    padding: 0.5em 1em;
    -webkit-transition: background 250ms ease;
-moz-transition: background 250ms ease;
-ms-transition: background 250ms ease;
-o-transition: background 250ms ease;
transition: background 250ms ease;
}
.main-contact a:hover {
    text-decoration: none;
    background: #DCF3A0;
}

.main-top-nav {
	font-size: 1.25em;
	margin: 0 2em;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}

.main-top-nav li {
	/*border-right: 1px solid #CCCCCC;*/
	position: relative;
}

.nav-corner {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 12px 0 0;
	border-color: #ffffff transparent transparent transparent;
	position: absolute;
	left: 0;
}

.main-top-nav li.nav-about {
	background-color: #78D9CF;
}

/*.main-top-nav li.nav-resume {
	background-color: #FF8CA1;
}*/

.main-top-nav li.nav-work {
	background-color: #DCF3A0;
}

.main-top-nav li.nav-contact {
	background-color: #DADEE2;
}

.main-top-nav li a {
	padding: 0.8em 1.8em;
  display: inline-block;
  color: #000000;
  font-size: 1em;
}

.main-top-nav li a.active {
    opacity: 1;
}

div.about-outer-wrapper {
  background: #78D9CF;
  margin-top: 100px;
  padding-bottom: 25px;
}

div.about-inner-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding-top: 2em;
  display: flex;
  align-items: flex-start;
  align-content: space-between;
}

div.about-inner-wrapper img {
	width: 25%;
	padding-right: 2em;
}

/*div.resume-outer-wrapper {
  background: #FF8CA1;
  padding-bottom: 25px;
}*/

/*div.resume-inner-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.resume-inner-wrapper ul li {
  list-style-type: disc;
  margin-left: 2em;
  line-height: 1.5em;
  margin-bottom: 1em;
  font-size: 0.9em;
}

.resume-inner-wrapper p {
  margin-bottom: 1em;
  font-size: 0.9em;
}*/

div.work-outer-wrapper {
  background: #DCF3A0;
  padding-bottom: 25px;

}

div.work-inner-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
  /*padding-top: 2em;*/
}

div.work-inner-content-wrapper {
  padding-top: 2em;
  display: flex;
  align-items: flex-start;
  align-content: space-between;
  flex-direction: column;
}

/*div.work-inner-content-wrapper .work-text-wrapper {
	width: 70%;
}*/

div.work-inner-content-wrapper .work-image-wrapper {
	display: flex;
	margin-top: 1em;
}

div.work-inner-content-wrapper .work-image-wrapper img {
	width: 100%;
	margin-bottom: 0.5em;
	border: 1px solid #000000;
}

.work-inner-content-wrapper ul {
	list-style: disc;
	margin-bottom: 1em;
}

.work-inner-content-wrapper li {
	margin-bottom: 0.25em;
	margin-left: 1em;
}

.work-inner-content-wrapper legend {
	padding-top: 0;
}

.work-image {
  padding-right: 2em;
}

.work-image-1 {
	width: 40%;
}

.work-image-2 {
	width: 25%;
}

.work-image-3 {
	width: 35%;
	padding-right: 0em;
}

.work-image span {
  padding-bottom: 1em;
  display: inline-block;
  font-weight: 700;
}

a.contact-link {
	font-weight: 700;
	color: #000000;
	text-decoration: underline;
}

a.contact-link:hover {
	color: #78D9CF;
}

div.contact-outer-wrapper {
	background: #DADEE2;
  /*padding-bottom: 25px;*/
}

div.footer-inner-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding: 1em 0;
  display: flex;
  justify-content: flex-end;
  align-content: space-between;
}

/*@media (max-width: 768px) {
	.header-nav-outer-wrapper {
    display: flex;
    align-items: flex-end;
	}
	.header-nav-inner-wrapper {
	    flex-direction: column;
	}
	.main-description {
    font-size: 1.25em;
    flex: 1;
    text-align: left;
	}
	.main-title {
    font-size: 1.75em;
    margin-bottom: 0.35em;
	}
	.main-top-nav {
    height: 100%;
	}
	.main-top-nav li {
    display: flex;
	}
	.main-top-nav li a {
    display: flex;
    align-items: center;
	}
	div.about-outer-wrapper {
	  margin-top: 105px;
	}
}*/
@media (max-width: 871px) {
	.header-nav-inner-wrapper {
    margin-bottom: 2em;
	}
}

@media (max-width: 650px) {
	.header-nav-inner-wrapper {
	  margin-left: 2em;
	}
}

@media (max-width: 600px) {
	.header-nav-inner-wrapper {
	  margin-left: 2em;
	}
	.main-title {
	  font-size: 1.8em;
	}
	.main-description, .main-contact {
	  font-size: 1.1em;
	}
	.main-top-nav {
	  font-size: 1.1em;
	  margin: 0 0;
	}
	div.about-outer-wrapper {
    margin-top: 122px;
  }
  div.work-inner-content-wrapper .work-image-wrapper {
	  flex-direction: column;
	}
	.work-image {
		padding-right: 0em;
	}
	.work-image-1 {
		width: 100%;
	}
	.work-image-2 {
		width: 55%;
	}
	.work-image-3 {
	  width: 75%;
	}
}

@media (max-width: 490px) {
	.main-description {
	  display: none;
	}
	p, li {
		font-size: 1.25em;
	}
	.main-description-mobile {
		display: none;
		text-align: right;
		font-size: 1.25em;
	}
	.main-contact {
		display: block;
		text-align: right;
		font-size: 1.25em;
	}
	.header-nav-inner-wrapper {
    margin-left: 1.5em;
	}
	.logo-link {
	  flex-grow: 2;
	}
	.main-top-nav li {
	  width: 33.33333333333%;
	  text-align: center;
	  position: relative;
	}
	div.about-inner-wrapper {
	  display: block;
	}
	div.about-inner-wrapper img {
	  width: 50%;
	  padding-right: 0;
	  margin: 0 auto;
	  display: block;
	  margin-bottom: 1.5em;
	  max-width: 50%;
	}
	div.work-inner-content-wrapper {
	  display: block;
	}
	div.work-inner-content-wrapper .work-text-wrapper {
	  width: 100%;
	}
	div.work-inner-content-wrapper .work-image-wrapper {
	  width: 100%;
	  padding-left: 0;
	}
	div.work-inner-wrapper {
	  padding-top: 0;
	}
}

@media (max-width: 390px) {
	.main-title {
	    font-size: 1.5em;
	}
	.main-description-mobile, .main-contact {
	  font-size: 1em;
	}
	div.about-outer-wrapper {
	  margin-top: 115px;
	}
}
