@font-face {
    font-family: 'Avenir';
    src: url(../fonts/AvenirLTStd-Medium.otf);
    font-weight: bold;
}

body, html{
  /* important */
  height: 100%;
  width: 100%;
  font-size: 100%;
  font-family: Avenir, sans-serif;

}
/*loading page*/
.loading-page{
  background-color: #DC554F;
  width: 100%;
  height: 100%;
  z-index: 6;
}
.loading-container{
  width:180px;
  padding-top:380px;
  text-align: center;
}
.loading-text{
  text-align: center;
}
.loading-text h1{
  font-family: Avenir;
  color:#fff;
  text-transform: uppercase;
  font-size:1em;
  letter-spacing:1.5px;
  text-align:center;
  margin-top:20px;
  -webkit-animation: fade 2s infinite;
  -moz-animation: fade 2s infinite;
}
.stick { 
 width: 30px;
 height:3px;
 background:#fff;
 display:inline-block;
 margin-left:-8px;
  
}

.stick:nth-child(n) {  
  transform:rotate(30deg);
  -ms-transform:rotate(30deg); /* IE 9 */
  -webkit-transform:rotate(30deg); /* Safari and Chrome */
  -moz-transform:rotate(30deg);
  -webkit-animation: fall 2s infinite;
  -moz-animation: fall 2s infinite;

}
.stick:nth-child(2n) {  
  transform:rotate(-30deg);
  -ms-transform:rotate(-30deg); /* IE 9 */
  -webkit-transform:rotate(-30deg); /* Safari and Chrome */
  -moz-transform:rotate(-30deg);
  -webkit-animation: rise 2s infinite;
  -moz-animation: rise 2s infinite;

}
@-webkit-keyframes rise {
  50% { transform:rotate(30deg);
  -ms-transform:rotate(30deg); /* IE 9 */
  -webkit-transform:rotate(30deg);
  -moz-transform:rotate(30deg); 
    ;}
}
@-moz-keyframes rise {
 50% { transform:rotate(30deg);
  -ms-transform:rotate(30deg); /* IE 9 */
  -webkit-transform:rotate(30deg);
   -moz-transform:rotate(30deg); 
}
}
@-o-keyframes rise {
  50% { transform:rotate(30deg);
  -ms-transform:rotate(30deg); /* IE 9 */
  -webkit-transform:rotate(30deg);
  -moz-transform:rotate(30deg); 
}
@keyframes rise {
  50% { transform:rotate(30deg);
  -ms-transform:rotate(30deg); /* IE 9 */
  -webkit-transform:rotate(30deg);
  -moz-transform:rotate(30deg); 
}
}}

@-webkit-keyframes fall {
  50% { transform:rotate(-30deg);
  -ms-transform:rotate(-30deg); /* IE 9 */
  -webkit-transform:rotate(-30deg);
  -moz-transform:rotate(30deg); 
}
}
@-moz-keyframes fall {
 50% { transform:rotate(-30deg);
  -ms-transform:rotate(-30deg); /* IE 9 */
  -webkit-transform:rotate(-30deg);
  -moz-transform:rotate(-30deg); 
 
 }
}
@-o-keyframes fall {
  50% { transform:rotate(-30deg);
  -ms-transform:rotate(-30deg); /* IE 9 */
  -webkit-transform:rotate(-30deg);
  -moz-transform:rotate(30deg); 

  }
@keyframes fall {
  50% { transform:rotate(-30deg);
  -ms-transform:rotate(-30deg); /* IE 9 */
  -webkit-transform:rotate(-30deg);
  -moz-transform:rotate(30deg); 

  }
}}

@-webkit-keyframes fade {
  50%{opacity:0.5}
  100%{opacity:1}
  ;}
