@charset "utf-8";
/* CSS Document */

/* css reset */
/* 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, main, 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;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/* enf of css reset */


/*** general style ***/
body {
	font-family: 'Montserrat', Geneva, Tahoma, Verdana, sans-serif;
	color: #222;
}

h2 {
	  letter-spacing: 0.5px;
    color: #222;
    font-size: 1.2em;
    margin: 20px 0 10px;
    text-align: center;
}

h3 {
	font-family: 'Libre Baskerville', 'Hoefler Text', Garamond, serif;
	font-size: 2em;
}

a {
	text-decoration: none;
	color: #222;
}

/* a11y style */

.screen-reader-text {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/*** navigation ***/

header {
	position: fixed;
	width: 100%;
	height: 130px;
	z-index: 9999;
	top: 0;
	left: 0;
	background-color: #E0E1DF;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fa3939;
}

.inner-nav {
	padding: 20px;
	margin: 0 auto; 
}

.inner-nav h1 {
  font-size: 1.2em;
}

.inner-nav a {
	color: #222;
	line-height: 35px;
}

.inner-nav a:hover,
.inner-nav a:focus {
color: #fa3939;
}


/*** container style ***/

.container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  padding: 30px;
  margin: 30px auto 0;
}

.intro {
	margin: 100px 30px 10px;
  height: 120px;
}

.intro-text p {
  font-family: 'Montserrat', Geneva, Tahoma, Verdana, sans-serif;
  text-transform: uppercase;
  line-height: 30px;
  text-align: center;
}

.intro-text h2{
	font-size: 1.7em;
	font-family: 'Libre Baskerville', 'Hoefler Text', Garamond, serif;
  text-transform: uppercase;
  margin-top: 20px;
  letter-spacing: 1.5px;
}


/*** projects style ***/

.projects {
  width: 100%;
  margin: 0 auto;
  display: flex;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}


figure.item {
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  max-width: 315px;
  max-height: 230px;
  color: rgb(241, 241, 239);
  text-align: right;
  text-transform: uppercase;
  font-family: 'Montserrat', Geneva, Tahoma, Verdana, sans-serif;
  

}

figure.item img {
  max-width: 100%;
}

figure.item figcaption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 20px;
  background-color: rgba(0,0,0,0.3);

}
figure.item h3,
figure.item .links {
  width: 100%;
  margin: 0;
  padding: 0;
}
figure.item h3 {
  line-height: 1.3em;
  font-weight: 900;
  font-size: 1.3em;
}
figure.item .links {
  font-size: 0.8em;
  letter-spacing: 3px;
  font-weight: 300;
  margin: 0;
  padding: 10px;
  
  border-radius: 5px;

}

figure.item a {
  padding-bottom: 15px;
  display: block;
  color: #fff;
  text-decoration: underline;
}
figure.item a:hover,
figure.item a:focus {
  color: #fa3939;
}


/*** about style ***/

.about-container {
	display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
	padding: 30px;
	margin: 30px auto 0;
}

.about-text {
  margin: 5%;
}

.text {
  margin: 10px;
}

.text p {
  line-height: 1.7;
}

.text p:last-child {
  margin-top: 10px;
}

.about-img {
  width: 42%;
  margin: 0 auto;
}

img.photo {
  width: 100%;
  max-width: 300px;
  height: auto;
	margin: 0 auto;
	border-radius: 5px;
}

.email-link {
	text-decoration: underline;
}

.email-link:hover {
	color: #fa3939;
}
/*** footer style ***/

footer {
	display: -webkit-flex;
  display: flex;
  height: 80px;
	background-color: #E0E1DF;
	-webkit-justify-content: center;
  justify-content: center;
}

footer ul {
	width: 145px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}

