@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800,700,600,300,200,100,900);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,400italic,700,700italic);
@import url('https://fonts.googleapis.com/css?family=Share+Tech+Mono');
@import url('https://fonts.googleapis.com/css?family=Lato');

*{
  margin:0;
  padding:0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body{
  background: #0A0A0A;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: .8em;
  color: #444;
  -webkit-touch-callout: none;     /* prevent callout to copy image, etc when tap to hold */
  -webkit-text-size-adjust: none;  /* prevent webkit from resizing text to fit */
  -webkit-user-select: none;       /* prevent copy paste, to allow, change 'none' to 'text' */
}

::selection{background: #222; color: #FFF}
::-moz-selection{ background: #222; color: #FFF}
a{
  text-decoration: none;
  color: #666;
}
h3{
  font-size: 2em;
  font-weight: 300;
}
h4{
  color: #888;
  font-weight: 300;
  font-size: 1.5em;
  margin-top: .1em;
}

#topbar{
  width: 100%;
  position: fixed;
  height: 56px;
  top: 0;
  background: rgba(0,0,0,0);
}
#logo{
  position: absolute;
  margin-top: 20px;
  margin-left: 42px;
  display: none;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-transition: .5s;
     -moz-transition: .5s;
      -ms-transition: .5s;
       -o-transition: .5s;
          transition: .5s;
}
#logo:hover{
  color:rgba(255,255,255,1);
}

#header-content{
  z-index: 11;
  position: relative;
  text-align: center;
  width: 100%;
  margin-left: 0;
  max-height: 500px;
  background: #222;
  overflow: hidden;
  -webkit-transition: .2s;
     -moz-transition: .2s;
      -ms-transition: .2s;
       -o-transition: .2s;
          transition: .2s;
}
#social-media{
  position: absolute;
  float: right;
  bottom: 28px;
  right: 28px;
  z-index: 11;
  cursor: pointer;
}
.social-icon{
  opacity: .7;
  width: 28px;
  height: 28px;
  margin-left: 16px;
  padding: 0px;
  float: left;
  background-size: 28px 28px !important;
  cursor: pointer;
  -webkit-transition: .2s;
     -moz-transition: .2s;
      -ms-transition: .2s;
       -o-transition: .2s;
          transition: .2s;
}
.social-icon:hover{
  opacity:1;
  top: -35px;
}

.social-info{
  opacity: 0;
  position: absolute;
  background: #FFF;
  top: -28px;
  margin-left: 4px;
  font-size: .8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  transform: translateX(-33%);
  height: 2em;
  border-radius: 2px;
  cursor: pointer;
  -webkit-transition: .4s;
     -moz-transition: .4s;
      -ms-transition: .4s;
       -o-transition: .4s;
          transition: .4s;
}
.triangle{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: .2em;
  width: 22px;
  height: 0;
  border-top: 10px solid white;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.social-icon:hover .social-info{
  opacity: 1;
  top: -35px;
}

.youtube{background: url('../images/youtube-icon.png')}
.codepen{background: url('../images/codepen-icon.png')}
.linkedin{background: url('../images/linkedin-icon.png')}
.instagram{background: url('../images/instagram-icon.png')}
.dribbble{background: url('../images/dribbble-icon.png')}


#header-text{
  z-index: 10;
  width: 100%;
  height: 100%;
  position: absolute;
}
#header-text h1{
  max-width: 400px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  opacity: 0;
  text-transform: uppercase;
  color: #FFF;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: default;
  top: 55%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-animation: fadeup 1.5s forwards ease;
          animation: fadeup 1.5s forwards ease;
  -webkit-animation-delay: .2s;        
          animation-delay: .2s;
}
@-webkit-keyframes fadeup{
  100% { top: 50%; opacity: 1 }
}
@keyframes fadeup{
  100% { top: 50%; opacity: 1 }
}