@-moz-keyframes fade {
 50%{opacity:0.5}
  100%{opacity:1}
}
@-o-keyframes fade {
   50%{opacity:0.5}
  100%{opacity:1}
@keyframes fade {
   50%{opacity:0.5}
  100%{opacity:1}
}}
/*full screen nav*/
.trigger {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 30px;
  left: auto;
  bottom: auto;
  right: 50px;
  z-index: 4;
  cursor: pointer;
  transition: top .1s ease-in-out;
}
.menu-icon {
  display: block;
  width: 100%;
  height: 5px;
  background: #F1F1F1;
  margin: 0 0 5px 0;
  transition: all .2s ease-in-out;
  position: absolute;
}
.span1{
  top: 0;
  left: 0;
}
.span2{
  top: 10px;
  left: 0;
}
.span3{
  top: 20px;
  left: 0;
}
.fullscreen-menu {
  background: rgba(0, 0, 0, 0.75);
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  z-index: 3;
}
.fullscreen-menu ul{
  list-style-type: none;
  padding: 0;
  left: 0;
  width: 350px;
  text-align: center;
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
}
.fullscreen-menu li{
  font-family: sans-serif;
  color: white;
  font-weight: bold;
  font-size: 55px;
  padding: 10px 0;
}
.fullscreen-menu li a{
  text-decoration: none;
  color: white;
}
.fullscreen-menu li a:hover{
  color: #e86d5e;
}
/*fixed background*/
.fixed-bg {
  min-height: 100%;
  min-width: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
}
.fixed-bg.bg-1 {
  background-image: url(../images/tree.jpg);
  min-height: 950px;
}
.fixed-bg.bg-2 {
  background-image: url(../images/photo-1422349829867-7587357f2b581sm.jpg);
  min-height: 850px;
}
.fixed-bg.bg-3 {
  background-image: url(../images/forest3.jpg);
  min-height: 850px;
}
.fixed-bg.bg-4{
  background-image: url(../images/photo-bg3.jpg);
  min-height:850px;
}
/*whatIdo animation*/
.pen{
  -webkit-animation-name: spin;
  -webkit-animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 4000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 4000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
    
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@-ms-keyframes spin {
  from { -ms-transform: rotate(0deg); }
  to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
/*home page*/
.intro{
  padding-top: 150px;
}
.name{
  font-size:40px; 
  font-family:Avenir;
  color: #fff;
  text-align: center;
  line-height: 0.5;
}
.title{
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  font-family: Avenir;
  padding-bottom: 30px;
  text-align: center;
  overflow: hidden;
  letter-spacing: 1px;
}
.name-logo{
  text-align: center;
  padding-bottom: 50px;
}
/*whatIdo*/
.title-whatIdo{
  margin-top: 70px;
  margin-bottom: 30px;
}
.four-item{
  float: left;
  padding-left: 40px;
  padding-right: 40px;

}
#img-item1{
  width: 200px;
  height: 200px;
  margin-left: 10px;
  margin-right: 10px;
}
.inner-circle{
  background-color: rgba(143, 24, 30, 0.8);
  width: 200px;
  height: 200px;
  position: absolute;
  z-index: 2;
  border-radius: 99px;
  margin:auto;
  left:0;
  right: 20px;
  top: 0;
  bottom: 0;
  display: none;
  border: 6 solid rgba(143, 24, 30, 0.7)
}
.inner-circle:hover{
  cursor: pointer;
}
.inner-circle-desc{
  position: absolute;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.ui-design{
  top: 42%;
  left: 25%;
}
.coding{
  top: 44%;
  left: 33%;
}
.responsive-design{
  top: 37%;
  left: 23%;
}
.user-experience{
  top:37%;
  left: 26%;
}
.item-whatIdo{
  text-align: center;
  position: relative;
}
#whatIdo{
  min-height: 800px;
  box-shadow: 0px -3px 2px rgba(0, 0, 0, 0.25);
  border-top: 5px solid #8f181e;
  border-bottom: 5px solid #8f181e;
}
.color-1{
  background-color:#e86d5e;
  background: #e86d5e url("../images/bg-shell3.png") no-repeat center bottom;
}
/*grid image*/
#img-item{
  width: 100%;
  height: 100%;
}
#img-item-p{
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
#img-item-p:hover {
   cursor: pointer;
   opacity: 1;
}
#img-item-neeyer{
  width:50%;
  height: 50%;
}
/*popup page*/
.fullscreen-work-slide{
  background: white;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: none; 
}
/*popup page close button*/  
.overlay-close {
  padding: 0;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
  overflow: hidden;
  border: none;
  background: url(../images/cross.png) no-repeat center center;
  text-indent: 200%;
  color: transparent;
  outline: none;
  z-index: 100;
}
/*popup page goHome button*/
.overlay-goHome{
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
}
.overlay-goHome:hover{
  cursor: pointer;
}

/*make popup page scrollable*/
.overlay-content {
  position: relative;
  top:0;
  height: 100%;
  overflow: auto;
}
.background-content{
  height: 100%;
  overflow: auto;
}
/*portfolio*/

.grid-portfolio{
  padding-bottom: 30px;
}
.grid-pad-portfolio{
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 40px; 
}
.grid-pad-portfolio img{
  border: 5px solid rgba(255, 255, 255, 0.3);
}

