body {
  margin: 0;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #f4f4f4;
}

header {
  max-width: 900px;
  margin: 24px auto 16px;
}

header h1 {
  margin-bottom: 4px;
}

.menu {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 12px;
  background-color: #222;
}

/* Menu-link states: link, visited, hover, focus, and active */
.menu a:link {
  color: white;
  text-decoration: none;
}

.menu a:visited {
  color: #d8c8ff;
}

.menu a:hover {
  color: #ffdd57;
  text-decoration: underline;
}

.menu a:focus {
  outline: 2px solid white;
  outline-offset: 3px;
}

.menu a:active {
  color: #ff7777;
}

.menu a {
  display: inline-block;
  margin: 4px 14px 4px 0;
}

.story {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border: 2px solid #777;
  border-radius: 6px;
  line-height: 1.6;
}

/* Float the image right so the story text flows beside it. */
.story img {
  float: right;
  width: 280px;
  max-width: 45%;
  height: auto;
  margin: 0 0 16px 20px;
  border: 1px solid #bbb;
}

.continue-link:link,
.continue-link:visited {
  color: blue;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.continue-link:hover,
.continue-link:focus {
  color: red;
  text-decoration: underline;
}

footer {
  max-width: 900px;
  margin: 20px auto;
  color: #555;
}

@media (max-width: 600px) {
  .story img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
  }
}