#header-text p:hover{
  background: yellow;
}
mark{
  background: rgba(0,0,0,0);
  color: #FFF;
  padding: 0px 8px;
  border-radius: 2px;
  cursor: crosshair;
  -webkit-transition: .2s ease;
     -moz-transition: .2s ease;
      -ms-transition: .2s ease;
       -o-transition: .2s ease;
          transition: .2s ease;
}
mark:hover{
  background: rgba(255,255,255,1);
  color: #222;
}
#text-definition{
  font-family: 'Share Tech Mono', monospace;
  position: absolute;
  float: left;
  bottom: 32px;
  left: 32px;
  max-width: 300px;
  text-align: left;
  z-index: 10;
}
#text-definition h3{
  font-weight:700;
  font-size: 1em;
  letter-spacing: 0.02em;
  margin-bottom: -1em;
  color: #FFF;
  text-transform: uppercase;
  opacity: 0;
  -webkit-transition: .6s ease;
     -moz-transition: .6s ease;
      -ms-transition: .6s ease;
       -o-transition: .6s ease;
          transition: opacity .3s, margin-bottom .6s ease;
}
#text-definition p{
  font-weight: 500;
  font-size: .8em;
  line-height: 1.5em;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  margin-bottom: -10px;
  opacity: 0;
  -webkit-transition: opacity .3s, margin-bottom .6s ease;
     -moz-transition: opacity .3s, margin-bottom .6s ease;
      -ms-transition: opacity .3s, margin-bottom .6s ease;
       -o-transition: opacity .3s, margin-bottom .6s ease;
          transition: opacity .3s, margin-bottom .6s ease;
}

#tech-info{
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  color: rgba(255,255,255,.5);
  font-family: 'Share Tech Mono', monospace;
}
#fixed-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  height: 8px;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,.1);
  -webkit-transition: background .3s;
     -moz-transition: background .3s;
      -ms-transition: background .3s;
       -o-transition: background .3s;
          transition: background .3s;
}

#hamburger{
  position: fixed;
  top: 0;
  color: rgba(255,255,255, .8);
  z-index: 13;
  padding: 16px;
  cursor: pointer;
  display: block;
  text-shadow: 1px 1px 5px rgba(0,0,0,.5);
}
#navoverlay{
  top: 0;
  position: fixed;
  height: 100%;
  width: 100%;
  display: none;
  cursor: pointer;
  margin-left: 220px;
  z-index: 12;
}
nav{
  top: 0;
  position: fixed;
  z-index: 10;
  background: #0A0A0A;
  height: 100%;
  width: 220px;
  -webkit-transition: margin-left .2s, background .5s;
     -moz-transition: margin-left .2s, background .5s;
      -ms-transition: margin-left .2s, background .5s;
       -o-transition: margin-left .2s, background .5s;
          transition: margin-left .3s, background .5s;
}
nav ul{
  float: right;
  margin-top: 56px;
  width: 100%;
  margin-right: 0;
  margin-left: 56px;
}
nav li{
  float: left;
  list-style: none;
  height: 56px;
  width: 100%;
  cursor: pointer;
}

nav a{
  position: relative;
  color: rgba(255,255,255,0.5);
  font-size: .9em;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 16px 32px;
  -webkit-transition: width .5s ease, height .5s ease, border .3s, color .3s;
     -moz-transition: width .5s ease, height .5s ease, border .3s, color .3s;
      -ms-transition: width .5s ease, height .5s ease, border .3s, color .3s;
       -o-transition: width .5s ease, height .5s ease, border .3s, color .3s;
          transition: width .5s ease, height .5s ease, border .3s, color .3s;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
nav a:hover{
  color: rgba(255,255,255,1);
}
.selected{
  font-weight: 700;
  background: rgba(0,0,0,.2);
}
.selected a{
  color: #FFF;
  font-weight: 700;
}

#video-overlay{
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.4);
}
#reel{
  width: 100%;
  margin: auto;
  min-height: 50%;
  min-width: 50%;
  overflow: hidden;
  display: block;
}

#content{
  position: relative;
  z-index: 11;
  width: 100%;
  height: 100%;
  margin-left: 0;
  background: #FFF;
  -webkit-transition: .2s;
     -moz-transition: .2s;
      -ms-transition: .2s;
       -o-transition: .2s;
          transition: .2s;
}

.page-title{
  height: 120px;
  background: #FFF;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 120px;
  font-size: 1.8em;
  font-weight: 700;
  color: #111;
}

