/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
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 CSS reset */

/* Fonts */

@font-face {
  font-family: "Nineties";
  src: url("fonts/PerfectlyNineties-Regular.woff2") format('woff2');
}
@font-face {
  font-family: "Nineties";
  src: url("fonts/PerfectlyNineties-Italic.woff2") format('woff2');
  font-style: italic;
}


@font-face {
    font-family: 'Charter';
    src: url('fonts/Charter-Roman.woff2') format('woff2'),
        url('fonts/Charter-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Basic styles */

body {
  font-weight: 300;
  color: #282823;
  font-size: 19px;
  min-height:100%;
  width: 100%;
  position: absolute;
  right: 0;
  -webkit-transition: ease-in-out .35s;
  -moz-transition: ease-in-out .35s;
  -o-transition: ease-in-out .35s;
  transition: ease-in-out .35s;
}

@media (max-width: 800px) {
  body {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  body {
    font-size: 16px;
  }
}

a {
  text-decoration: none;
  color: #008B38;
  -webkit-transition: ease-in-out .2s;
  -moz-transition: ease-in-out .2s;
  -o-transition: ease-in-out .2s;
  transition: ease-in-out .2s;
}

a:hover {
  color: #008B38;
}




img.lazy {
  max-width: 100%;
  height: auto;
}

.fullwidth {
  max-width: 100%;
  height: auto;
}

p, ul {
  line-height: 160%;
}

#nav {
  position: fixed;
  top: 0;
  right: -240px;
  height: 100%;
  background-color: white;
  width: 240px;
  color: #fff;
  font-size: 32px;
  font-weight: 200;
  -webkit-transition: ease-in-out .25s;
  -moz-transition: ease-in-out .25s;
  -o-transition: ease-in-out .25s;
  transition: ease-in-out .25s;
  z-index: 9999999;
}

#nav.expanded {
  right: 0;
}

body.nav-expanded {
  /*right: 240px;*/
}

#nav .collapser {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#nav.expanded .collapser {
  display: block;
  background-color: rgba(0,0,0,0.08);
}

#nav .trigger {
  height: 28px;
  width: 30px;
  position: absolute;
  top: 10px;
  left: -40px;
  -webkit-transition: background-color ease-in-out .2s;
  -moz-transition: background-color ease-in-out .2s;
  -o-transition: background-color ease-in-out .2s;
  transition: background-color ease-in-out .2s;
}

#nav .trigger.nav-expanded {
  z-index: 9999;
  position: absolute;
  top: -10px;
  right: -10px;
  height: 2000px;
  width: 400px;
}

#nav .trigger:hover {
  cursor: pointer;
  background-color: white;
}

#nav .trigger .line {
  width: 20px;
  height: 2px;
  background-color: black;
  position: absolute;
  left: 5px;
}

#nav .trigger .line:nth-child(1) {
  top: 9px;
}

#nav .trigger .line:nth-child(2) {
  top: 17px;
}

#nav a {
  color: black;
}

#nav a:hover {
  color: #008B38;
}

#nav ul {
  position: relative;
  z-index: 99999999;
  background-color: white;
  height: 100vh;
  box-sizing: border-box;
  padding-top: 40px;
}

#nav ul li {
  position: relative;
}


#nav ul li a {
  display: inline-block;
  box-sizing: border-box;
  padding: 18px 30px;
  width: 100%;
  -webkit-transition: color ease-in-out .2s;
  -moz-transition: color ease-in-out .2s;
  -o-transition: color ease-in-out .2s;
  transition: color ease-in-out .2s;
  position: relative;
  z-index: 99;
  font-family: "Nineties";
  font-size: 48px;
  cursor: pointer;
  color: #282823;
}


/* Smartphones (portrait and landscape) ----------- */


@media only screen and (max-device-width : 500px) {
  #nav ul li a {
    padding: 24px 24px;
  }
}


#nav ul li .hover {
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: ease-in-out .2s;
  -moz-transition: ease-in-out .2s;
  -o-transition: ease-in-out .2s;
  transition: ease-in-out .2s;
}

#nav ul li:hover .hover {
  width: 100%;
}



/* Home */

#home {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media only screen and (max-width: 500px) { 
  #home {
    height: 87vh;
  }
}

#home .home-down-arrow {
  position: absolute;
  bottom: 50px;
  margin-left: -15.5px;
}

