body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  margin: 0;
}

#menu {
  float: left;
  margin-top: 30px;
  margin-left: 20px;
  text-align: left;
  width: 150px;
}

#menu .title a {
  color: inherit;
  text-decoration: none;
}

#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#menu li a {
  display: inline-block;
  color: #0864c7;
  text-decoration: none;
}

#menu li a:hover {
  text-decoration: underline;
}

#content {
  float: left;
  margin-top: 30px;
  margin-left: 40px;
  width: 500px;
}

#content h2 {
  font-size: 15px;
  margin: 0 0 0.5em;
}

#content p {
  color: #333;
  line-height: 18px;
}

#content h3 {
  font-size: 13px;
  margin: 1.8em 0 0.5em;
}

/* Manzanita: separators between the main sections */
#content section {
  border-top: 1px solid #e5e5e5;
  margin-top: 2em;
  padding-top: 1.5em;
}

#content section h3 {
  margin-top: 0;
}

/* Projects page */
.project-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.project-list li {
  color: #333;
  line-height: 18px;
  margin-bottom: 0.6em;
}

/* Bookshelf: list + favorites */
.book-list li {
  color: #333;
  line-height: 18px;
  margin-bottom: 0.4em;
}

.book-list li.favorite {
  color: #5a9e6f;
}

/* Manzanita: painting at the top of the page */
.painting {
  margin: 0 0 1em;
}

.painting img {
  display: block;
  width: 100%;
  height: auto;
}

.painting figcaption {
  color: #777;
  font-style: italic;
  margin-top: 0.4em;
}

/* Manzanita: species index */
.species-count {
  color: #777;
  font-style: italic;
  margin: 0 0 1.2em;
}

/* Manzanita: shared species card */
.species-card {
  margin-bottom: 1em;
}

.species-name {
  font-weight: bold;
}

.species-sci {
  font-style: italic;
  color: #777;
}

.species-blurb {
  margin: 0.25em 0 0;
}

/* Manzanita: buttons (lucky + quiz options) */
button {
  font-family: inherit;
  font-size: 13px;
  color: #0864c7;
  background: #fff;
  border: 1px solid #0864c7;
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
}

button:hover {
  background: #0864c7;
  color: #fff;
}

/* Manzanita: lucky spotlight */
#lucky-result {
  margin-top: 1em;
}

/* Manzanita: quiz */
.quiz-progress {
  color: #777;
  font-size: 12px;
  margin: 0 0 0.4em;
}

.quiz-prompt {
  font-weight: bold;
  margin: 0 0 0.8em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quiz-option {
  margin-bottom: 0.5em;
  text-align: left;
}

.quiz-retake {
  margin-top: 0.5em;
}

/* Birds: inline photo */
.photo-right {
  float: right;
  width: 160px;
  height: auto;
  margin: 0 0 1em 1.5em;
}

/* Animated glyph drawings (glyph-art.js) */
.glyph-art {
  clear: both;
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

/* SF Bird Club: the sketch the glyph drawing is based on */
.sketch {
  margin: 0 0 1.5em;
}

.sketch img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
}

.sketch figcaption {
  color: #777;
  font-style: italic;
  margin-top: 0.4em;
}

/* Small screens: menu across the top, content full width */
@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  #menu {
    float: none;
    width: auto;
    margin: 20px 16px 0;
  }

  #menu .title {
    display: block;
    font-weight: bold;
    margin-bottom: 0.3em;
  }

  #menu li {
    display: inline-block;
    margin-right: 1em;
  }

  #content {
    float: none;
    width: auto;
    margin: 24px 16px 40px;
  }

  #content p,
  .project-list li,
  .book-list li {
    line-height: 1.5;
  }

  .photo-right {
    width: 120px;
    margin: 0.2em 0 0.8em 1em;
  }

  button {
    font-size: 15px;
  }
}