#grid{
  margin: 0 auto;
  width: 100%;
  overflow: auto;
}

[class*='col-']{ /* Targets anything with 'col-' */
  float: left;
}
.col-2-3{width: 50%;}
.col-1-4{width: 50%;}
.col-1-3{width: 50%;}
.col-1-2{width: 50%;}
.col-1-1{width: 50%;}


.module{
  height: 160px;
  background: #DDD;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  background-size: 160%;
  background-position: 50% 50%;
  cursor: pointer;
  -webkit-transition: .5s;
     -moz-transition: .5s;
      -ms-transition: .5s;
       -o-transition: .5s;
          transition: .5s;
}
.module:hover{background-size: 170%; position: relative}
.module:hover .module-hover{
  background: rgba(0,0,0, .8);
}
.module:hover .module-hover p{
  margin-top: 30px;
  opacity: 1;
}
.module:hover .module-hover h2{
  margin-top: 10px;
}
.module-hover{
  opacity: 1;
  background: rgba(0,0,0, .65);
  color: #FFF;
  height: 100%;
  -webkit-transition: .4s;
     -moz-transition: .4s;
      -ms-transition: .4s;
       -o-transition: .4s;
          transition: .4s;
}
.module-text-holder{
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
}
.module-hover h1{
  font-size: 1.3em;
  letter-spacing: .06em;
}
.module-hover h2{
  font-size: .7em;
  font-weight: 500;
  margin-top: 5px;
  letter-spacing: .1em;
  -webkit-transition: .5s;
     -moz-transition: .5s;
      -ms-transition: .5s;
       -o-transition: .5s;
          transition: .5s;
}
.module-hover p{
  display: inline-block;
  margin-top: 20px;
  font-size: .7em;
  padding: 7px 18px;
  border: #FFF solid 1px;
  border-radius: 1px;
  opacity: 1;
  -webkit-transition: .5s;
     -moz-transition: .5s;
      -ms-transition: .5s;
       -o-transition: .5s;
          transition: .5s;
}
.module-hover p:hover{
  background: #FFF;
  color: #111
}
.module-hover p:before{
  content: "View";
}
#more{
  margin-top: -3px;
  padding: 12px 14px;
  width: 110px;
  letter-spacing: 0.03em;
  cursor: pointer;
  background: #222;
  -webkit-transition: color .5s, width .3s, max-height .5s, background .3s;
     -moz-transition: color .5s, width .3s, max-height .5s, background .3s;
      -ms-transition: color .5s, width .3s, max-height .5s, background .3s;
       -o-transition: color .5s, width .3s, max-height .5s, background .3s;
          transition: color .5s, width .3s, max-height .5s, background .3s;
}
#more h5{
  color: #FFF;
  font-size: .8em;
  font-weight: 500;
}
#more h2{
  display: none;
  color: rgba(255,255,255,0);
  font-size: 1.2em;
  -webkit-transition: .4s;
     -moz-transition: .4s;
      -ms-transition: .4s;
       -o-transition: .4s;
          transition: .4s;
}
#more p{
  display: none;
  color: rgba(255,255,255,0);
  font-weight: 400;
  font-size: 1em;
  line-height: 1.6em;
  margin-top: 10px;
  -webkit-transition: .4s;
     -moz-transition: .4s;
      -ms-transition: .4s;
       -o-transition: .4s;
          transition: .4s;
}
.project-title, .project-subtitle{
  text-transform: uppercase;
  font-weight: 800;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.project-subtitle{
  font-weight: 400;
  font-size: .8em;
}

.project{
  width: 100%;
  background: #FFF;
  overflow: hidden;
}

.project-content, .project-description{
  width: 100%;
  float: left;
}
.project-content iframe{
  height: 300px;
  display: block;
}
.image-content{
  height: 500px;
  margin: 0 auto;
  background-size:cover;
  background-position: 50% 50%;
}
.image-content:hover{
  opacity: .9;
}
.text-holder{
  padding: 30px;
}
.description{
  margin-top: 1em;
  font-size: 1.1em;
  line-height: 1.5em;
}

#iframe-holder{
  top: 0;
  background: #000;
  z-index: 16;
  position: fixed;
  width: 100%;
  height: 300px;
  display: none;
  margin-top: 0px; /*JS Defined*/
  margin-left: 50%;
  opacity: 0;
  -webkit-transform: translateX(-50%);
     -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
       -o-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: opacity .3s ease, margin-top .3s ease;
     -moz-transition: opacity .3s ease, margin-top .3s ease;
      -ms-transition: opacity .3s ease, margin-top .3s ease;
       -o-transition: opacity .3s ease, margin-top .3s ease;
          transition: opacity .3s ease, margin-top .3s ease;
}
#iframe-overlay{
  top: 0;
  position: fixed;
  background: rgba(0,0,0,0);
  width: 100%;
  height: 100%;
  z-index: 15;
  display: none;
  cursor: pointer;
  -webkit-transition: background .3s ease;
     -moz-transition: background .3s ease;
      -ms-transition: background .3s ease;
       -o-transition: background .3s ease;
          transition: background .3s ease;
}