#home h1 {
  font-family: "Nineties", sans-serif;
  font-size: 180px;
  line-height: 102%;
  /*max-width: 1200px;*/
  width: 84%;
  left: 8%;
  -webkit-font-smoothing: antialiased;
  color: #282823;
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
}

#home h1 em {
  font-style: italic;
}

@media screen and (max-width: 2000px) {
  #home h1 {
    font-size: 155px;
  }
}

@media screen and (max-width: 1900px) {
  #home h1 {
    font-size: 150px;
  }
}

@media screen and (max-width: 1850px) {
  #home h1 {
    font-size: 140px;
  }
}

@media screen and (max-width: 1800px) {
  #home h1 {
    font-size: 135px;
  }
}

@media screen and (max-width: 1750px) {
  #home h1 {
    font-size: 130px;
  }
}

@media screen and (max-width: 1700px) {
  #home h1 {
    font-size: 125px;
  }
}

@media screen and (max-width: 1650px) {
  #home h1 {
    font-size: 120px;
  }
}

@media screen and (max-width: 1600px) {
  #home h1 {
    font-size: 116px;
  }
}

@media screen and (max-width: 1550px) {
  #home h1 {
    font-size: 116px;
  }
}

@media screen and (max-width: 1400px) {
  #home h1 {
    font-size: 110px;
  }
}

@media screen and (max-width: 1200px) {
  #home h1 {
    font-size: 105px;
  }
}

@media screen and (max-width: 1060px) {
  #home h1 {
    font-size: 98px;
  }
}

@media screen and (max-width: 1000px) {
  #home h1 {
    font-size: 96px;
  }
}

@media screen and (max-width: 950px) {
  #home h1 {
    font-size: 90px;
  }
}

@media screen and (max-width: 870px) {
  #home h1 {
    font-size: 84px;
    width: 82%;
    left: 9%;
  }
}

@media screen and (max-width: 780px) {
  #home h1 {
    font-size: 80px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 750px) {
  #home h1 {
    font-size: 74px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 700px) {
  #home h1 {
    font-size: 70px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 660px) {
  #home h1 {
    font-size: 64px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 620px) {
  #home h1 {
    font-size: 60px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 580px) {
  #home h1 {
    font-size: 55px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 530px) {
  #home h1 {
    font-size: 50px;
    width: 80%;
    left: 10%;
  }
}

@media screen and (max-width: 500px) {
  #home h1 {
    font-size: 42px;
    width: 84%;
    left: 8%;
  }
}   


h2 {
  font-size: 44px;
  font-family: "Nineties";
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding-bottom: 0.9em;
}


@media (max-width: 1150px) {
  h2 {
    font-size: 44px;
  }
}

@media (max-width: 1010px) {
  h2 {
    font-size: 40px;
  }
}

@media (max-width: 860px) {
  h2 {
    font-size: 38px;
  }
}

@media (max-width: 730px) {
  h2 {
    font-size: 36px;
  }
}

@media (max-width: 630px) {
  h2 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 32px;
  }
}

/* Smartphones (portrait and landscape) ----------- */


@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  h2 {
    font-size: 50px;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 440px) {
  h2 {
    font-size: 49px;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 400px) {
  h2 {
    font-size: 47px;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 380px) {
  h2 {
    font-size: 46px;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 360px) {
  h2 {
    font-size: 43px;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 340px) {
  h2 {
    font-size: 38px;
  }
}


/* Work */

#work {
  width: 100%;
  background-color: white;
  font-size: 0;
}


#work a {
  width: 50%;
  height: 50vw;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

@media (max-width: 620px) {
  #work a {
    width: 100%;
    height: 100vw;
    border-bottom: 10px solid white;
  }
  #work a.coming-soon {
    display: none;
  }
}

#work a img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.2s ease-in-out, left 0.2s ease-in-out, top 0.2s ease-in-out;
}

@media (min-width: 621px) {
  #work a:hover img {
    width: 106%;
    top: -3%;
    left: -3%;
  }
}

#work a div.work-tile-style {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .2s ease-in-out;
  /*background: linear-gradient(180deg, rgba(138, 164, 179, 0) 58.33%, rgba(132, 152, 164, 0.24) 70.83%, #767D81 100%);*/
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.33%, rgba(0, 0, 0, 0.24) 70.83%, rgba(0, 0, 0, 0.8) 100%); 
  opacity: 0;
  z-index: 99;
}

#work a div.work-tile-style:hover {
  opacity: 1;
}

