/***** BASE STYLES *****/

body {
  font-family: 'Source Sans Pro', sans-serif;
}

#about, #work, #contact {
  display: flex;
  flex-direction: row;
}

/***** GRID *****/
.full-width {
    margin: 0;
}

.half-width {
    /*width: 600px;*/
    margin: 0 auto;
    /*float: left;*/
}

.third-width {
    /*width: 400px;*/
    margin: 0 auto;
    /*float: left;*/
}

/***** HEADER *****/

header {
    height: 600px;
    background: url('../img/hero.jpg');
    background-size: 100%;
    background-repeat: none;
}

h1 {
    color: #5196fd;
    font-family: 'Lora', serif;
    font-size: 30px;
    padding: 50px 0;
    margin: 0 50px;
}

nav {
    padding: 75px 40px;
}

nav ul li{
    display: flex;
    display: inline-block;
}

nav ul li a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 18px;
    color: #828282;
    font-weight: bold;
}

header h2 {
    width: auto;
    clear: both;
    font-family: 'Lora', serif;
    font-size: 70px;
    line-height: 80px;
    padding: 0px 0;
    color: #a3efe2;
    margin: 0px 0px 0px 20px;
}

header h2 span {
    color: #a3efe2;
}

/***** ABOUT *****/

#about .full-width {
    padding: 50px 0;
}

#about h2 {
    font-family: 'Lora', serif;
    font-size: 36px;
    padding-left: 50px;
}

#about p {
    font-size: 21px;
    color: #7F7F7F;
    line-height: 40px;
    padding-right: 50px;
    padding-left: 50px;
    justify-content: center;
}

/***** WORK *****/

#work {
  background-color: #5196fd;
  background-size: 100%;
  text-align: center;
}

#work .full-width {
    padding: 50px 0;
}

#work img {
    padding-bottom: 30px;
}
#work h3 {
    font-size: 24px;
    width: 400px;
    margin: 0 auto;
}

#work p {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height:  30px;
    color: #2B2B2B;
    padding: 0 35px;
}

/***** CONTACT *****/

#contact {
    background-color: #EBEBEB;
    background-size: 100%;
    justify-content: center;
}

#contact-img {
    border: 12px solid #ffffff;
    margin-top: 30px;
}

#contact h2, #email-header, #socialmedia-header, #contact ul {
    padding-left: 50px;
}

#envelope {
    padding: 0 10px 0 50px;
}

#contact h2 {
    font-family: 'Lora', serif;
    font-size: 36px;
}
#email-header{
    font-size: 32px;
    font-weight: lighter;
    margin: -30px 0 5px 0;
}
#socialmedia-header {
    font-weight: lighter;
    font-size: 29px;
    margin: 20px 0 0 0;
}
#contact a {
    text-decoration: none;
    color: #849b9f;
    font-weight: lighter;
    font-size: 28px;
}

#contact ul {
    list-style: none;
}
#contact ul li {
     display: inline-block;
}
#contact ul img {
    padding-right: 48px;
}



/* ==========================================================================
   Media Queries for Responsive Design.

   ========================================================================== */

@media only screen and (max-width: 375px) {

}

@media only screen and (min-width: 1200px) {

  /***** BASE STYLES *****/

  body {
    font-family: 'Source Sans Pro', sans-serif;
  }

  #about, #work, #contact {
      height: 600px;
  }

  /***** GRID *****/
  .full-width {
      width: 1200px;
      margin: 0 auto;
  }

  .half-width {
      width: 600px;
      margin: 0 auto;
      float: left;
  }

  .third-width {
      width: 400px;
      margin: 0 auto;
      float: left;
  }

  /***** HEADER *****/

  header {
      height: 600px;
      background: url('../img/hero.jpg');;
      background-size: cover;
  }

  h1 {
      color: #5196fd;
      font-family: 'Lora', serif;
      font-size: 30px;
      padding: 50px 0;
  }

  nav {
      float: right;
      padding: 75px 40px;
  }
  nav ul li{
      display: inline-block;
  }
  nav ul li a {
      text-transform: uppercase;
      text-decoration: none;
      font-size: 18px;
      color: #828282;
      padding-left: 80px;
  }
  header h2 {
      width: auto;
      clear: both;
      font-family: 'Lora', serif;
      font-size: 72px;
      line-height: 80px;
      color: #a3efe2;
      padding-top: 100px 0;
  }
  header h2 span {
      color: #a3efe2;
  }

  /***** ABOUT *****/

  #about .full-width {
      padding: 80px 0;
  }

  #about h2 {
      font-family: 'Lora', serif;
      font-size: 36px;
  }

  #about p {
      font-size: 21px;
      color: #7F7F7F;
      line-height: 40px;
      padding-right: 50px;
  }

  /***** WORK *****/

  #work {
    background-color: #5196fd;
    text-align: center;
  }

  #work .full-width {
      padding: 115px 0;
  }

  #work img {
      padding-bottom: 30px;
  }
  #work h3 {
      font-size: 24px;
      width: 400px;
      margin: 0 auto;
  }

  #work p {
      font-family: 'Lora', serif;
      font-size: 18px;
      line-height:  30px;
      color: #2B2B2B;
      padding: 0 35px;
  }

  /***** CONTACT *****/

  #contact {
      background-color: #EBEBEB;
  }

  #contact .full-width {
      padding: 110px 0;
  }

  #contact-img {
      border: 12px solid #ffffff;
  }

  #contact h2, #email-header, #socialmedia-header, #contact ul {
      padding-left: 115px;
  }

  #envelope {
      padding: 0 10px 0 115px;
  }

  #contact h2 {
      font-family: 'Lora', serif;
      font-size: 36px;
  }
  #email-header{
      font-size: 32px;
      font-weight: lighter;
      margin: -30px 0 5px 0;
  }
  #socialmedia-header {
      font-weight: lighter;
      font-size: 29px;
      margin: 40px 0 0 0;
  }
  #contact a {
      text-decoration: none;
      color: #849b9f;
      font-weight: lighter;
      font-size: 28px;
  }

  #contact ul {
      list-style: none;
  }
  #contact ul li {
       display: inline-block;
  }
  #contact ul img {
      padding-right: 48px;
  }


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
