a, .nav, .fader {
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
}

.slide {
  -webkit-transition: background-position 0.5s;
  -moz-transition: background-position 0.5s;
}

.links.fader {
  -webkit-transition-property: font-size, opacity;
  -webkit-transition-duration: 0.5s;
}

.links.inspiration.fader {
  -webkit-transition-property: left, opacity, background-position;
  -webkit-transition-duration: 0.5s;
}

.content {
  -webkit-transition: padding 0.5s;
  -moz-transition: padding 0.5s;
}

body, .links {
  -webkit-transition: font-size 0.5s;
  -moz-transition: font-size 0.5s;
}


@font-face {
    font-family: 'Gibson';
    src: url('../fonts/Gibson-Regular.eot');
    src: url('../fonts/Gibson-Regular.eot?iefix') format('eot'),
        url('../fonts/Gibson-Regular.woff') format('woff'),
        url('../fonts/Gibson-Regular.ttf')  format('truetype');
}

html,body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font: 24px/1.3 Gibson, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  text-shadow: rgba(0,0,0,0.3) 1px 1px 0px;
  background: #000;
  font-variant-ligatures: unset;
  font-variant-ligatures: none;
  -moz-font-feature-settings: "liga=0"; -moz-font-feature-settings: "liga" 0;  
}

a, a:hover, a:active, a:visited {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  line-height: 0.8;
}
  .arrowed a:after { content: '→'; }
  a:hover {
    text-shadow: rgba(255, 255, 255, 0.2) 0 0 3px;
    border-bottom-color: #fff;
  }

p { margin: 0 0 24px; }

.links {
  font-size: 16px;

}

  .links a {
    display: inline-block;
    margin-right: 10px;
    border-bottom-width: 1px;
  }

  .social {
    display: block;
  }

  .fader {
    opacity: 0.5;
  }

  .fader:hover {
    opacity: 1;
  }

  h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

