/* external css: flickity.css */

* { box-sizing: border-box; }

body { 
  font-family: sans-serif; 
  background: #191919;
  overflow:hidden;
}

/* parallax */

h1{
font-weight: bold;
    color: #fff;
    font-size: 5rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 80px;
}

.parallax {
    position: relative;
    height: 100%;
    z-index: 8;
    margin: 10% 0;
}

.parallax__layer {
  position: absolute;
  left: 0;
  top: 0;
}

.parallax__layer--bg {
    top: 20%;
    width: 250%;
    height: 160px;
}

.parallax__layer--fg {
  pointer-events: none;
  width: 125%;
  height: 300px;
}

.parallax__layer__cell {
   position: absolute;
    width: 50%;
    margin: 0 5%;
    top: 150px;
    height: 100%;
}

#canvas{
    z-index: -5;
    position: absolute;
    top: 0;
}

.bg-text{
  background-image:url("../img/projects/textbg.png");
    width: 100%;
    height: 270px;
    background-repeat: no-repeat;
    background-size: 100%;
    opacity: 0.7;
}

.parallax__layer__cell:nth-child(1) { left: 0%; }
.parallax__layer__cell:nth-child(2) { left: 60%; }
.parallax__layer__cell:nth-child(3) { left: 120%; }
.parallax__layer__cell:nth-child(4) { left: 180%; }
.parallax__layer__cell:nth-child(5) { left: 240%; }

.parallax__layer__cell--bg {
  background: hsla(210, 100%, 50%, 0.4);
}

.parallax__layer__cell--fg {
  
}

/* carousel */


.project-1{
  background-image: url("../img/projects/project-1.jpg");
}
.project-2{
  background-image: url("../img/projects/project-2.jpg");
}
.project-3{
  background-image: url("../img/projects/project-3.jpg");
}
.project-4{
  background-image: url("../img/projects/project-4.jpg");
}
.project-5{
  background-image: url("../img/projects/project-5.jpg");
}

.textbehind h1{
     color: #333;
    font-size: 200px;
    font-weight: 900;
    text-transform: uppercase;
}

.overlay.watch{
  background:#000;
  opacity: 0.7;
  width:100%;
  height:100%;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}


.vid-trigger:hover{
  text-decoration: underline;
  color:rgb(220, 138, 98);
}
.vid-trigger{
color: #fff;
    letter-spacing: 1px;
    font-weight: 800;
    font-size: 14px;
}
.vid-trigger svg{
      width: 8px;
    position: relative;
    top: 5px;
    left: 9px;
}
.carousel-cell {
    height: 361px;
    width: 45%;
    margin: 40px 5%;
    opacity: 0.5;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
        box-shadow: 15px 7px 63px #000000;
  -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;

}


.row {
    max-width: 85rem;}
.carousel-cell.is-selected{
  opacity: 1;
}
.information small{
  color:#fff;
}
.information p{
  color:#fff;
  margin:0px;
  opacity: 0.5;
  font-size: 1rem;
}

#footer {
    position: fixed;
    bottom: 2vh;
    width: 100%;
    margin: 0 auto;
    left: 4vh;
}
#footer p{
    color: #403f3f;
    font-size: 12px;
    letter-spacing: 0.4px;
    font-weight: 100;
}

ul{
  margin:0px;
}
li{
  list-style: none;
}

.jm-photo{
  background-image:url("../img/jm-photo.jpg");
    height: 520px;
    width: 360px;
    background-size: cover;
    opacity: 0.6;
    position: absolute;
    right: 0;
        transform: translate3d(-60%,23%,0);
}

.leftcontainer{
      height: 100vh;
    overflow-y: scroll;
}

.aboutme {
  transform: translate3d(0,65px,0);
}
.aboutme li{
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.aboutme p span{
  color: #FFBF7F;
}
.aboutme p{
    color: #d0cfcf;
    font-weight: 500;
    font-size: 14px;
}

.nav{
    position: fixed;
    height: 100%;
    z-index: 20;
}
.container{
    transform: translate3d(0,30%,0);
    z-index: 9;
    height: 100%;
}
.nav img{
  width:120px;
}
.nav p{
    color: #dad9d9;
    font-size: 13px;
    letter-spacing: 1.2px;
    font-weight: 500;
}
ul{
  margin:40px 0 0;
}

.previous,.next{
  display: none;
}

.gradient{
    height: 100vh;
    position: absolute;
    width: 150px;
    z-index: 1;
    background: #191919;


}


.articles {
  transform: translate3d(0,2%,0);
}
.articles img{
    margin: 0 0 50px 0;
    box-shadow: 1px 11px 30px #000;
}

.navigation-articles{

}




.tilter {
  position: relative;
  display: block;
  flex: none;
  width: 300px;
  height: 415px;
  margin: 1.5em 2.5em;
  color: #fff;
  perspective: 1000px;
}

.tilter * {
  pointer-events: none;
}

.tilter:hover,
.tilter:focus {
  color: #fff;
  outline: none;
}

.tilter__figure,
.tilter__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.tilter__figure > * {
  transform: translateZ(0px); /* Force correct stacking order */
}

.tilter__figure {
  position: relative;
}

.tilter__figure::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  box-shadow: 0 30px 20px rgba(35,32,39,0.5);
}

.tilter__deco {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.tilter__deco--overlay {
  background-image: linear-gradient(45deg, rgba(226, 60, 99, 0.4), rgba(145, 58, 252, 0.4), rgba(16, 11, 192, 0.4));
}

.tilter__deco--shine div {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
}

.tilter__deco--lines {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5px;
}

.tilter__caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 4em;
}


.container-info{
    position: absolute;
    left: -40px;
    top: 150px;
}
.container-info h1{
  overflow: hidden;
  // width:0px;
  opacity: 0;
      transform: translate3d(-15%,0,0);
 -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.carousel-cell.is-selected .container-info h1{
  opacity: 1;
  transform: translate3d(0%,0,0);
}

.container-info a{
  opacity: 0;
}

.carousel-cell.is-selected .container-info a{
  opacity: 1;

}

.container-info p{
  overflow: hidden;
  // width:0px;
  opacity: 0;
 -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.carousel-cell.is-selected .container-info p{
  opacity: 1;
}


.color{
  color:#FFBF7F;
}

.tilter__title {
  font-family: 'Abril Fatface', serif;
  font-size: 2.5em;
  font-weight: normal;
  line-height: 1;
  margin: 0;
}

.tilter__description {
  font-size: 0.85em;
  margin: 1em 0 0 0;
  letter-spacing: 0.15em;
}



.tab-content {
    display: none;
}

#tab1 {
 display: block;   
}


.list-links li.current a{
  color:#575858;
}

.list-links li{
  border:none;
}





// Small screens
@media only screen { } /* Define mobile styles */

@media only screen and (max-width: 40em) { 

  .carousel-cell{
    height: 250px;
    width: 90%;

  }

  .container-info {
    position: absolute;
    left: 10px;
    top: 80px;
}


  } /* max-width 640px, mobile-only styles, use when QAing mobile issues */


.bottomspace{
  height:50px;
}