.ytiframe{
  display: block;
  width: 100%;
  height: 100%;
}

footer{
  width: 100%;
  background: #0A0A0A;
  background-size:cover;
  background-position: 50% 50%;
  padding: 32px;
}
#footer-text{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#footer-text li a{
  color: #EEE;
  font-size: .9em;
}
#footer-text p{
  letter-spacing: 0.1em;
  line-height: 1.6em;
  font-size: 1em;
  color: #AAA;
  text-align: center;
  text-transform: uppercase;
}

/*Contact Form*/
#contact-form{
  padding: 0 32px;
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 100px auto;
}
#contact-form label{
  font-size: 3em;
  position: relative;
  top: -2em;
  -webkit-transition: .4s ease;
     -moz-transition: .4s ease;
      -ms-transition: .4s ease;
       -o-transition: .4s ease;
          transition: .4s ease;
}
::-webkit-input-placeholder{color:#333}
:-moz-placeholder{color:#333}
::-moz-placeholder{color:#333}
:-ms-input-placeholder{color:#333}
#contact-form input,
#contact-form select,
#contact-form textarea,
#contact-form label,
#contact-form p{
  cursor: pointer;
  color: #333;
  margin-top: 1em;
  letter-spacing: 0.01em;
  font-family: 'Raleway', Sans-serif;
  font-size: 1.2em;
}
#contact-form input[type=text]{
  color: #666;
  display: inline-block;
  padding-bottom: .5em;
  width: 100%;
  float: left;
  border: none;
  border-bottom: 1px solid #DDD;
  overflow: auto;
  cursor: pointer;
  -webkit-transition: .4s ease;
     -moz-transition: .4s ease;
      -ms-transition: .4s ease;
       -o-transition: .4s ease;
          transition: .4s ease;
}

#contact-form input[type=text]:focus{
  outline: none;
  border-bottom: solid 1px #AAA;
  cursor: auto;
}
#contact-form input[type=text]:focus ~ label,
#contact-form input[type=text]:valid ~ label{
  top: -4em;
  font-size: .9em;
  font-weight: 700;
  color: #333;
}
#contact-form textarea{
  color: #666;
  cursor: pointer;
  width: 100%;
  line-height: 1.5em;
  border: none;
  border-bottom: 1px solid #DDD;
  margin-top: 2em;
  font-family: 'Raleway', Sans-serif;
  overflow: hidden;
  word-wrap: break-word;
  resize: none;
  -webkit-transition: .2s;
     -moz-transition: .2s;
      -ms-transition: .2s;
       -o-transition: .2s;
          transition: .2s;
}
textarea::-webkit-input-placeholder{color: #666;letter-spacing: 0.01em;}
textarea:-moz-placeholder{color: #666;letter-spacing: 0.01em;}
textarea::-moz-placeholder{color: #666;letter-spacing: 0.01em;}
textarea:-ms-input-placeholder{color: #666;letter-spacing: 0.01em;}

#textarea-label{left:0; top: -10em !important;}
#contact-form textarea:focus ~ #textarea-label,
#contact-form textarea:valid ~ #textarea-label{
  top: -7em;
  font-size: .9em;
  font-weight: 700;
  color: #333;
}
#contact-form textarea:focus ~ #textarea-label,
#contact-form textarea:valid ~ #textarea-label{
  top: -16em !important;
}
#contact-form input[type=submit]{
  float: right;
  margin-top: 3.5em;
  margin-bottom: 100px;
  border: 2px solid #222;
  background: transparent;
  font-size: 1.1em;
  padding: .8em 1em;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  -webkit-transition: .3s;
     -moz-transition: .3s;
      -ms-transition: .3s;
       -o-transition: .3s;
          transition: .3s;
}

#contact-form input[type=submit]:hover{
  background: #222;
  color: #FFF;
}
#contact-form input[type=submit]:active{}
.select-option{
  width: 48%;
  border-radius: 0px;
  float: left;
  overflow: hidden;
  margin-top: 1em;
  border-bottom: 1px solid #DDD;
}
.right{float: right}

