*, *:before, *:after {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* Small screens (default) */
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
/* Medium screens (640px) */
@media (min-width: 40rem) {
  html { font-size: 108%; }
}
/* Large screens (1024px) */
@media (min-width: 64rem) {
  html { font-size: 114%; }
}
html a{
  -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-decoration: none;
    color: #666;
}
#main a:hover{
    color: #888;
}
body {
  font-family: 'Roboto', Helvetica, sans-serif;
  background: rgba(31, 36, 41, 1);
}
h1, h2, p {
  font-weight: 300;
}
/*------------------------------ START OF PAGE ELEMENTS ------------------------------*/
#outer{min-height:100%;background:#ffffcc}
* html #outer{height:100%;}/* ie6 and under*/
#warning {
  position: fixed;
  top: 10px;
  right: 50px;
  background: rgb(255, 180, 180);
  border: 2px solid rgb(180, 0, 0);
  border-radius: 2px;
  padding: 5px;
  z-index: 9;
}
/*------------------------------ HAMBURGER NAV ------------------------------*/
[role="burger"] {
  position: relative;
  text-align: center;
  font-weight: 700;
  float: left;
  margin: 0;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transition: .2s all ease;
  transition: .2s all ease;
}
[role="burger"]:hover {
  cursor: pointer;
  color: rgb(230, 230, 230);
  border-color: rgb(230, 230, 230);
}
.activated [role="burger"] {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
#navigation,
#main {
  width: 100%;
  height: 100%;
  -webkit-transition: .2s all ease;
  transition: .2s all ease;
  padding: 0;
}
#navigation {
  margin-left: -100%;
  z-index: 2;
  width: 80%;
  min-height: 1500px;
  float: left;
  background: rgba(31, 36, 41, 1);
  border-right: 1px solid #000;
  color: #fff;
  -webkit-transition: .2s all ease;
}
#navigation[class="activated"] {
  margin-left: 0;
  max-width: 80%;
  width: 550px;
}
#main {
  float: left;
  min-height: 100%;
  position: relative;
  -webkit-transition: .2s all ease;
  transition: .2s all ease;
}
#main[class="activated"] {
  margin-right: -550px;
}
#overlay {
  display: none;
  opacity: 0.4;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
  -webkit-transition: .2s all ease;
  transition: .2s all ease;
}
#overlay[class="activated"] {
  display: block;
}
/*------------------------------ NAVIGATION ------------------------------*/
nav ul {
  list-style: none;
  padding: 0;
}
nav h2 {
  margin: 0;
}
nav h3 {
  margin: 0 0 15px;
  font-weight: 300;
}
nav .navTitle {
  border: 2px solid #fff;
  border-radius: 2px;
  padding: 0 .4rem;
  display: inline-block;
}
nav .navTitle:hover {
  background: rgba(255, 255, 255, .05);
}
nav a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
nav ul li {
  border-bottom: 1px solid #000;
  padding: 20px 10px;
  -webkit-transition: all .2s;
  transition: all .2s;
}
nav ul li:hover:nth-child(n+2) {
  background: rgba(255, 255, 255, .05);
}
nav ul li:nth-child(1) {
  text-align: center;
  padding: 20px 0 40px;
}
#contactForm {
  display: none;
  padding: .4rem 2.0rem .4rem 0.8rem;
}
#contactForm input, textarea {
  display: block;
  padding: .4rem;
  margin-bottom: 20px;
  width: 100%;
  border: none;
}
#contactForm input[type="submit"] {
  width: 50%;
  float: right;
  color: #fff;
  background: #f00;
}
#contactSuccess {
  display: none;
  padding: .4rem 2.0rem .4rem 0.8rem;
}
/*------------------------------ MAIN LAYOUT ------------------------------*/
p {
  text-align: left;
}
.col3 p {
  text-align: center;
}
  .title {
  font-size: 1.5rem;
  margin: 10px auto;
  border: 2px solid #fff;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
  display: inline-block;
  padding: .4rem 1.4rem;
  text-transform: uppercase;
}
.title2 {
  font-size: 0.9rem;
}
.column {
  max-width: 48rem;
  width: 80%;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
}
.bg {
  background: url('images/mac.jpg') no-repeat;
  background-size: 100%;
  position: fixed;
  width: 100%;
  height: 150%;
  top:0;
  left:0;
  z-index: -1;
}
.recentWork {
  background: url('images/deck.jpg') no-repeat;
  background-size: 100%;
}
.activated.bg {
  height: 100%;
}
section {
  margin: 0 auto;
}
section[class="transparent"] {
  color: #fff;
  text-align: center;
  padding: 100px 40px 50px;
}
.col3 {
  max-width: 48rem;
  width: 80%;
  margin: 0 auto;
  display: none;
  text-align: center;
}
.big {
  display: inline-block;
  max-width: 13rem;
  width: 30%;
}
.first {
  float: left;
}
.last {
  float: right;
}
.icon {
  margin: 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 40px;
}
@media (min-width: 40rem) {
  .icon {
    width: 120px;
    height: 120px;
    border-radius: 60px;
  }
}
@media (min-width: 64rem) {
  .icon {
    width: 150px;
    height: 150px;
    border-radius: 75px;
  }
}
@media (min-width: 90rem) {
  .icon {
    width: 180px;
    height: 180px;
    border-radius: 90px;
  }
}
@media (min-width: 110rem) {
  .icon {
    width: 200px;
    height: 200px;
    border-radius: 100px;
  }
}
.commercial {
  background: url('images/icon_commercial.jpg');
  background-size: cover;
}
.personal {
  background: url('images/icon_personal.jpg');
  background-size: cover;
}
.professional {
  background: url('images/icon_professional.jpg');
  background-size: cover;
}
.offer {
  background: url('images/icon_offer.jpg');
  background-size: cover;
}
.tutorials {
  background: url('images/icon_tutorials.jpg');
  background-size: cover;
}
.commercialwork {
  background: url('images/commercial.jpg');
  background-size: cover;
}
.personalwork {
  background: url('images/personal.jpg');
  background-size: cover;
}
.professionalwork {
  background: url('images/professional.jpg');
  background-size: cover;
}
.me {
  background: url('images/me.jpg');
  background-size: cover;
}
/* Tiny screens (525px) */
@media (max-width: 33rem) {
  section[class="transparent"] {
    padding: 60px 0 30px;
  }
  #navigation[class="activated"] {
  margin-left: 0;
  width: 500px;
  }
}
/* Medium screens (640px) */
@media (min-width: 40rem) {
  section[class="transparent"] {
    padding: 180px 0 90px;
  }
  .title {
    font-size: 3.0rem;
    border: 3px solid #fff;
    border-radius: 3px;
  }
  [role="burger"] {
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
    border: 2px solid #fff;
    border-radius: 2px;
    padding-top: -2px;
  }
  .title2 {
    font-size: 1.5rem;
  }
  .col3{
    display: block;
    height: auto;
    padding-bottom: 30px;
  }
  .small {
    display: none;
  }
  #navigation[class="activated"] {
  margin-left: 0;
  width: 300px;
  }
}
/* Large screens (1024px) */
@media (min-width: 64rem) {
  section[class="transparent"] {
    padding: 240px 0 120px;
  }
}
/* Huge screens (1440px) */
@media (min-width: 90rem) {
  section[class="transparent"] {
    padding: 300px 0 150px;
  }
  #navigation[class="activated"] {
  margin-left: 0;
  width: 400px;
  }
}
/* Massive screens (1920px) */
@media (min-width: 110rem) {
  section[class="transparent"] {
    padding: 400px 0 200px;
  }
  #navigation[class="activated"] {
  margin-left: 0;
  width: 500px;
  }
}
.white {
  color: #000;
  background: #fff;
  padding: 30px 0;
}
.white:nth-child(n+2) {
  border-top: 1px solid rgb(230, 230, 230);
}
.white:nth-last-child(1) {
 margin-bottom: 0;
 padding-bottom: 100px;
 height: auto;
}
header {
  background: rgb(31, 36, 41);
  color: #fff;
  height: 72px;
  padding: 0 20px;
  line-height: 72px;
  text-transform: uppercase;
}
header a{
  font-weight: 300;
  display: inline-block;
  height: 100%;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
}
.nav {
  float: right;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}