.grid-neeyer-pad{
  padding-left: 70px;
  padding-right: 70px;
  padding-top:60px;
  padding-bottom: 30px;
}
.desc-neeyer h1{
  padding-top: 80px;
  padding-bottom: 30px;
  text-align: center;
  font-weight: bold;
}
.desc-neeyer h4{
    padding-bottom: 30px;
}
.desc-neeyer{
  text-align: center;
}
.project-intro{
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom: 100px;
}
.intro-content h4{
  line-height: 1.5;
}
/*about me*/
#aboutMe{
  border-top: 5px solid #1e2c39;
  border-bottom: 5px solid #1e2c39;
  -webkit-box-shadow: 0px -3px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px -3px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0px -3px 2px rgba(0, 0, 0, 0.25);
  
}
.aboutMe-item{
  padding-left:40px;
  padding-right: 40px;
}
.font-style{
  font-size: 25px;
}
.intro-content h4{
  font-size: 16px;
}
#name-img{
  width: 500px;
  height: 70px;
  padding-left:30px;
}
.aboutMe-item h4{
  line-height: 0.05;
}
#aboutMe-info{
  font-size: 17px;
  color: #fff;
}
#aboutMe-info p{
  margin-bottom: 30px;
}
.cv-github img{
  max-width: 40px;
  max-height:40px;
  margin-right: 40px;
}
.grid-about{
  padding-bottom: 40px;
}
/*contact*/
#contactForm{
  background: rgba(255,255,255,0.3);
  max-height: 700px;
  max-width: 600px;
  margin: 0 auto;
}
.form{
  padding-top: 60px;
}
.form input{
  background-color: #fff;
  opacity: 1;
  padding:20px;
  margin: 10px;
  width: 100%;
  max-width: 500px;
  border:0;
  margin-left: 50px;
  color: #666;
}
.contactMe{
  font-family: Damion;
  margin-left: 25px;
  color: #000;
  padding:20px;
}

.contact-message{
  height: 100px;
  width: 100%;
  max-width: 500px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-indent : 5px;
  border-radius : 4px;
  background : #fff;
  border : 0;
  resize : none;
  padding : 20px;
  color:#666;
  height : 130px;
  margin-left: 49px;
  margin-top:10px;
}

.btn{
  width: 100%;
  height: 40px;
  max-width: 500px;
  margin-left: 49px;
  margin-top: 20px;
  font-size: 25px;
}
.followMe{
  padding-top: 10px;
}
.socialMedia img{
  max-width:40px;
  max-height:40px;
  margin:10px;
}
.socialMedia{
  margin-left: 35px;
  margin-top: 5px;
}
.socialMedia a:hover{
  background-color: ##2EFE2E;
}
.myEmail{
  font-family: Avenir;
  font-size: 18px;
  color: #000;
  margin:20px;
}

footer{
  width: 100%;
  max-height: 70px;
  background-color: #333;
  color: #fff;
  font-size: 16px;
}
.copyright{
  padding: 23px;
  margin-left: 30px;
}
.title-all{
  font-family: Avenir;
  font-size: 37px;
  color: #fff;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 30px;
}
@media screen and (max-width: 980px){
  .title-whatIdo{
    margin-top:0;
    margin-bottom: 0px;
  }
  .inner-circle{
    left: 10px;
  }
}
@media screen and (max-width: 776px){
  .name{
    font-size: 40px;
  }
  .title{
    font-size: 18px;
  }
  .four-item{
    float: none;
    margin: 0 auto;
  }
  #aboutMe-info p{
    margin-bottom: 15px;
  }
  #contactForm{
    max-width: 500px;
  }
  .form input{
    max-width: 400px; 
  }
  .contact-message{
    max-width: 400px;
  }
  .btn{ 
    max-width: 400px; 
  }
}
@media screen and (max-width: 500px){
  .loading-container{
    padding-top: 200px;
  }
  .fullscreen-menu li{
    font-size: 40px;
  }
  .trigger{
    right: 30px;
  }
  .overlay-close{
    height: 20px;
    width: 20px;
  }
  .fixed-bg.bg-1{
    min-height: 500px;
  }

  .intro{
    padding-top: 60px;
  }
  .title{
    padding-bottom: 20px;
  }
  .title-all{
    font-size: 30px;
    padding-top: 60px;
    padding-bottom: 20px;
  }
  #name-img{
  width: 300px;
  height: 40px;
  padding-left:10px;
}
#name-img2{
  width: 66px;
  height: 30px;
  border-top: 3 solid #fff;
}
  #whatIdo{
    min-height: 500px;
  }
  .color-1{
    background:#e86d5e;
  }
  
  .grid-pad-whatIdo{
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .inner-circle{
    height: 130px;
    width: 130px;
  }
  .inner-circle-desc{
    font-size: 14px;
  }
  #img-item1{
    width: 130px;
    height: 130px;
  }
  .fixed-bg.bg-2{
    background: black;
  }
  #portfolio{
    min-height: 650px;
  }
  .grid-pad-portfolio{
    padding-top: 20px;
  }
  .name{
    font-size: 32px;
  }
  .title{
    font-size: 18px;
  }
  #aboutMe-info{
    font-size: 1em;
  }
  #contactForm{
    max-width: 350px;
   
  }
  .contactForm-container{
  padding-top: 3em;
}
  .form input{
    max-width: 270px;
    margin-left: 40px;
  }

  .contact-message{

    max-width: 270px;
    margin-left: 40px;
    
  }
  .btn{
    max-width: 270px;
    margin-left: 40px; 
  }
}

/* Page background-image landscape for iPad 3 */

@media screen and (min-resolution: 192dpi),
only screen and (min-device-pixel-ratio:2) {

body, html, .bg-container {
  /* important */

  height: 768px;
} 

   
  
}


