@charset "UTF-8";
@import url(normalize.css);
/*COLORS*/
/*FONTS*/
/*HELPERS*/
/**
 *  For modern browsers
 */
.cf:before,
.cf:after {
  content: "";
  display: table; }

.cf:after {
  clear: both; }

/**
 * For IE 6/7 (trigger hasLayout)
 */
.cf {
  *zoom: 1; }

/*MIXINS*/
@media screen and (min-width: 64em) {
  @-moz-document url-prefix() {
    #all-projects ul li:last-child {
      margin-bottom: 63px; } } }
#fader {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 1001;
  top: 0;
  left: 0;
  background: #f4f4f4; }
  #fader img {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 38px;
    height: 38px; }
  #fader.fadeout {
    -webkit-animation: fader 1.2s forwards;
    animation: fader 1.2s forwards;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s; }
  #fader::before {
    display: none;
    content: "";
    width: 0%;
    -webkit-animation: width 0.6s forwards;
    animation: width 0.6s forwards;
    -webkit-animation-delay: .6s;
    animation-delay: .6ss;
    height: 1px;
    background: #b5b5b5;
    position: absolute;
    top: 60%;
    left: 0; }
  #fader::after {
    display: none;
    content: "";
    width: 1px;
    height: 0;
    -webkit-animation: height60 0.6s forwards;
    animation: height60 0.6s forwards;
    -webkit-animation-delay: .6s;
    animation-delay: .6ss;
    top: 0;
    left: 70%;
    background: #b5b5b5;
    position: absolute; }
  #fader span {
    display: none;
    content: "";
    width: 1px;
    height: 0;
    -webkit-animation: height 0.6s forwards;
    animation: height 0.6s forwards;
    -webkit-animation-delay: .6s;
    animation-delay: .6ss;
    background: #b5b5b5;
    position: absolute;
    top: 0;
    left: 25%; }

@media screen and (min-width: 64em) {
  #fader::after, #fader::before, #fader span {
    display: block; } }
@-webkit-keyframes fader {
  100% {
    opacity: 0;
    visibility: hidden; } }
@keyframes fader {
  100% {
    opacity: 0;
    visibility: hidden; } }
@-webkit-keyframes fadein {
  100% {
    opacity: 1;
    visibility: visible; } }
@keyframes fadein {
  100% {
    opacity: 1;
    visibility: visible; } }
@-webkit-keyframes width {
  100% {
    width: 100%; } }
@keyframes width {
  100% {
    width: 100%; } }
@-webkit-keyframes height {
  100% {
    height: 100%; } }
@keyframes height {
  100% {
    height: 100%; } }
@-webkit-keyframes height60 {
  100% {
    height: 60%; } }
@keyframes height60 {
  100% {
    height: 60%; } }
@-webkit-keyframes width0 {
  100% {
    width: 0%; } }
@keyframes width0 {
  100% {
    width: 0%; } }
@-webkit-keyframes height0 {
  100% {
    height: 0%; } }
@keyframes height0 {
  100% {
    height: 0%; } }
a, a:focus, input, textarea {
  outline: 0; }

html {
  background: #f4f4f4;
  font-family: "Roboto", sans-serif;
  color: #636363; }

.has-gallery {
  cursor: pointer; }

#main-wrap {
  width: 100%;
  min-height: 100vh;
  -webkit-transition: all 0.3s ease-in-out;
  /* Chrome 1-25, Safari 3.2+ */
  -moz-transition: all 0.3s ease-in-out;
  /* Firefox 4-15 */
  -o-transition: all 0.3s ease-in-out;
  /* Opera 10.50–12.00 */
  transition: all 0.3s ease-in-out;
  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }

#about {
  background: #f4f4f4; }
  #about svg {
    fill: #636363;
    max-width: 200px;
    height: 39px;
    width: 100%; }

#logo {
  cursor: pointer;
  padding: 20px;
  border-bottom: 1px solid #b5b5b5; }

#about-top, #about-bottom {
  position: relative;
  padding: 20px; }
  #about-top p, #about-bottom p {
    max-width: 480px;
    margin-bottom: 1rem;
    font-size: 13px; }

#about-top {
  padding: 0; }

#about-intro {
  padding: 20px; }
  #about-intro.hidden {
    display: none; }
  #about-intro p:last-child {
    margin-bottom: 0; }

#about-bottom {
  border-top: 1px solid #b5b5b5; }
  #about-bottom a {
    text-decoration: none;
    color: #636363;
    display: block;
    margin-bottom: 5px; }
    #about-bottom a:nth-child(2) {
      margin-bottom: 20px; }
    #about-bottom a.inline {
      display: inline-block;
      margin-bottom: 0; }
    #about-bottom a img {
      height: 20px;
      width: 20px; }
  #about-bottom p:last-child {
    margin-top: 40px;
    margin-bottom: 0;
    color: #777777; }

