* {
  box-sizing: border-box;
}

body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
  background-color: #DDD;
  font-family: "museo-sans";
  font-size: 62.5%;
}

.home-page {
    max-width: 768px;
}

a, a:visited {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

a.button {
  display: inline-block;
  padding: 5px;
  border: solid 3px;
  text-decoration: none;
}

a:hover {
  color: magenta;
}

.info {
  min-height: 600px;
  margin: auto;
  box-shadow: 0 0 5px #999;
  border-radius: 3px;
  background-image: url("/assets/images/boothBW.png");
  background-repeat: no-repeat;
  background-size: 350px;
  background-position: bottom left;
  background-color: #FFF;
  padding: 40px 20px 20px 215px;
}

.info p:first-of-type {
  font-size: 20px;
  line-height: 25px;
  margin-top: 25px;
}

.how-it-works {
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.info img {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

header, footer {
  background-image: url("/assets/images/backthin.png");
  border: 10px solid #FFF;
  background-size: 100% 100%;
  position: relative;
  width: 100%;
  padding: 20px 10px;
}

nav {
  position: absolute;
  top: 20px;
  right: 10px;
}

h1 {
  font-size: 30px;
  line-height: 30px;
  margin: 0;
  padding: 0;
}

h1 span {
  font-weight: 300;
  display: block;
  font-size: 20px;
}

h1 br {
  display: none;
}

p {
  margin: 20px 0;
  font-size: 15px;
  font-weight: 300;
}

#gallery {
  overflow: auto;
  margin: 20px auto;
}

#gallery section {
  overflow: hidden;
}

.thumbnail {
  width: 23.5%;
  margin-right: 2%;
  margin-bottom: 2%;
  border: 5px solid #FFFFFF;
  display: block;
  float: left;
}

.thumbnail:nth-of-type(4n+4) {
  margin-right: 0;
}

iframe {
  opacity: 0;
  max-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 1000;
}

#twitter {
  opacity: .75;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: fixed;
  top: 20px;
  right: 20px;
  background-image: url("/assets/images/twitter.png");
  background-size: 50px;
}

footer {
  max-width: 500px;
  margin: auto;
  line-height: 20px;
}

figure {
  max-width: 500px;
  margin: 0 auto 20px auto;
}

figure img {
  width: 100%;
}

@media screen and (max-width: 500px) {
  h1 br {
    display: block;
  }

  body {
    padding: 10px;
  }

  header, footer {
    border-width: 8px;
  }

  header {
    padding: 40px 10px;
  }

  nav {
    top: 10px;
  }

  .info {
    background-image: none;
    padding: 40px 20px 20px 20px;
  }

  .info p br {
    display: none;
  }

  .info img {
    display: block;
  }

  .thumbnail {
    width: 32%;
    margin-bottom: 2%;
    border-width: 2px;
  }

  .thumbnail:nth-of-type(4n+4) {
    margin-right: 2%;
  }

  .thumbnail:nth-of-type(3n+3) {
    margin-right: 0;
  }

  footer h1 {
  }

  footer p {
  }
}
