* {
  margin: 0;
  padding: 0;
  outline: 0; }

body.home {
  background: #222;
  color: #fff; }

.title-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  background: url(../img/sherlock-cover.png) no-repeat center center fixed;
  background-size: 85vmin;
  z-index: 5;
  position: relative;
  animation: background ease-in-out 4s; }

@media (max-width: 600px) {
  .title-container {
    background-size: 70vmax; } }
@keyframes background {
  0% {
    opacity: 0; }
  50% {
    opacity: 0.3; }
  100% {
    opacity: 1; } }
.title {
  margin: auto;
  display: flex;
  position: relative;
  z-index: 1;
  text-align: center; }

.title img {
  max-width: 900px;
  display: block;
  width: 60vmin;
  margin: auto;
  animation: titleappear ease-in-out 5s; }

a {
  color: #fff;
  text-decoration: none; }

.title p {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1em; }

#smoke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  animation: smoky ease-in 2s; }

@keyframes smoky {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box; }

html {
  padding-top: 2em; }

@media (min-width: 300px) {
  .flex-me {
    outline: 2px solid #222;
    outline-offset: -6px; } }
@media (min-width: 800px) {
  html {
    background: #202020;
    padding: 2.2em 1em 0; }

  .flex-me {
    outline: 2px solid #222;
    outline-offset: -20px; } }
@media (min-width: 1400px) {
  html {
    padding: 2.5em 1.5em 0; } }
.main {
  background-color: #333;
  background: #333 url(../img/grunge.png) center center repeat;
  background-size: 1800px; }

body {
  background: #333 url(../img/grunge.png) center center repeat;
  background-size: 1800px;
  color: #fff;
  font: 100%/1.55 "essonnes-text", serif; }
  @media (min-width: 300px) {
    body {
      font-size: 17px; } }
  @media (min-width: 800px) {
    body {
      font-size: 19px; } }
  @media (min-width: 1400px) {
    body {
      font-size: 21px; } }

.hidden {
  display: none; }

#toc-reveal {
  cursor: pointer; }

#toc {
  padding: 3em 0;
  font-size: 0.8rem;
  font-family: "essonnes-text",serif; }
  #toc ul {
    list-style-type: none;
    padding: 2em 0;
    position: relative; }
    #toc ul a {
      margin: 1px 0;
      min-width: 14em;
      display: inline-block; }
    #toc ul:before, #toc ul:after {
      content: "...................";
      font-size: 0.75em;
      color: rgba(255, 255, 255, 0.5);
      position: absolute;
      top: 0;
      left: 0;
      text-align: center;
      width: 100%;
      letter-spacing: 4px; }
    #toc ul:after {
      top: auto;
      bottom: 0; }

.header {
  background: #202020;
  font-family: "nimbus-sans", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  overflow: hidden;
  width: 100%;
  text-align: center;
  font-size: 0.55em;
  padding: 0.2em 0 0.4em;
  text-transform: uppercase;
  letter-spacing: 1px; }
  @media (min-width: 800px) {
    .header {
      padding: 0.5em 0; } }
  .header a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    line-height: 2.5; }

p a {
  text-decoration: underline; }

.mute {
  margin: 0 0.8em;
  background: url(../img/unmute.svg) no-repeat left center;
  cursor: pointer;
  background-size: 0.9em;
  opacity: 0.9; }
  .mute #mutebtn {
    width: 0.8em;
    opacity: 0;
    cursor: pointer;
    margin-left: 8px; }

.mute-off {
  background-image: url(../img/mute.svg); }

a.paravel {
  margin: 0 0.8em;
  background: url(../img/paravel-triforce.svg) no-repeat left center;
  cursor: pointer;
  background-size: 0.9em;
  opacity: 0.9;
  padding-left: 1.35em; }

p {
  max-width: 32em;
  margin: 1.75em auto; }

br {
  line-height: 3; }

.centered-block {
  max-width: 48em;
  margin: 0 auto 2em; }

