/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border: 0; font-size: 100%; font: inherit; vertical-align: baseline; margin: 0; padding: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: none; }

table { border-collapse: collapse; border-spacing: 0; }

body { width: 100%; text-align: center; font-size: 20px; line-height: 1.5em; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; }

* { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }

h1 { font-size: 3em; color: #2b3033; line-height: 2em; }

h2 { font-size: 1.5em; line-height: 1.5em; color: #8e9aa1; }

h3 { font-size: 2em; font-weight: 500; line-height: 1.2em; padding: 0 1.5em; max-width: 900px; margin: 0 auto 0.3em; display: inline-block; }
h3 a { border-bottom: 1px dotted #c7cacb; color: #2b3033; display: inline-block; line-height: 1.2em; }
h3 a:hover { border-bottom: 1px solid #c7cacb; }

h4 { margin: 0 auto 0.5em; }

p { line-height: 1.5em; color: #8e9aa1; padding: 0 1.5em; max-width: 860px; margin: auto; }

a { text-decoration: none; color: #5d656a; font-weight: 500; }
a:hover { color: #2b3033; }

strong { font-weight: 500; }

header { padding: 4em 1.5em; width: 100%; max-width: 950px; margin: auto; }
header a { border-bottom: 1px dotted #c7cacb; }
header a:hover { border-bottom: 1px solid #c7cacb; }

.profile-img { width: 100px; height: 100px; margin: auto; border-radius: 50px; margin-bottom: 0.5em; }
.profile-img.me { background: url(../i/profile-me.jpg) top left no-repeat; background-size: 100%; }
.profile-img.drew { background: url(../i/profile-drew.jpg) top left no-repeat; background-size: 100%; }
.profile-img.julie { background: url(../i/profile-julie.jpg) top left no-repeat; background-size: 100%; }

hr { border: none; border-bottom: 1px solid rgba(43, 48, 51, 0.1); width: 100%; max-width: 1200px; margin: 0 auto 6em; }

.project { margin: 0 auto 7em; }
.project p { font-size: 1.2em; margin: 0 auto 2em; }
.project .project-img { width: 100%; max-width: 1200px; margin: 0 auto; }
.project .project-img .img-container { width: 100%; margin: 0 auto; }
.project .project-img .img-container a + a { margin-top: 1em; display: block; }
.project .project-img .img-container img + img { margin-top: 1em; display: block; }
.project.facebook .project-img { background: url(../i/work-facebook-bg.jpg) top left repeat-x; }
.project.facebook .project-img .img-container { max-width: 851px; }
.project.water-cost { margin: 0 auto 4em; }
.project.water-cost .img-container { max-width: 900px; }
.project.comic-sans .project-img { background: url(../i/work-comic-sans-bg.png) top left repeat-x; }
.project.comic-sans .project-img .img-container { max-width: 600px; }

.section { margin: 0 auto 6em; max-width: 900px; }
.section h3 { width: 100%; }
.section#contact p { margin-bottom: 1em; }

.dribbble h3 { margin-bottom: 1em; }
.dribbble #dribbble-latest { width: 100%; max-width: 840px; margin: auto; }
.dribbble #dribbble-latest .dribbble-image { width: 50%; max-width: 420px; padding: 0 20px 0 0; display: inline-block; position: relative; }
.dribbble #dribbble-latest .dribbble-image:after { position: absolute; content: ""; top: 0; left: 0; right: 20px; bottom: 0; z-index: 100; border: 1px solid rgba(43, 48, 51, 0.1); pointer-events: none; }
.dribbble #dribbble-latest .dribbble-image:last-child { padding: 0 0 0 20px; }
.dribbble #dribbble-latest .dribbble-image:last-child:after { left: 20px; right: 0; }
.dribbble #dribbble-latest .dribbble-image img { width: 100%; }

.testimonials h3 { margin-bottom: 1em; }
.testimonials p { margin-bottom: 3em; }
.testimonials .profile-img { margin-bottom: 1em; }

@media all and (max-width: 600px) { body { font-size: 13px; }
  br { display: none; }
  header { padding: 4em 1.5em; }
  .project.water-cost { margin: 0 auto 5em; }
  .dribbble h3 { margin-bottom: 1em; }
  .dribbble #dribbble-latest .dribbble-image { padding: 0 10px 0 0; }
  .dribbble #dribbble-latest .dribbble-image:after { right: 10px; }
  .dribbble #dribbble-latest .dribbble-image:last-child { padding: 0 0 0 10px; }
  .dribbble #dribbble-latest .dribbble-image:last-child:after { left: 10px; } }