#contact-form select{
  cursor: pointer;
  border: none;
  width: 95%;
  background: transparent;
  margin-top: 2em;
  margin-left: -3px;
  margin-bottom: 1em;
}

#contact-form p{
  float: left;
  margin-top: 4em;
  line-height: 1.8em;
  width: 100%;
}

select:focus,input:focus,textarea:focus, div{
  outline:none
}

#map{
 width: 100%; 
 height: 250px; 
 margin: 0 auto 0 auto;
}
#map-overlay{
  z-index: 2;
  background: transparent;
  width: 100%;
  height: 250px;
  position: relative;
  top: 250px;
  margin: -250px auto 0 auto;
}

#about-text{
  z-index: 10;
  margin: 0px auto 75px auto;
  width: 80%;
  max-width: 800px;
}
#about-text p{
  color: #222;
  font-family: 'Playfair Display';
  font-weight: 500px;
  font-size: 1.5em;
  line-height: 1.6em;
  text-align: center;
}

@media all and (min-width: 960px){ /*FOR DESKTOP Greater than 960px width screen*/
  #topbar{display:none}
  #logo{display:block}
  #navoverlay{display:none}
  #hamburger{display:none}
  #tech-info{display: block}
  .page-title{height: 150px; line-height: 150px}
  #iframe-holder{width:65%}
  .col-2-3{width: 66.666%}
  .col-1-4{width: 25%}
  .col-1-3{width: 33.333%}
  .col-1-2{width: 50%}
  .col-1-1{width: 100%}
  .module{height: 250px;}
  .module-hover h1{font-size: 1.4em;}
  .module-hover h2{font-size: .7em;}
  .module-hover p{
    margin-top: 20px;
    opacity:1;
    padding: 8px 25px;
    font-size: .8em;
    border: #FFF solid 1px;
  }
  #social-media{
  bottom: 32px;
  right: 32px;
  }
  .social-icon{
  width: 32px;
  height: 32px;
  background-size: 32px 32px !important;
  }
  #contact-form{width: 60%; margin-bottom: 150px}
  #contact-form p{width: auto}
  #contact-form input[type=submit]{width: auto}
  #about-text{margin: -25px auto 150px auto; width: 85%}
  #about-text p{
    font-size: 1.4em;
    line-height: 1.9em;
  }
  #map{height: 300px;}
  #map-overlay{
    height: 500px;
    top: 500px;
    margin: -500px auto 0 auto;
  }
  nav{
    top: 24px;
    width: 100%;
    background: none;
    height: 56px;
    margin-left: 0;
    position: absolute;
    z-index: 11;
  }
  nav ul{
    margin-top: -8px;
    margin-right: 0px;
    width: auto;
  }
  nav li{
    margin-right: 32px;
    width: auto

  }
  .selected{
    background: none;
    height: 50px !important;
  }
  #header-text h1{
    max-width: 700px;
    font-size: 3.5em;
  }
  nav a{
    padding: 0px 8px;
    height: 0%;
    margin-top: 16px;
    border-top: solid 8px rgba(0,0,0,0);
    border-bottom: solid 20px rgba(0,0,0,0);
    border-radius: 2px;
    width: 0%;
  }
  nav a:hover{
    border-top: solid 8px white;
    border-bottom: solid 20px white;
    color: #222;
    width: 100%;
  }

  
}