figure {
  max-width: 18em;
  margin: 0 auto 1em; }
  figure figcaption {
    text-transform: uppercase;
    text-align: center;
    font-size: 0.6em;
    letter-spacing: 1px;
    color: #ccc; }
  figure img {
    margin: 0 auto 0.85em; }

@media (min-width: 800px) {
  figure {
    float: right;
    margin: 0 1.5em 5%; }

  figure.left {
    float: left;
    margin: 0 1.5em 5%; } }
img {
  margin: 3em auto;
  max-width: 100%;
  width: 100%;
  display: block;
  max-width: 30em; }

.content-container {
  width: 90%;
  margin: 0 auto; }

.tier {
  width: 100%;
  padding: 5em 0;
  background: rgba(0, 0, 0, 0.05); }
  .tier hr {
    border: none;
    background: url(../img/pipes.png) center center no-repeat;
    height: 7em;
    background-size: 6.5em;
    opacity: 0.8; }

.flex-me {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative; }
  .flex-me .tier {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; }

.tier-intro {
  padding: 0;
  background: rgba(0, 0, 0, 0.06);
  position: relative; }
  .tier-intro img {
    margin: 0 auto 1em;
    width: 50%;
    max-width: 50vmin;
    background: none; }
    @media (min-width: 1000px) {
      .tier-intro img {
        max-width: 45vmin; } }
  .tier-intro h3 {
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 1.85em 0 1.25em;
    line-height: 1;
    font-family: "essonnes-display", serif; }
    .tier-intro h3:before, .tier-intro h3:after {
      content: ".........";
      font-size: 0.75em;
      color: rgba(255, 255, 255, 0.5);
      position: absolute;
      top: 0;
      left: 0;
      text-align: center;
      width: 100%;
      letter-spacing: 4px; }
    .tier-intro h3:after {
      top: auto;
      bottom: 0; }

.tier-intro:before, .tier-intro:after, .flex-me:before, .flex-me:after {
  content: '';
  background: url(../img/scroll-sprite.png) top left no-repeat;
  background-size: 10em;
  width: 5em;
  height: 5em;
  position: absolute;
  top: 0.5em;
  left: 0.5em; }
  @media (min-width: 800px) {
    .tier-intro:before, .tier-intro:after, .flex-me:before, .flex-me:after {
      top: 1.5em;
      left: 1.5em; } }
.tier-intro:after, .flex-me:after {
  background-position: top right;
  right: 0.5em;
  left: auto; }
  @media (min-width: 800px) {
    .tier-intro:after, .flex-me:after {
      right: 1.5em; } }

.flex-me:before, .flex-me:after {
  background-position: bottom left;
  top: auto;
  bottom: 0.5em;
  left: 0.5em; }
  @media (min-width: 800px) {
    .flex-me:before, .flex-me:after {
      bottom: 1.5em;
      left: 1.5em; } }
.flex-me:after {
  background-position: bottom right;
  right: 0.5em;
  left: auto; }
  @media (min-width: 800px) {
    .flex-me:after {
      right: 1.5em; } }

.tier-visit {
  padding: 10vmax 0 10vmax;
  background: rgba(0, 0, 0, 0.23) url(../img/town.png) top center repeat;
  background-size: 100%; }

.main:first-letter {
  font-family: "essonnes-display",serif;
  font-size: 9.25em;
  line-height: 0.825;
  margin-right: 0.15em;
  margin-top: 0;
  margin-bottom: 10px;
  float: left; }

.tier-maskedman {
  background: rgba(0, 0, 0, 0.1); }

.tier-facts {
  background: rgba(0, 0, 0, 0.15) url(../img/shelf.png) center center repeat;
  background-size: 75em; }

.tier-fireplace {
  background: #222;
  padding: 28vmax 0;
  background: #222 url(../img/fire.gif) center center no-repeat;
  background-size: 60%;
  opacity: 0.8; }

.note {
  background: rgba(235, 198, 193, 0.95) url(../img/grunge.png) repeat;
  background-size: 43em;
  color: #333;
  padding: 1.65em 5% 2.5em;
  width: 90%;
  max-width: 24em;
  margin: 4em auto;
  transform: translate(-5px, 100px) rotate(-1.5deg);
  font-style: italic;
  line-height: 1.7; }
  @media (min-width: 800px) {
    .note {
      transform: translate(-5px, 100px) rotate(-2.5deg); } }
  .note p {
    margin: 0.15em auto;
    padding-top: 4.25em;
    background: url(../img/flourish.png) top center no-repeat;
    background-size: 6em; }

.slide-in {
  animation: slide-in ease-in-out 1s;
  transform: translate(0, 0) rotate(-2.5deg); }

@keyframes slide-in {
  0% {
    transform: translate(-5px, 100px) rotate(-2.5deg); }
  60% {
    transform: translate(2px, -10px) rotate(-2deg); }
  100% {
    transform: translate(0, 0) rotate(-2.5deg); } }
.receipt {
  background: #ccc url(../img/receipt.png) center center no-repeat;
  background-size: cover;
  width: 90%;
  max-width: 22em;
  margin: 3em auto;
  padding: 2em 0;
  box-shadow: 3px 3px 9px 3px rgba(0, 0, 0, 0.2);
  transform: rotate(-1.5deg); }
  @media (min-width: 800px) {
    .receipt {
      width: 60%; } }
  .receipt .writing {
    width: 50%;
    margin: 5em auto 4em;
    transform: rotate(-9deg); }
    @media (min-width: 800px) {
      .receipt .writing {
        margin: 9em auto 8em; } }
  .receipt svg {
    width: 100%;
    height: auto;
    opacity: 0.65; }

.show-script {
  opacity: 1 !important; }

.pagination {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 0.65em;
  overflow: hidden; }
  .pagination li {
    float: left;
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 50%;
    box-sizing: border-box; }
    .pagination li:first-of-type {
      text-align: left; }
    .pagination li:last-of-type {
      text-align: right; }
  .pagination a {
    display: block;
    background: rgba(0, 0, 0, 0.4);
    padding: 3em 2em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "nimbus-sans", sans-serif;
    letter-spacing: 1px; }
    .pagination a:hover {
      background: rgba(0, 0, 0, 0.5); }

.clock-wrap {
  background: url("../img/clock.gif") no-repeat center 75%;
  background-size: 8.5%;
  background-size: 17.5vmin;
  max-width: 1400px;
  margin: 2% auto; }

.clock-wrap img {
  max-width: 22em;
  width: 26.5%;
  max-width: 28vmin; }

.tier-return {
  background: rgba(0, 0, 0, 0.27); }

.tier-clergyman, .tier-goodnight {
  background-color: rgba(0, 0, 0, 0.25); }

.tier-carriage {
  background: url(../img/building.png) 70% center repeat-x, url("../img/lit.gif") center center repeat;
  background-size: cover;
  background-attachment: fixed; }
  @media (min-width: 1250px) {
    .tier-carriage {
      background: url(../img/building.png) 60% center repeat-x, url("../img/lit.gif") center center repeat;
      background-size: cover;
      background-attachment: fixed; } }

.lit {
  background: url("../img/lit.gif") no-repeat center 75%;
  background-size: cover; }

.journey {
  position: relative;
  background: #333 url(../img/grunge.png) center center repeat;
  background-size: 2900px;
  width: 100%;
  margin: 0 auto; }
  .journey img {
    width: 100%;
    max-width: none;
    opacity: 0.7;
    margin: 0; }
  .journey svg {
    width: 100%;
    height: 100%;
    opacity: 0.8; }
  .journey .route {
    position: absolute;
    top: 0;
    left: 0; }

.lantern-wrap {
  background: url("../img/flame.gif") no-repeat center 58%;
  background-size: 8.5%;
  background-size: 8.5vmin;
  max-width: 1400px;
  margin: auto; }

.lantern-wrap img {
  max-width: 16em;
  width: 20%;
  max-width: 25vmin; }

.letter {
  background: url(../img/paper.png);
  background-color: #ddd;
  background-repeat: no-repeat;
  background-size: cover;
  color: #444;
  padding: 1.65em 5% 2.5em;
  width: 90%;
  max-width: 28em;
  margin: 4em auto;
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.3); }
  @media (min-width: 800px) {
    .letter {
      transform: rotate(-0.5deg); } }

.name {
  font-variant: small-caps; }
  .name i {
    font-variant: normal; }

.tier-resolution {
  background: rgba(0, 0, 0, 0.27); }

.main .tier-resolution:first-letter {
  font-family: "essonnes-display",serif;
  font-size: 8.25em;
  line-height: 0.825;
  margin-right: 0.15em;
  margin-top: 0;
  margin-bottom: 10px;
  float: left; }

/*# sourceMappingURL=style.css.map */