footer li {
	float: left;
	width: 32%;
	text-align: center;
  line-height: 80px;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?5z6a9h');
  src:  url('fonts/icomoon.eot?5z6a9h#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?5z6a9h') format('truetype'),
    url('fonts/icomoon.woff?5z6a9h') format('woff'),
    url('fonts/icomoon.svg?5z6a9h#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-github:before {
  content: "\eab0";
}
.icon-linkedin2:before {
  content: "\eaca";
}


[class*="icon-"] {
	font-size: 20px;
  color: #fff;
  background-color: #000;
  border-radius: 5px;
  padding: 5px;
}

[class*="icon-"]:hover,
[class*="icon-"]:focus {
    transition: 0.3s ease;
    background-color: #fa3939;
}

.footer-text {
	margin: 12px 0;
  text-transform: uppercase;

}

.footer-text p {
	color: #aaa;
	font-size: 0.6em;
	text-align: center;
  line-height: 1.6;
  letter-spacing: 1px;
  margin-top: 5%;
}

.footer-links {
  margin: 0;
}

/*** media queries ***/

@media only screen and (min-width: 575px) {

  .projects {
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }

  figure.item {
    width: 45%;
  }

  figure.item a {
    padding: 5px;
    line-height: 1.2;
  }

}

@media only screen and (min-width: 960px) {

  main {
    max-width: 1250px;
    margin: 0 auto;
  }

	header {
		height: 100px;
	}

	.inner-nav {
    display: -webkit-flex;
    display: flex;
    max-width: 1250px;
    margin: 0 auto;
		padding: 0;
    line-height: 100px;
	}

	.inner-nav h1 {
    -webkit-flex: 3;
    flex: 3;
  }

  nav {
    -webkit-flex: 2;
    flex: 2;
  }

  nav ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }

  nav ul li:first-child {
    margin-right: 5%;
  }

/*** container style ***/

.intro {
  width: 100%;
  height: 300px;
  margin: 80px 30px 10px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: center;
  justify-content: center;
}

.intro-text {
  width: 60%;
  margin: 0 auto;
}

.intro-text h2 {
  width: 400px;
	font-size: 2.2em;
  font-family: 'Libre Baskerville', 'Hoefler Text', Garamond, serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  border-top: 1px solid #222;
  padding: 20px;
  margin: 50px auto 0;
  color: black;
}

.origami {
  width: 100%;
  position: relative;
}

.origami-gray {
	position: absolute;
  left: 180px;
  top: 130px;
	width: 300px;
	height: 250px;
	background: url(images/origamiFly1.png) no-repeat;
}

.origami-red {
	position: absolute;
	width: 300px;
	height: 250px;
	background: url(images/origamiFly2.png) no-repeat;
}


.projects {
  width: 100%;
  margin: 0 auto;
  display: flex;
  display: -webkit-flex;
    -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

.item img {
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
}

figure.item:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  right: 70%;
  content: '';
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transform: skew(20deg) translateX(-75%);
  transform: skew(20deg) translateX(-75%);
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
figure.item * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
figure.item img {
  max-width: 100%;
}
figure.item figcaption {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 20px;
}
figure.item h3,
figure.item .links {
  width: 100%;
  margin: 0;
  padding: 0;
}
figure.item h3 {
  line-height: 1.3em;
  font-weight: 900;
  font-size: 1.3em;
}
figure.item .links {
  font-size: 0.8em;
  letter-spacing: 3px;
  font-weight: 300;
  margin: 0;
  padding: 0;
  background-color: rgba(0,0,0,0);
}
figure.item .links li {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
  opacity: 0;
  list-style: none;
}
figure.item a {
  padding: 10px 0;
  display: block;
  color: #fff;
  text-decoration: underline;
}
figure.item a:hover,
figure.item a:focus {
  color: #fa3939;
}
figure.item:hover:after,
figure.item.hover:after {
  -webkit-transform: skew(35deg) translateX(0%);
  transform: skew(35deg) translateX(0%);
}
figure.item:hover img,
figure.item.hover img {
    -webkit-filter: grayscale(0); /* Chrome, Safari, Opera */
    filter: grayscale(0);
}

figure.item:hover li,
figure.item.hover li{
  opacity: 1;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
figure.item:hover li:first-child,
figure.item.hover li:first-child  {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
figure.item:hover li:nth-child(2),
figure.item.hover li:nth-child(2){
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.item:hover li:nth-child(3),
figure.item.hover li:nth-child(3) {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
figure.item:hover li:nth-child(4),
figure.item.hover li:nth-child(4) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}


/*** about style ***/

.about-img {
  float: left;
  width: 20%;
  margin-top: 5%;
}

.about-text {
  margin-left: 20%;
}

h2 {
  text-align: center;
}

p {
  padding-top: 10px;
  padding-left: 40px;
}

.footer-text p {
  margin-top: 0;
}

}

/** {
  border: 1px solid black !important;
}*/
