body{
  background-color: #FDFDFD;
  max-width: 1200px;
  margin: 0 auto;
}

.transition{
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.maxwidth{
  width: 700px;
  margin: 0 auto;
}
.mobile{
  display: none !important;
}

a:link, a:visited, article.single nav a:link, article.single nav a:visited{
  text-decoration: none;
  color: #1F1F1F;
  background-image: url('../imgs/links.svg');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 8px;
  padding: 0 8px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}
a:hover, a:active, article.single nav a:hover, article.single nav a:active{
  background-size: auto 100%;
  background-image: url('../imgs/links_hover2.gif');
  color: #1F1F1F;
}
header{
  position: fixed;
  height: 120px;
  left: 0px;
  top: 0px;
  width: 100%;
  text-align: left;
}

figure img.logo{
  width: 104px;
  height: auto;
  margin: 32px 32px 32px 24px;
}
figure a:link, figure a:visited{
  background-image: none;
}

a.down-arrow{
  display: block;
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translate(-50%, 0);
  margin: 180px auto 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  background-image: url('../imgs/icon_downarrow.svg');
  background-size: 100% auto;
  animation-name: example;
  animation-duration: 0.6s;
  animation-timing-function: repeat;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes example {
    from {bottom: 80px; opacity: 1; filter: alpha(opacity=100);}
    to {bottom: 96px;}
}

nav{
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 300px;
  z-index: 9999;
}
nav a:link{
  display: block;
  background-image: none;
  margin: 8px 0;
  color: #FDFDFD;
}
nav a:visited{
  color: #FDFDFD;
}
nav a:link span{
  background-color: #1F1F1F;
  background-image: transparent;
  background-size: auto 100%;
  padding: 4px 8px;
  background-image: url('../imgs/links_hover2.gif');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 0%;
  display: inline-block;
}
nav a:hover span{
  color: #1F1F1F;
}
nav a:link span:hover{
  background-size: auto 100%;
  padding: 4px 8px;
}

a.backtotop{
  display: block;
  width: 48px;
  height: 48px;
  background-color: #1F1F1F;
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 0;
  background-image: url('../imgs/icon_uparrow.svg');
  background-size: 24px auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 999999;
}
a.backtotop:hover{
    width: 104px;
    background-position: 16px center;
    text-align: right;
    padding: 10px 16px 0 0;
    height: 38px;
    background-image: url('../imgs/links_hover2.gif');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
}
a.backtotop span{
  display: none;
  margin: 4px 0 0 4px;
  opacity: 0;
  font-size: 0%;
  font-weight: 500;
}
a.backtotop:hover span{
  display: inline-block;
  opacity: 1;
  font-size: 100%;
  color: #1f1f1f !important;
}

a.contrast{
  display: none;
  width: 24px;
  height: 24px;
  background-color: #7D7D7D;
  position: fixed;
  right: 24px;
  top: 24px;
  padding: 0;
  background-image: none;
}

div.social{
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 999;
}
div.social a:link, div.social a:visited{
  display: inline-block;
  background-color: #1f1f1f;
  width: 40px;
  height: 40px;
  padding: 0;
  background-image: none;
  margin: 0 4px;
}
div.social a:hover{
  background-image: url('../imgs/links_hover2.gif');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
}
div.social a span{
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  margin:0;
  background-position: center center;
  background-size: 64% auto;
  background-repeat: no-repeat;
}
div.social a.linkedin span{
  background-image: url('../imgs/icon_linkedin.svg');
}
div.social a.linkedin:hover span{
  background-image: url('../imgs/icon_linkedin_b.svg');
}
div.social a.dribbble span{
  background-image: url('../imgs/icon_dribbble.svg');
}
div.social a.dribbble:hover span{
  background-image: url('../imgs/icon_dribbble_b.svg');
}
div.social a.medium span{
  background-image: url('../imgs/icon_medium.svg');
}
div.social a.medium:hover span{
  background-image: url('../imgs/icon_medium_b.svg');
}

section.fullheight{
  position: relative;
  height: 100vh;
  margin: 0;
  padding: 0;
}

section.welcome{
  margin: 32px;
  position: absolute;
  margin: 0 auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

section.welcome section.experience{
  display: flex;
  margin: 56px -14% 0 -14%;
}

div.professional-item{
  width: 100%;
  height: auto;
  margin: 0 40px 0 0;
  display: block;
}

div.professional-item:last-child{
  margin: 0;
}

div.professional-item figure.logo{
  margin: 0 0 16px 0;
}

div.professional-item figure.logo::after{
  content: "";
  display: block;
  height: 1px;
  background-image: url('../imgs/links_hover2.gif');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto;
  margin: -22px 0 22px 0;
}
div.professional-item figure.logo-last::after{
  content: none;
}

div.professional-item figure.logo img,
div.professional-item figure.logo-last img{
  width: 32px;
  height: auto;
  margin: 0 -16px 0 0;
  border: 3px;
  border-right: 16px;
  border-color: #FDFDFD;
  border-style: solid;
  border-radius: 0;
}

div.professional-item p{
  padding: 0;
  margin: 8px 0;
  line-height: 20px;
}

div.professional-item p.date{
  font-size: 70%;
  font-weight: 300;

}

div.professional-item p.role{
  font-size: 80%;
  
}

div.professional-item p.company{
  font-weight: 500;
  font-size: 16px;
}

div.professional-item p.location{
  font-size: 70%;
}

section.prof-mobile{
  display: none;
}

section.medium-articles{
  margin: 0 auto;
  padding-top: 104px;
}

section.medium-articles h3{
  margin-bottom: 80px;
}

section.medium-articles article{
  margin: 80px 0;
}
section.medium-articles article a{
  display: block;
  background-image: none;
  padding: 0;
  min-height: 240px;
  position: relative;
  font-weight: 300;
}
section.medium-articles a figure{
  position: absolute;
  width: 526px;
  height: 240px;
  right: -24%;
  bottom: -24px;
  background-image: url();
  background-position: center center;
  background-size: 100px auto;
  background-color: #E5E5E5;
  overflow: hidden;
  text-align: center;
  z-index: -1;
}
section.medium-articles a h4::after{
  content: "";
  height: 8px;
  background-color: #fdfdfd;
  width: 100%;
}
section.medium-articles a figure img{
  width: 100%;
  height: auto;
}
section.medium-articles article a p{
  max-width: 400px;
  padding: 8px 0;
  color: #1F1F1F !important;
  background-color: #fdfdfd;
}
section.medium-articles article a:hover p, section.medium-articles article a:hover span{
  color: #1F1F1F !important;
}
section.medium-articles article a span{
  font-size: 80%;
  display: block;
  padding: 8px 0 16px 0;
  color: #1F1F1F !important;
  max-width: 400px;
  background-color: #fdfdfd;
}

section.medium-articles article a h4{
  background-image: url('../imgs/links.svg');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 10px;
  background-color: #FDFDFD;
  padding: 0px 8px 0 0;
  display: inline;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #1F1F1F;
}

section.medium-articles article a:hover h4{
  background-image: url('../imgs/links_hover2.gif');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
  display: inline;
  color: #1F1F1F;
}

section.case-studies{
  padding-top: 88px;
}

section.case-studies a{
  min-height: 600px;
  margin-top: 72px;
  display: block;
  background-image: none;
  padding: 0;
  color: #1F1F1F;
  position: relative;
  padding-top: 1px;

}

section.case-studies a figure{
  position: absolute;
  width: 600px;
  height: 600px;
  background-image: url();
  background-position: center center;
  background-size: 100px auto;
  background-color: #E5E5E5;
  overflow: hidden;
  text-align: center;
  z-index: -1;
  right: 50%;
  transform: translate(80%,0);
  text-align: center;
}

section.case-studies a figure img{
  width: auto;
  height: 100%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
}

section.case-studies a div.text{
  margin-top: 24%;
  background-color: #fdfdfd;
  padding: 24px 16px 24px 0;
  max-width: 524px;
}

section.case-studies a h4{
  max-width: 304px;
  color: #1F1F1F;
}

section.case-studies a:link p{
  background-color: #FDFDFD;
  padding-right: 4px;
  max-width: 524px;

}
section.case-studies a:hover p{
  color: #1F1F1F;
}

section.case-studies a span{
  display: inline-block;
  background-color: #1F1F1F;
  font-size: 16px;
  padding: 16px 16px;
  margin-top: 24px;
  color: #FDFDFD;
  background-image: url('../imgs/links_hover2.gif');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 0%;
}

section.case-studies a span:hover{
  background-size: auto 100%;
  color: #1F1F1F;
}

section.dribbble{
  padding-top: 144px;
}

section.dribbble figure {
  width: auto;
  margin-left: -16%;
}
section.dribbble h3{
  margin-bottom: 56px;
}

section.dribbble figure a img{
  max-width: 500px;
  height: auto;
}
section.dribbble figure:nth-child(3){
  margin-left: 40%;
  margin-top: -192px;
}
section.dribbble figure:nth-child(4){
  margin-left: 16%;
  margin-top: -200px;
}

section.hi{
  padding-top: 88px;
}

section.hi h6{
  margin: 40px 0 0 0;
}

section.hi a{
  font-size: 32px;
  font-weight: 500 !important;
  line-height: 40px;
}

footer{
  margin: 104px auto 120px auto;
  text-align: center;
}

/*------SINGLE----------------------------------*/

article.single p,
article.single figure,
article.single h1,
article.single h2,
article.single h3,
article.single h4,
article.single blockquote,
article.single ul,
article.single section.description,
article.single hr,
article.single a.button{
  max-width: 100%;
  margin: 0 auto;
  background-color: #FDFDFD;
}
article.single > *:not(.full){
  max-width: 800px;
}

article.singe > *:not(figure):not(.full){}

article.single  figure:first-of-type{
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: -1;
  text-align: right;
  overflow: hidden;
  margin: 0;
  max-width: none;
  height: 650px;
}
article.single figure:first-of-type img{
  width: 1000px;
  height: auto;
}

article.single figure{
  text-align: center;
  margin: 32px auto 48px auto;
}

article.single  figure img{
  width: 100%;
  height: auto;
}

article.single  figure figcaption{
  margin: 8px 0;
  font-size: 14px;
  color: #7D7D7D;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 24px;
}

article.single h1{
  display: block;
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 104px;
  text-align: left;
  color: #1F1F1F;
  padding-bottom: 16px;
  margin-top: 440px;
  width: 80%;
  background-color: #FDFDFD;
}
article.single h2{
  font-family: 'Encode Sans Semi Condensed', sans-serif;
  font-size: 32px;
  font-weight: 500 !important;
  line-height: 40px;
  text-align: left;
  color: #1F1F1F;
  padding-bottom: 0px;
}
article.single h2::after{
  margin: 48px 0 56px -56px;
}
article.single h3::after{
  display: none;
}

article.single h3{
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 16px;
}
article.single h4{
  font-size: 24px;
  line-height: 40px;
  margin-top: 16px;
  margin-bottom: 0px;
  color: #1F1F1F;
}
article.single h5{
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 40px;
  margin-top: 16px;
  margin-bottom: 0px;
  color: #1F1F1F;
}

article.single blockquote{
  width:88%;
  margin: 24px auto 40px auto;
  border-left: 8px solid #E5E5E5;
  padding-left: 24px;
}

article.single hr{
  margin: 32px 0;
  background-color: transparent;
  height: 4px;
  border: 0;
}
article.single ul li{
  margin: 16px 32px;
  background-image: url('../imgs/icon_bullet.svg');
  background-repeat: no-repeat;
  background-position: left 8px;
  padding-left: 24px;
      line-height: 24px;
}

article.single section.description{
  height: 200px;
  max-width: 800px;
}
article.single section.description div{
  width: 33%;
  float: left;
}
article.single section.description div img{
  margin-right: 8px;
}

article.single section.description div span{
  font-size: 80%;
  margin-bottom: 16px;
  display: block;
  opacity: .64;
}
article.single section.description div p{
  padding-left: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  font-size: 95%;
  background-image: url('../imgs/icon_bullet.svg');
  background-repeat: no-repeat;
  background-position: left center;
}
article.single section.description div strong{
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #1f1f1f;
}
article.single section.description div strong.full{
  background-color: #1f1f1f;
}


article.single p{
  font-size: 20px;
  line-height: 40px;
}

article.single nav{
  margin-top: 24px;
  display: block;
  position: relative;
  left: auto;
  bottom: auto;
  max-width: none;
}
article.single nav a:link, article.single nav a:visited{
  display: inline;
}


@media only screen and (max-width: 1024px) {
  header{
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FDFDFDfff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

  }
  .maxwidth{
    width: 88%;
  }

  a.down-arrow{
    display: block;
  }

  section.fullheight{
    background-color: #FDFDFD;
    z-index: 99;

  }

  p{
    font-size: 20px;
  }
  .mobile{
    display: block !important;
  }

  nav{
    display:none;
    position: fixed;
    left: auto;
    bottom: 0;
    max-width: none;
    width: 100%;
    background-color: #1F1F1F;
    height: 72px;
    z-index: 1;
    -webkit-box-shadow: 0 0 16px 0 rgba(0,0,0,.16);
    box-shadow: 0 0 16px 0 rgba(0,0,0,.16);
  }
  nav a.mobile{
    display: inline-block !important;

  }
  nav a:link, nav a:visited, nav a:active, nav a:hover{
    display: inline-block;
    width: 16%;
    height: 72px;
    margin: 0;
    background-position: center;
    background-size: auto 50% !important;
    background-repeat: no-repeat;
    padding: 0 !important;
  }
  nav a:link span, nav a:hover span{
    display: none;
    background-color: transparent !important;
  }

  nav a:first-of-type{
    display: none;
  }
  nav a:nth-child(1){
    display: none;
  }
  nav a:nth-child(2) span{
    display: inline-block;
    font-size: 24px;
    background-color: transparent;
    background-image: none;
    padding: 18px 0px !important;
  }
  nav a:nth-child(3){
    width: auto;
    padding: 4px 0 !important;
    margin: 0;
    width: 50%;
    position: absolute;
    right: 0;
    text-align: center;
    border-left: 1px solid #7D7D7D;
  }
  nav a:nth-child(3) span:hover{
    background-image: none;
    color: #FDFDFD;
  }
  nav a:nth-child(4){
    background-image: url('../imgs/icon_medium.svg');
  }
  nav a:nth-child(5){
    background-image: url('../imgs/icon_linkedin.svg');
  }
  nav a:nth-child(6){
    background-image: url('../imgs/icon_dribbble.svg');
  }

  section.welcome section.experience{
    display: flex;
    margin: 56px 0% 0 0%;
  }

  a.backtotop{
    display: none;
  }

  div.social{
    display: none;
  }

  section.medium-articles a figure{
    right: 0;
  }

  section.dribbble{
    overflow: hidden;
  }
  section.case-studies a figure{
    right: 0;
    transform: none;
  }
  section.case-studies a h4{
    background-color: #FDFDFD;
    padding: 4px 8px 16px 0px;
    margin-bottom: 0;
  }
  section.case-studies p{
    max-width: 312px;
  }

  /*----------SINGLE--------------------------------*/
  article.single{
    padding: 0 16px;
  }

  article.single figure:first-of-type img{
    width: 100%;
  }

  article.single figure img{
    width: 100%;
  }
  article.single nav{
    height: auto !important;
  }
  article.single a.button:link, article.single a.button:visited{
    background-image: none;
    color: #FDFDFD;
    height: 16px;
    text-align: center;
    padding: 8px 0 32px 0 !important;
    display: block !important;
    width: 100%;
    background-color: #1F1F1F;
    margin-top: 32px;
  }

}

@media only screen and (max-width: 560px) {
  header{
    top: 0;
    left: 0;
    z-index: 1;
  }
  header figure a{
    padding: 0;
  }
  header figure img.logo{
    margin: 32px 32px 32px 16px;
  }

  nav a:link span:hover{
    background-color: transparent;
  }
  nav a:hover span{
    color: #FDFDFD;
  }

  .maxwidth{
    width: 94%;
  }

  section.welcome{
    transform: translate(-50%, -60%);
  }

  section.welcome section.experience{
    display: none;
    margin: 40px 0 0 0;
  }
  div.professional-item{ 
    width: auto;
    max-width: none;
    display: block;
    margin: 32px 0;
    padding: 0 16px;
  }

  section.prof-mobile{
  display: block;
  }
  .logo-last::after{
    content: "";

  }

  div.text{
    padding-top: 200px;
  }

  section.medium-articles article a figure{
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    height: auto;
    min-height: auto;
    margin-bottom: 24px;
  }
section.medium-articles article a h4{
  z-index: 0;
}

  section.case-studies a{
    height: auto;
    min-height: auto;
    position: inherit;
    margin-bottom: 144px;
  }
  section.case-studies a:last-of-type{
    margin-bottom: 40px;
  }
  section.case-studies a div.text{
    margin-top: 240px;
    padding: 0;
  }
  section.case-studies a figure{
    right: 0;
    transform: none;
    height: 335px;
  }
  section.case-studies a figure img{
    width: 100%;
    height: auto;
  }

  section.case-studies a h4{
    background-color: #FDFDFD;
    display: block;
    padding: 11px 16px 16px 16px;
    margin-bottom: 0;
    max-width: none;

  }
  section.case-studies a p{
    padding: 0 16px;
  }
  section.case-studies a span{
    margin-left: 8px;
    width: auto;
    display: block;
    text-align: center;
    font-size: 20px;
  }

  section.dribbble, section.hi{
    padding: 120px 0 0 0;
  }

  a.down-arrow{
    bottom: 112px;
  }

  /*----------SINGLE--------------------------------*/
  article.single h1{
  margin-top: 280px;
  margin-left: 0px;
  }
}

@media only screen and (min-width: 1300px) {
  section.case-studies a figure, section.medium-articles article a figure{
    left: 50%;
    transform: translate(0%, 0%)
  }
  article.single figure:first-of-type{
    right: 50%;
    transform: translate(40%, 0%)
  }


}
