body, html, h1, h2, img, a img {
  border: none;
  padding: 0;
  margin: 0;
}

* {
  }

html,body {
  background-color: #f9f9f9;
}

.cb {
  clear: both
}

body {
  font-family: "futura-pt","Helvetica Neue","Helvetica","Arial",sans-serif;
  line-height: 140%;
  color: #555;
  border-top: 4px black;
  border-bottom: 4px black;
  text-shadow: 0 1px 0 white;
  width: 100%;
  font-weight: 300;
}

#top {
  background-color: white;
  border-bottom: 1px solid #3c3c3c;
  margin-bottom: 20px;
  width: 100%;
  padding: 40px 0 30px 0;
}

#description {
  width: 1024px;
  margin: 0 auto;
  background-color: white;

}

#content {
  max-width: 1024px;
  margin: 0 auto;
}

* {
}

#about {
  float: left;
  width: 330px;
  min-height: 100%;
  padding: 20px 10px 20px 10px;
}

#error {
  padding: 20px 10px 20px 10px;
}

#links {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

#links a {
  color: #5A5860;
  text-decoration: none;
  font-weight: bold;
}

#links a:hover {
  border-bottom: 1px solid lightgray;
}

#gallery {
  padding: 20px 0 0 0;
  overflow: hidden;
}

.thumb {
  float: left;
  opacity: 0.8;
  margin: 0 10px 20px 10px;
  filter: gray;
  -webkit-filter: grayscale(1);
}

#me {
  opacity: 1;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid lightgray;
}

img:hover {
  opacity: 1;
  filter: none;
  -webkit-filter: grayscale(0);
}

h1, h2 {
    font-family: "futura-pt","Helvetica Neue","Helvetica","Arial",sans-serif;
  color: #3c3c3c;
  font-weight: 500;
  padding-left: 10px
}

h1 {
  margin-top: 0px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 40px;
}

h1 span {
  font-weight: 300
}

h2 {
  font-weight: 500;
}

p,h2 {
  margin : 0;
  padding : 0;
  line-height: 24px;
  margin-bottom: 40px;
  margin-top: 0;
  padding-top: 0;
  font-size: 19px;
}

p a, h1.error a {
  font-weight: 500;
  color: #3c3c3c;
  text-decoration: none;
}

p a:hover {
  color: red;
}

h1 a:hover {
  color: red;
}

/* 575px is the minimum width to display at least one column of images next to the text.
 * Below this, we should drop the gallery below the text. */
@media screen and (max-width : 575px) {
  #top {
    padding: 0;
    width: 100%;
  }
  #content {
    padding: 0;
  }
  #description {
    padding: 0;
    width: 100%;
  }
  #about {
    padding: 0 10px;
    width: auto;
    float: none;
  }
  #gallery {
    padding: 0;
    display: block;
  }

  h1.hero {
    background: url(/img/hero.png);
    background-size: cover;
    color: white;
    text-shadow: 0 0 8px RGBA(0,0,0,0.7);
    padding-top: 120px;
    padding-bottom: 10px;
  }

  h1.error, h1.hero {
    line-height: 120%;
    font-size: 22px;
  }

  h2, p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 130%;
  }

  #error {
    padding-top: 0;
  }

  .thumb {
    opacity: 1;
    filter: none;
    -webkit-filter: grayscale(0);
  }

}

@media screen and (-webkit-min-device-pixel-ratio: 1.5) { 
  .thumb {
    width: 200px;
  }
}