@media only screen and (max-width: 1200px) and (min-width: 621px) { 
  #work a div.work-tile-style {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.33%, rgba(0, 0, 0, 0.24) 70.83%, rgba(0, 0, 0, 0.8) 100%); 
  }
}


#work a div.work-hover-title {
  position: absolute;
  left: 8%;
  /*bottom: 35px;*/
  bottom: 70px;
  width: 84%;
  /*font-size: 23px;*/
  font-size: 36px;
  line-height: 150%;
  color: white;
  opacity: 0;
  text-align: center;
  transition: opacity ease-in-out .2s;
  pointer-events: none;
  font-family: "Gotham A", "Gotham B";
  font-style: normal;
  font-weight: 400;
  z-index: 999;
}

#work a:hover div.work-hover-title {
  opacity: 1;
}

@media only screen and (max-width: 2000px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 33px;
    bottom: 62px;
  }
}

@media only screen and (max-width: 1800px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 31px;
    bottom: 55px;
  }
}

@media only screen and (max-width: 1700px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 29px;
    bottom: 50px;
  }
}

@media only screen and (max-width: 1600px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 27px;
    bottom: 46px;
  }
}

@media only screen and (max-width: 1550px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 25px;
    bottom: 42px;
  }
}

@media only screen and (max-width: 1500px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 24px;
    bottom: 40px;
  }
}

@media only screen and (max-width: 1450px) and (min-width: 621px) {
  #work a div.work-hover-title {
    font-size: 23px;
    bottom: 35px;
  }
}

@media only screen and (max-width: 1200px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    bottom: 30px;
  }
}

@media only screen and (max-width: 1050px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    bottom: 26px;
    font-size: 22px;
  }
}

@media only screen and (max-width: 950px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    font-size: 21px;
  }
}

@media only screen and (max-width: 900px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    bottom: 24px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 850px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    bottom: 22px;
    font-size: 19px;
  }
}

@media only screen and (max-width: 800px) and (min-width: 621px) { 
  #work a div.work-hover-title {
    bottom: 22px;
    font-size: 18px;
  }
}


@media only screen and (max-width: 620px) { 
  #work a div.work-tile-style {
    display: none;
  }

  #work a div.work-hover-title {
    display: none;
  }
}

@media only screen and (max-width: 400px) { 
  #work a div.work-hover-title {
    
  }
}


/* About */

#about {
  text-align: center;
  padding-top: 70px;
  width: 86%;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 80px;
}

#about .me {
  margin: 0px auto 45px auto;
  width: 60%;
  height: 60%;
  max-width: 250px;
  max-height: 250px;
  border-radius: 50%;
  background: url("images/me.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale();
  display: none;
}

#about h2 {
  padding-bottom: 0.5em;
  text-transform: none;
  letter-spacing: 0;
  font-size: 80px;
  font-weight: 500;
}

@media only screen and (max-width: 800px) { 
  #about h2 {
    font-size: 70px;
  }
}

@media only screen and (max-width: 500px) { 
  #about h2 {
    font-size: 54px;
  }
}

#about p {
  margin-top: -.1em;
  vertical-align: top;
  display: inline-block;
  margin-bottom: 1em;
  font-family: 'Charter', sans-serif;
  font-weight: 300;
  font-size: 21px;
  -webkit-font-smoothing: antialiased;
  opacity: 0.85;
}

@media (max-width: 1000px) {
  #about p {
    font-size: 20px;
  }
}

@media (max-width: 800px) {
  #about p {
    font-size: 19px;
  }
}

@media (max-width: 600px) {
  #about p {
    font-size: 18px;
  }
}

/* Contact */

#contact {
  width: 80%;
  text-align: left;
  padding-top: 40px;
  margin: 0px auto 80px auto;
  max-width: 700px;
}

#contact a {
  color: #282823;
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  #contact {
    margin-bottom: 40px;
  }

}


#contact .social {
  display: inline-block;
  width: 32px;
  height: 32px;
  -webkit-transition: ease-in-out .2s;
  -moz-transition: ease-in-out .2s;
  -o-transition: ease-in-out .2s;
  transition: ease-in-out .2s;
  margin: 0;
  margin-right: 6px;
  opacity: 0.2
}

#contact .social:hover {
  opacity: 1;
}

#contact .facebook {
  background-image: url("images/social-facebook.svg");
}

#contact .linkedin {
  background-image: url("images/social-linkedin.svg");
}

#contact .instagram {
  background-image: url("images/social-instagram.svg");
}