.nav:hover {
  color: #b6ced2; /*a2672d brown*/
}
/*------------------------- FOOTER -------------------------*/
footer {
  bottom: 0;
  border-top: 1px solid #000;
  position: relative;
  padding: 0 0 0 10px;
  width: 100%;
  height: 60px;
  background: rgb(31, 36, 41);
  line-height: 60px;
  color: #fff;
  float: left;
}
footer a{
  display: inline-block;
  height: 100%;
}
.social_top {
  width: 55px;
  text-align: center;
  border-left: 1px solid #000;
  float: right;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}
.social_top:hover {
  opacity: 0.7;
}
.linkedin {
  background: url('/linkedin.png');
  background-repeat: no-repeat;
  background-position: center;
}
.facebook {
  background: url('/facebook.png');
  background-repeat: no-repeat;
  background-position: center;
}
.twitter {
  background: url('/twitter.png');
  background-repeat: no-repeat;
  background-position: center;
}
/*------------------------------ SPINNER ------------------------------*/
.spinner {
  height:35px;
  width:35px;
  margin:0 10px 0 auto;
  position:relative;
  float: right;
  display: none;
  -webkit-animation: rotation .6s infinite linear;
  animation: rotation .6s infinite linear;
  border-left:6px solid rgba(237,237,237,.15);
  border-right:6px solid rgba(237,237,237,.15);
  border-bottom:6px solid rgba(237,237,237,.15);
  border-top:6px solid rgba(237,237,237,.8);
  border-radius:100%;
}

@-webkit-keyframes rotation {
  from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(359deg);}
}

@keyframes rotation {
  from {-webkit-transform: rotate(0deg);-ms-transform: rotate(0deg);transform: rotate(0deg);}
  to {-webkit-transform: rotate(359deg);-ms-transform: rotate(359deg);transform: rotate(359deg);}
}