#all-projects-trigger {
  text-decoration: none;
  color: #777777;
  font-size: 20px;
  text-transform: uppercase;
  display: block;
  width: 100%; }
  #all-projects-trigger::after {
    content: " +";
    -webkit-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000; }
  #all-projects-trigger.open::after {
    content: " -"; }

#all-projects {
  border-top: 1px solid #b5b5b5;
  padding: 20px; }
  #all-projects.open ul {
    display: block; }
  #all-projects ul {
    display: none;
    list-style-type: none;
    padding-top: 20px;
    overflow: hidden; }
    #all-projects ul li {
      font-size: 13px;
      padding-bottom: 13px; }
      #all-projects ul li:last-child {
        padding-bottom: 0; }
      #all-projects ul li a {
        text-decoration: none;
        color: #636363;
        overflow: hidden;
        display: block;
        width: 100%; }
        #all-projects ul li a span {
          float: right;
          color: #b5b5b5;
          vertical-align: baseline; }

.no-touch #all-projects ul li a:hover {
  text-decoration: underline; }

#projects {
  min-height: 100vh;
  position: relative;
  -webkit-transition: opacity 0.3s ease-in-out;
  /* Chrome 1-25, Safari 3.2+ */
  -moz-transition: opacity 0.3s ease-in-out;
  /* Firefox 4-15 */
  -o-transition: opacity 0.3s ease-in-out;
  /* Opera 10.50–12.00 */
  transition: opacity 0.3s ease-in-out;
  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }
  #projects.hidden {
    display: none;
    opacity: 0;
    visibility: hidden; }
  #projects .project {
    padding: 20px;
    position: absolute;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; }
  #projects h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: normal; }

#project-details {
  width: 100%;
  display: none; }
  #project-details div {
    padding: 20px; }
  #project-details h1 {
    color: #777777;
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 20px;
    overflow: hidden; }
    #project-details h1 span {
      padding-top: 8.5px;
      font-size: 10px;
      float: right;
      color: #b5b5b5;
      vertical-align: baseline; }
  #project-details.open {
    display: block; }
    #project-details.open + div {
      display: none; }

@media screen and (min-width: 64em) {
  #project-details {
    display: block;
    -webkit-transition: 0.6s 0.3s ease-in-out;
    /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: 0.6s 0.3s ease-in-out;
    /* Firefox 4-15 */
    -o-transition: 0.6s 0.3s ease-in-out;
    /* Opera 10.50–12.00 */
    transition: 0.6s 0.3s ease-in-out;
    /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
    -webkit-transition-delay: 0;
    -moz-transition-delay: 0;
    -o-transition-delay: 0;
    transition-delay: 0;
    opacity: 0;
    position: absolute;
    top: initial;
    top: 79px;
    height: 100%;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%); }
    #project-details.open {
      -webkit-transition-delay: 0.4s;
      -moz-transition-delay: 0.4s;
      -o-transition-delay: 0.4s;
      transition-delay: 0.4s;
      opacity: 1;
      -webkit-transform: translateX(0);
      -moz-transform: translateX(0);
      -ms-transform: translateX(0);
      -o-transform: translateX(0);
      transform: translateX(0); }
      #project-details.open + div {
        display: block; }

  #about-intro {
    display: block;
    -webkit-transition: 0.6s 0.3s ease-in-out;
    /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: 0.6s 0.3s ease-in-out;
    /* Firefox 4-15 */
    -o-transition: 0.6s 0.3s ease-in-out;
    /* Opera 10.50–12.00 */
    transition: 0.6s 0.3s ease-in-out;
    /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
    -webkit-transition-delay: 0.4s;
    -moz-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
    transition-delay: 0.4s; }
    #about-intro.hidden {
      -webkit-transition-delay: 0s;
      -moz-transition-delay: 0s;
      -o-transition-delay: 0s;
      transition-delay: 0s;
      -webkit-transform: translateX(100%);
      -moz-transform: translateX(100%);
      -ms-transform: translateX(100%);
      -o-transform: translateX(100%);
      transform: translateX(100%);
      display: block;
      opacity: 0; } }
#project-details-close {
  color: #777777;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #b5b5b5;
  padding: 10px;
  display: inline-block; }
  #project-details-close span {
    position: relative; }

#project1 {
  width: 100%;
  left: 0;
  top: 0;
  height: 33.3333333%; }

#project2 {
  width: 100%;
  left: 0;
  top: 33.33333333%;
  height: 33.3333333%; }

#project3 {
  width: 100%;
  left: 0;
  top: auto;
  bottom: 0;
  height: 33.3333333%; }

@media screen and (min-width: 48em) {
  #project1 {
    width: 100%;
    height: 50%; }

  #project2 {
    width: 50%;
    left: 0;
    top: 50%;
    height: 50%; }

  #project3 {
    width: 50%;
    height: 50%;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto; } }