.page, .slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  min-height: 600px;
}

  .page1 .slide  { background-image: url(../images/cemre.jpg); background-position: 100% 80%; }

  .page2 .slide { background-position: 50% 30%;}
  .page2.slide1 { background-image: url(../images/thesis/t/1.jpg); }
  .page2.slide2 { background-image: url(../images/thesis/t/2.jpg); }
  .page2.slide3 { background-image: url(../images/thesis/t/3.jpg); }
  .page2.slide4 { background-image: url(../images/thesis/t/4.jpg); }
  .page2.slide5 { background-image: url(../images/thesis/t/5.jpg); }
  .page2.slide1 .slide { background-image: url(../images/thesis/1.jpg); }

  .page3.slide1 .slide { background-image: url(../images/projection/1.jpg); }
  .page3.slide2 { min-height: 1200px; }
  .page3.slide2 .slide { background-size: auto; background-color: #000; background-position: 200px 146px; min-height: 1200px; background-attachment: scroll; }
  .page3.slide1 { background-image: url(../images/projection/t/1.jpg); }
  .page3.slide2 { background-image: url(../images/projection/t/2.jpg); }
  .page3.slide3 { background-image: url(../images/projection/t/3.jpg); }
  .page3.slide4 { background-image: url(../images/projection/t/4.jpg); }
  .page3.slide5 { background-image: url(../images/projection/t/5.jpg); }

  .page4 .slide { background-image: url(http://cem.re/year-in-review/bg.png); background-size: auto;  background-repeat: repeat; }
  .page4 .content { background: rgba(0,0,0,0.6); }

  .page5 .slide { background-image: url(../images/mountain.jpg); background-position: 50% 10%; background-size: cover; background-attachment: fixed; }
  .page5 .content { background: rgba(0,0,0,0.4); height: 100%;  }

  .page6 .slide { background-image: url(../images/rocket.jpg); }
  .page6 iframe { margin: 0 auto; display: block;}



.content {
  padding: 60px;
}



.nav {
  width: 100px;

}
  .nav:hover  { opacity: 1; }
  .nav a    { border: 1px solid rgba(255,255,255,0.3); margin-bottom: 10px; opacity: 0.7;  }
  .nav a:hover{ border: 1px solid rgba(255,255,255,0.6); opacity: 1;}
  .nav img  {  }

  @media min-width(800px) {
    .nav {opacity: 0.4; }
  }

.content p { max-width: 900px; }
  .content p:last-child { margin-bottom: 0; }



@media  (min-width: 800px) {
  .page1 .content {
  display: inline;
}
.page1-text {
  padding: 40px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 600px;
}

  .social {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 40px;
    width: 100px;
  }

  .social a {
    display: inline-block;
    margin-bottom: 10px;
  }

    .page1 .content {
    -webkit-animation-name: fade-in;
    -moz-animation-name: fade-in;
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
  }

  .text-reveal {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }

  .bg-reveal, .text-reveal  { background-image: url(../images/mountain.jpg); background-position: 50% 10%; background-size: cover; background-attachment: fixed; }
}
/*.page3 .nav { background: rgba(255, 255, 255, 0.5); }*/

.light .content, .light .content a { color: #333; text-shadow: #fff 1px 1px 0px; }




@-webkit-keyframes fade-in {
  0% { opacity: 0;}
  50% { opacity: 0;   -webkit-transform: translate(0, -20px);}
  100% { opacity: 1;  -webkit-transform: translate(0, 0)}
}

@-moz-keyframes fade-in {
  0% { opacity: 0;}
  50% { opacity: 0;  -moz-transform: translate(0, -20px);}
  100% { opacity: 0.99; -moz-transform: translate(0, 0)}
}







.linklist {
  max-width: 600px;
  padding: 0;
}

.linklist a {
  border-bottom: none;
  display: block;
}

.linklist li {
  margin-bottom: 30px;
  list-style: none;
}

.linklist-foreword {
  display: block;
  padding-bottom: 26px;
  margin: 0;
}

.linklist-section-speaking {
  float: left;
  width: 30%;
}

.linklist-section-writing {
  float: left;
  width: 50%;
  margin-right: 10%;
}

.linklist-section-header {
  font-weight: normal;
  color: rgba(255,255,255,.2);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 4px;
  margin: 0;
}



.linklist-section-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 30px;
}

.linklist .title {
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}

.linklist a:hover .title {
  text-decoration: underline;
}

.linklist .byline {
  font-size: 0.66em;
  opacity: 0.6;
  display: block;
  line-height: 1.2;
  max-width: 90%;
}









.responsive-video {
  position: relative;
  padding-bottom: 45%;
  max-width: 80%;
  margin: 0 auto;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}



@media (max-width: 800px) {
  body { font-size: 16px; line-height: 1.3; }
  p { margin: 0 0 16px; }
  .content { padding: 20px; }
  .page1 .slide { background-position: 100% 100%; background-size: 140%;}
  .page3.slide2 .slide { background-position: 80px 140px; background-size: 500px;}
  .nav { width: 50px;}
  .nav img { width: 100%; }
  .row1, .row2 {display: inline;}
  .inspiration {
    left: 20px;
  }

  .bg-reveal {
    background: rgba(255,255,255,0.5);
  }

  .text-reveal {
    color: rgba(255,255,255,0.3);
    text-shadow: none;
  }

  .page, .slide {
    min-height: 500px;
  }

  .responsive-video {
    max-width: 100%;
  }

  .linklist-section-writing,
  .linklist-section-speaking {
    float: none;
    width: 100%;
  }

  .linklist li {
    margin-bottom: 15px;
  }

  .linklist-section-writing {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .linklist .byline {
    display: none;
  }

  .page1.slide1 .content {
    height: 100%;
    background: rgba(0,0,0,0.3);
  }
  .social {
    margin-top: 1em;
  }

  .page5 .slide, .bg-reveal, .text-reveal  {
    background-attachment: scroll;
  }
}

.clear-floats {
  clear: both;
}

small {
  display: inline-block;
}

.photo-credit {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: none;

}

.photo-credit:hover {
  color: white;
  border: none;
}