footer {
  padding: 50px 0 30px 0;
  text-align: center;
}

footer img {
  width: 40px;
  height: auto;
  margin-bottom: 12px;
}

footer .copyright {
  font-size: 16px;
  opacity: .7;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  footer {
    padding: 40px 0;
  }
}

/* Page - Project */



/* New project pages */

.project-hero-image-container {
  width: 100vw;
  position: relative;

}

.project-hero-image {
  width: 100%;
}

.project-hero-image-bottom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(31, 8, 0, 0) 0%, rgba(31, 8, 0, 0.04) 100%);
}

.project-page-body {
  margin: 70px auto;
  color: #475054;
  -webkit-font-smoothing: antialiased;
  font-family: "Charter"; 
  font-weight: 400;
  font-size: 22px;
  text-align: center;
}

@media only screen and (max-width: 820px) {
  .project-page-body {
    margin: 55px auto;
    font-size: 21px;
  }
}

@media only screen and (max-width: 700px) {
  .project-page-body {
    margin: 50px auto;
    font-size: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .project-page-body {
    margin: 45px auto;
    font-size: 19px;
  }
}

@media only screen and (max-width: 500px) {
  .project-page-body {
    margin: 40px auto;
    font-size: 18px;
  }
}


.project-page-body a {
  color: #6A24FF;
}

.project-page-body h1 {
  font-size: 56px;
  line-height: 130%;
  font-family: "Gotham A", "Gotham B";
  font-style: normal;
  font-weight: 500;
  color: #363B3E;
  margin-bottom: 36px;
  margin-left: auto;
  margin-right: auto;
  width: 86%;
  max-width: 700px;
  text-align: left;
}

@media only screen and (max-width: 820px) {
  .project-page-body h1 {
    font-size: 50px;
    margin-bottom: 32px;

  }
}

@media only screen and (max-width: 740px) {
  .project-page-body h1 {
    font-size: 46px;
    margin-bottom: 28px;

  }
}

@media only screen and (max-width: 700px) {
  .project-page-body h1 {
    font-size: 44px;

  }
}

@media only screen and (max-width: 650px) {
  .project-page-body h1 {
    font-size: 41px;
    margin-bottom: 26px;

  }
}

@media only screen and (max-width: 600px) {
  .project-page-body h1 {
    font-size: 38px;
    margin-bottom: 24px;

  }
}

@media only screen and (max-width: 550px) {
  .project-page-body h1 {
    font-size: 36px;
    margin-bottom: 22px;
  }
}

@media only screen and (max-width: 500px) {
  .project-page-body h1 {
    font-size: 34px;

  }
}


.project-page-body p {
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
  width: 86%;
  max-width: 700px;
  text-align: left;
}


.project-page-body ul {
  list-style-type: disc;
  padding-left: 2em;
  margin-bottom: 1em;
}

/* end new project pages and possibly delete the below */

.project {
  text-align: center;
  padding-bottom: 100px;
}

.project #project-hero {
  width: 100%;
  height: 90vh;
  background-color: #ddd;
  background-size: cover;
  background-position: center center;
  margin-bottom: 80px;
}

.project img {
  width: auto;
}

.project h1 {
  width: 80%;
  margin: 0 auto;
  font-size: 44px;
  line-height: 140%;
  margin-bottom: 20px;
}

.project h2 {
  width: 80%;
  margin: 60px auto 0 auto;
  font-size: 48px;
  line-height: 140%;
  margin-bottom: 30px;
}

.project .subtitle {
  font-size: 22px;
  line-height: 160%;
  color: #999;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto 60px auto;
}

.project p {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 30px;
  max-width: 760px;
}

.project img {
  display: block;
  margin: 60px auto;
  max-width: 100%;
}

@media (max-width: 620px) {
  .project h1 {
    font-size: 36px;
    margin-bottom: 18px;
  }
  .project h2 {
    margin: 40px auto 0 auto;
    font-size: 32px;
    margin-bottom: 24px;
  }
  .project .subtitle {
    font-size: 19px;
  }
  .project p {
    font-size: 16px;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 500px) {
  .project {
    padding-bottom: 30px;
  }
  .project #project-hero {
    height: 50vh;
    margin-bottom: 32px;
  }
  .project h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .project .subtitle {
    font-size: 19px;
    margin: 0 auto 30px auto;
  }
  .project img {
    width: 92%;
    margin: 30px auto;
  }
}