body {
  font-family: 'Lato', sans-serif;
  background-color: #222;
}

/* Nav ----------- */

#home-icon {
  height: 48px;
  width: 48px;
  background-color: #000;
  position: fixed;
  top: 24px;
  left: 24px;
  background: #000 url("../img/logo.png"); 
  z-index: 100;
}

.nav{
    border-width:1px 0;
    list-style:none;
    margin:0;
    padding:0 5%;
    text-align:right;
    width: 90%;
    height: 100px;
    font-size: 1em;
    background-color: #FFF;
    position: fixed;
    z-index: 99;
    top: 0;
    border-bottom: solid 1px #f2f2f2;
}

.nav-detail {
  padding:0 2.5%;
  width: 95%;
}

.nav li{
    display:inline;
}

.nav a{
    display:inline-block;
    padding:10px;
    text-decoration: none;
    color: #333333;
    margin-top: 30px;
}

.nav a:hover {
  color: #53A318;
}

.social-nav{
    border-width:1px 0;
    list-style:none;
    margin:0 auto;
    padding:0;
    text-align:center;
    width: 144px;
    height: 24px;
    font-size: 1em;
    margin-top: 30px;
    margin-bottom: 90px;
}

.social-nav li{
    float: left;
    display:block;
    height: 24px;
}

.social-nav a{
    display:inline-block;
    padding:0;
    text-decoration: none;
    color: #333333;
    text-indent:-9999px;
    width: 24px;
    height: 24px;
    background-color: #F00;
}

.bump {
  margin-right: 16px;
}

/* Font Styles ----------- */

a {
  color: #53A318;
  text-decoration: none;
}

#home-icon a {
  text-indent: -9999px;
  display: block;
  height: 48px;
  width:48px;
}

h1, h2, h3 {
  text-align: left;
}

h1, h2 {
  font-family: 'Lato', sans-serif;
  width: 90%;
  padding: 0 5%;
  font-size: 1.5em;
  padding-bottom: 12px;
}

#project-details h1 {
  padding-bottom: 0px;
}

#project-details h2 {
  font-size: 1.2em;
  display: block;
  float: left;
  margin-bottom: 0px;
}

h3 {
  font-size: .8em;
  color: #AAA;
}

#content-right {
  overflow: hidden;
}

#content-left h1,
#content-left h2,
#content-left h3{
  text-align: center;
}

#content-left h1 {
  color: #FFF;
  padding-bottom: 0px;
  font-size: 2em;
  margin: 0;
}

#content-left span {
  width: 48px;
  height: 1px;
  background-color: #555;
  display: block;
  margin: 0 auto;
  margin-top: 25px;
  margin-bottom: 25px;
}

#content-left p {
    color: #FFF;
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

p {
  font-family: 'Merriweather', serif;
  width: 90%;
  padding: 0 5%;
  font-size: .85em;
  line-height: 2em;
  color: #555;
}

#project-details p,
#project-details h1 {
  display: block;
  float: left;
  clear: both;
}

.before-img {
  margin-bottom: 35px;
}

.after-img {
  margin-top: 35px;
}

.work-thumb p {
  padding-top: 0;
  margin-top: 0;
}

.work-thumb h2 a{
  color: #333;
}

.work-thumb p a{
  color: #555;
}

.work-thumb p a:hover,
.work-thumb h2 a:hover {
  color: #53A318;
}


/* Containers ----------- */

img,
span img {
  display: block;
  float: left;
  width: 100%;
}

img {
  padding: 10px 0px;
}

.no-pad {
  padding-top: 0;
  padding-bottom: 0;
}

.no-pad-bottom {
  padding-bottom: 0;
}

#content, #content-project {
  width: 100%;
}
#project-details {
  padding-bottom: 30px;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
}

#content-left {
  width: 100%;
  background: #000 url("../img/headshot-home.jpg") no-repeat top center; 
  max-height: 900px;
}

#content-right {
  background-color: #FFF;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 20px;
  max-height: 900px;

}

#content-project {
  background-color: #FFF;
  padding-top: 120px;
}

.work-thumb {
  width: 100%;
  display: block;
  float: left;
  padding-right: 2%;
}

/* Social Nav ----------- */

.linkedin a{
  background: url('../img/ic-linked-in.png') no-repeat 0px 0px; 
}

.linkedin a:hover{
  background: url('../img/ic-linked-in.png') no-repeat 0px -24px; 
}

.twitter a{
  background: url('../img/ic-twitter.png') no-repeat 0px 0px; 
}

.twitter a:hover{
  background: url('../img/ic-twitter.png') no-repeat 0px -24px; 
}

.dribbble a{
  background: url('../img/ic-dribbble.png') no-repeat 0px 0px; 
}

.dribbble a:hover{
  background: url('../img/ic-dribbble.png') no-repeat 0px -24px; 
}

.instagram a{
  background: url('../img/ic-instagram.png') no-repeat 0px 0px; 
}

.instagram a:hover{
  background: url('../img/ic-instagram.png') no-repeat 0px -24px; 
}