@media screen and (min-width: 64em) {
  #about-bottom div {
    position: absolute;
    bottom: 20px;
    left: 20px; }

  #about-top {
    overflow: hidden; }

  #all-projects {
    border-top: 1px solid #b5b5b5;
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #f4f4f4;
    width: 100%;
    padding: 0;
    padding-bottom: 20px;
    height: 63px;
    -webkit-transition: all 0.3s ease-in-out;
    /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all 0.3s ease-in-out;
    /* Firefox 4-15 */
    -o-transition: all 0.3s ease-in-out;
    /* Opera 10.50–12.00 */
    transition: all 0.3s ease-in-out;
    /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }
    #all-projects::before {
      content: "";
      width: 100%;
      height: 1px;
      background: #b5b5b5;
      position: absolute;
      top: 63px;
      left: 0; }
    #all-projects.open {
      height: 100%; }
      #all-projects.open ul {
        overflow: auto; }
    #all-projects ul {
      height: 100%;
      overflow: hidden;
      -webkit-overflow-scrolling: touch;
      padding: 20px 20px 63px 20px;
      display: block;
      position: relative; }

  #all-projects-trigger {
    padding: 20px 0 15px 20px;
    width: 100%; }
    #all-projects-trigger::before {
      content: "";
      width: 1px;
      height: 63px;
      background: #b5b5b5;
      position: absolute;
      top: 0;
      right: 52.5px; }
    #all-projects-trigger::after {
      position: absolute;
      top: 18px;
      right: 20px; }

  #main-wrap {
    position: relative;
    min-height: 100vh; }

  #about {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 25%; }

  #about-top {
    height: 60%; }

  #about-bottom {
    height: 40%; }

  #projects {
    position: absolute;
    top: 0;
    left: 25%;
    width: 75%; }
    #projects.hidden {
      display: block; }

  #project1 {
    width: 60%;
    height: 60%;
    top: 0;
    left: 0;
    border-right: 1px solid #f2f2f2; }

  #project2 {
    top: 0;
    left: auto;
    right: 0;
    height: 60%;
    width: 40%; }

  #project3 {
    width: 100%;
    height: 40%;
    top: 60%;
    left: 0;
    border-top: 1px solid #f2f2f2; } }
.no-touch #projects .project div {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  -webkit-transition: 0.4s 0.3s ease-in-out;
  /* Chrome 1-25, Safari 3.2+ */
  -moz-transition: 0.4s 0.3s ease-in-out;
  /* Firefox 4-15 */
  -o-transition: 0.4s 0.3s ease-in-out;
  /* Opera 10.50–12.00 */
  transition: 0.4s 0.3s ease-in-out;
  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }
.no-touch #projects .project:hover div {
  opacity: 0; }
.no-touch #projects .project h1 {
  color: transparent;
  -webkit-transition: 0.4s 0.3s ease-in-out;
  /* Chrome 1-25, Safari 3.2+ */
  -moz-transition: 0.4s 0.3s ease-in-out;
  /* Firefox 4-15 */
  -o-transition: 0.4s 0.3s ease-in-out;
  /* Opera 10.50–12.00 */
  transition: 0.4s 0.3s ease-in-out;
  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }
.no-touch #projects .project:hover h1 {
  color: white; }

#projects, #about {
  z-index: 2; }

#gallery {
  display: none;
  position: relative;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  overflow: hidden;
  width: 100%; }
  #gallery img {
    max-width: 100%;
    display: block; }
  #gallery.open {
    display: block;
    opacity: 1;
    visibility: visible; }

#gallery-loader {
  display: none; }

@media screen and (min-width: 64em) {
  #gallery-loader {
    display: block;
    border-left: 1px solid #b5b5b5;
    position: fixed;
    left: 25%;
    top: 0;
    width: 75%;
    height: 100%;
    background: #f4f4f4;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    /* Chrome 1-25, Safari 3.2+ */
    -moz-transition: all 0.3s ease-in-out;
    /* Firefox 4-15 */
    -o-transition: all 0.3s ease-in-out;
    /* Opera 10.50–12.00 */
    transition: all 0.3s ease-in-out;
    /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */ }
    #gallery-loader img {
      position: absolute;
      top: 30%;
      left: 30%;
      width: 38px;
      margin-left: -16px;
      height: 38px;
      margin-top: -16px; }
    #gallery-loader.shown {
      visibility: visible;
      opacity: 1; }
    #gallery-loader::before {
      content: "";
      width: 100%;
      height: 1px;
      background: #b5b5b5;
      position: absolute;
      top: 60%;
      left: 0; }
    #gallery-loader::after {
      content: "";
      width: 1px;
      height: 60%;
      top: 0;
      left: 60%;
      background: #b5b5b5;
      position: absolute; } }
@media screen and (min-width: 64em) {
  #gallery {
    display: block;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 75%;
    float: right;
    position: absolute;
    top: 0;
    right: 0; } }