#bio {
    padding-top: 360px;
    padding-bottom: 20px;
}


/* //////////////////// media queries ///////////////////////////////// */


@media screen and (min-width: 1400px) {
  #content-right h1, 
  #content-right p {
    width: 60%;
    padding: 0 15%;
  }
  #content-left {
    width: 50%;
    float: left;
    display: block;
    height:100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    max-height: 800px;
  }
  #content-right {
    width: 50%;
    float: right;
    display: block;
    height:100vh;
    min-height: 600px;
    padding-top: 0px;
    padding-bottom: 0px;
    max-height: 800px;
  }
  #content-right h1 {
    text-align: left;
  }
  #content-project {
    padding-top: 0px;
  }
  #project-details {
    min-height: 500px;
  }
  #home-icon {
    /*position: absolute;*/
  }
  #bio {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: transparent url("../img/bg-fade.png") repeat-x bottom center; 
    padding-bottom: 0px;
  }
  .nav {
    position: relative;
    border-bottom: none;
    text-align: right;
  }
  span img {
    display: block;
    float: left;
    width: 50%;
  }
  .social-nav{
      margin-bottom: 150px;
  }
  .work-thumb {
    width: 30%;
    padding: 0 1%;
  }
}

/* Largest ----------- */

@media screen and (max-width: 1400px) and (min-width: 1024px) {
  #content-right h1, 
  #content-right p {
    width: 60%;
    padding: 0 15%;
  }
  #content-left {
    width: 50%;
    float: left;
    display: block;
    height:100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    max-height: 725px;
  }
  #content-right {
    width: 50%;
    float: right;
    display: block;
    height:100vh;
    min-height: 600px;
    padding-top: 0px;
    padding-bottom: 0px;
    max-height: 725px;
  }
  #content-right h1 {
    text-align: left;
  }
  #content-project {
    padding-top: 0px;
  }
  #project-details {
    min-height: 500px;
  }
  #home-icon {
    /*position: absolute;*/
  }
  #bio {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: transparent url("../img/bg-fade.png") repeat-x bottom center; 
    padding-bottom: 0px;
  }
  .nav {
    position: relative;
    border-bottom: none;
    text-align: right;
  }
  span img {
    display: block;
    float: left;
    width: 50%;
  }
  .work-thumb {
    width: 30%;
    padding: 0 1%;
  }
}

/* Larger ----------- */

@media screen and (max-width: 1024px) and (min-width: 760px) {
  #content-right h1, 
  #content-right p {
    width: 70%;
    padding: 0 10%;
  }
  #content-left {
    width: 50%;
    float: left;
    display: block;
    height:100vh;
    position: fixed;
    top: 0;
    bottom: 0;
  }
  #content-right {
    width: 50%;
    float: right;
    display: block;
    height:100vh;
    min-height: 670px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  #content-right h1 {
    text-align: left;
  }
  #content-project {
    padding-top: 0px;
  }
  #project-details {
    min-height: 500px;
  }
  #home-icon {
    /*position: absolute;*/
  }
  #bio {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: transparent url("../img/bg-fade.png") repeat-x bottom center; 
    padding-bottom: 0px;
  }
  .nav {
    position: relative;
    border-bottom: none;
    text-align: right;
  }
  span img {
    display: block;
    float: left;
    width: 50%
  }
  .work-thumb {
    width: 30%;
    padding: 0 1%;
  }
}

@media screen and (max-width: 760px) and (min-width: 500px) {
  .work-thumb {
    width: 46%;
    padding: 0 1%;
  }
  .thumb-first {
    padding-left: 2%;
  }
}

/* Retina Graphics ----------- */

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
  
  #home-icon {
    background: #000 url("../img/logo@2x.png"); 
    background-size: 48px 48px;
  }
  #content-left {
    background: #000 url("../img/headshot-home@2x.jpg") no-repeat top center; 
    background-size: 1250px;
  }
  .linkedin a{
    background: url('../img/ic-linked-in@2x.png') no-repeat 0px 0px; 
    background-size: 24px;
  }

  .linkedin a:hover{
    background: url('../img/ic-linked-in@2x.png') no-repeat 0px -24px; 
    background-size: 24px;
  }
  .twitter a{
    background: url('../img/ic-twitter@2x.png') no-repeat 0px 0px; 
    background-size: 24px;
  }

  .twitter a:hover{
    background: url('../img/ic-twitter@2x.png') no-repeat 0px -24px; 
    background-size: 24px;
  }

  .dribbble a{
    background: url('../img/ic-dribbble@2x.png') no-repeat 0px 0px; 
    background-size: 24px;
  }

  .dribbble a:hover{
    background: url('../img/ic-dribbble@2x.png') no-repeat 0px -24px; 
    background-size: 24px;
  }

  .instagram a{
    background: url('../img/ic-instagram@2x.png') no-repeat 0px 0px; 
    background-size: 24px;
  }

  .instagram a:hover{
    background: url('../img/ic-instagram@2x.png') no-repeat 0px -24px; 
    background-size: 24px;
  }
}