@import url("https://fonts.googleapis.com/css2?family=Belanosima:wght@600&family=Megrim&family=Quattrocento&family=Trade+Winds&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fondamento:ital@0;1&display=swap");
html {
  overflow-x: hidden;
}

body * {
  box-sizing: border-box;
  position: relative;
}

body {
  margin: 0;
  /* font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; */
  font-family: "Quattrocento", serif;
  background-color: #0D0D0D;
  color: white;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-family: "Belanosima", sans-serif;
  font-weight: 600;
  margin: 0;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
header#in-game {
  background: black;
  padding: 10px;
}
header#in-game #logo {
  text-decoration: none;
  font-family: "Megrim", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0.8;
  margin-right: 1.3rem;
}
header#in-game #logo:hover {
  opacity: 1;
}
header#in-game #logo img {
  width: 12rem;
}
header#in-game a.button.normal {
  margin-right: 0.7rem;
  top: 2px;
}
header#in-game .account {
  position: absolute;
  top: 12px;
  right: 12px;
}
header#in-game #title, header#in-game #subtitle {
  font-size: 1.3rem;
  padding: 0.7rem;
  vertical-align: top;
}
@media (min-width: 960px) {
  header#in-game #title, header#in-game #subtitle {
    display: inline-block;
  }
}
@media (max-width: 959px) {
  header#in-game #title, header#in-game #subtitle {
    display: block;
  }
}
header#in-game #subtitle {
  color: #7A7CD6;
}
@media (max-width: 450px) {
  header#in-game button, header#in-game .button {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
  }
}

button, .button {
  border-radius: 8px;
  font-family: "Belanosima", sans-serif;
  font-size: 1.3rem;
  color: white;
  padding: 0.5rem 2rem;
  display: inline-block;
}
button:hover, .button:hover {
  cursor: pointer;
}
button.mild, button.normal[disabled], .button.mild, .button.normal[disabled] {
  background-color: transparent;
  border: 2px solid white;
}
button.mild:hover:not([disabled]), button.normal[disabled]:hover:not([disabled]), .button.mild:hover:not([disabled]), .button.normal[disabled]:hover:not([disabled]) {
  background: white;
  color: black;
}
button[disabled], button[disabled], .button[disabled], .button[disabled] {
  opacity: 0.5;
}
button.spicy:not([disabled]), .button.spicy:not([disabled]) {
  background-color: #E74C66;
}

.light .button, .light button {
  color: black;
  border: 4px solid black;
}
.light .button:hover, .light button:hover {
  background: black;
  color: white;
}

.light {
  background: white;
  color: black;
}

.dark {
  background: black;
  color: white;
}

#character-form .button:not([disabled]) {
  background-color: #3621A3;
}

#character-form .button {
  background-color: yellow;
}

.landing .inner {
  max-width: 860px;
  margin: auto;
  padding: 30px;
}
.landing p {
  font-size: 1.4rem;
  line-height: 2rem;
}
.landing nav a {
  font-family: "Belanosima", sans-serif;
  font-size: 1.3rem;
  padding: 0 0.75rem;
}
.landing nav {
  padding: 1rem;
}
.landing h1 {
  text-align: center;
}
.landing .screenshots {
  padding-top: 2rem;
}
.landing .screenshots .gallery {
  max-width: 1600px;
  margin: auto;
}
.landing .hr {
  clear: both;
  width: 100%;
  display: block;
  margin: 4rem 0;
  opacity: 0.7;
}
.landing p a {
  color: lightblue;
  text-decoration: underline;
}

.hero {
  height: 50vw;
  max-height: 100vh;
  max-height: min(100vh, 750px);
  max-width: 1800px;
  margin: auto;
  background-image: url("https://f000.backblazeb2.com/file/magehand/home/desktop_hero.webp");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.join {
  text-align: center;
}

.join a {
  margin: 0.5rem;
  display: inline-block;
  font-size: 1.2rem;
}

@media (min-width: 700px) {
  .episode .details {
    position: absolute;
    left: 300px;
    top: 0;
    padding: 2rem;
  }
}
@media (max-width: 699px) {
  .episode img {
    margin: auto;
    display: block;
  }
  .episode .details {
    padding: 2rem 0;
  }
}
.episode img {
  width: 300px;
}
.episode .story-order-text {
  font-size: 1.6rem;
  margin: 0;
}
.episode .title {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 8px 0px;
  margin-bottom: 0;
}
.episode .author {
  margin-top: 0;
  font-size: 1rem;
}
.episode .teaser, .episode .summary, .episode .length {
  font-size: 1.2rem;
}
.episode .length {
  color: #3621A3;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.gallery img {
  margin: 10px;
  cursor: pointer;
  max-width: 300px;
  width: 50%;
  height: 50%;
  border-radius: 10px;
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
  z-index: 1;
}

#lightbox img {
  max-width: 80%;
  max-height: 70vh;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
}

#close-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 70px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* Style for navigation buttons */
#prev-btn,
#next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}

#prev-btn:hover,
#next-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Styles for thumbnails */
.thumbnail-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail {
  max-width: 50px;
  width: 100px;
  cursor: pointer;
  margin-top: 40px;
  margin-left: 5px;
  margin-right: 5px;
  border: 2px solid #fff;
  transition: opacity 0.3s;
}

.thumbnail:hover,
.thumbnail.active-thumbnail {
  opacity: 0.7;
}

.background-container {
  height: 50vw;
  max-height: 100vh;
  background-image: url("https://f000.backblazeb2.com/file/magehand/home/menu_background.webp");
  background-size: cover;
  padding-top: 35vh;
}

#main-menu {
  background-image: url(https://f000.backblazeb2.com/file/magehand/divider_up.png), url(https://f000.backblazeb2.com/file/magehand/divider_down.png);
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 2rem;
  font-family: "Belanosima", sans-serif;
  text-align: center;
  width: 400px;
  max-width: 100%;
  margin: auto;
  padding: 1em 0;
}
#main-menu a {
  display: block;
  padding: 0.6rem;
}
#main-menu a:hover {
  background: #3621A3;
  border-radius: 12px;
  transition: 0.5s;
}

#giant-title {
  font-family: "Megrim", sans-serif;
  font-size: 14vw;
  text-align: center;
  font-weight: normal;
}
#giant-title img {
  width: 60vw;
}

body.menu-screen, body.character-sheet {
  background-image: url("https://f000.backblazeb2.com/file/magehand/home/characters_bg_notext.webp");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.dim-lights {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

body.campaign {
  background: white;
  color: black;
}
body.campaign img#logo {
  width: 90%;
  max-width: 600px;
  margin: 2rem auto 1rem;
  display: block;
}
body.campaign main.stories {
  max-width: 1120px;
  margin: auto;
  margin-top: 3rem;
  padding: 0px 20px;
}
body.campaign main.stories .story {
  position: static;
}
body.campaign main.stories .story .preview {
  background: white;
}
body.campaign main.stories .story .preview .details {
  padding: 2rem;
}
body.campaign main.stories .story .preview img {
  width: 100%;
}
body.campaign main.stories .story .preview .story-order-text {
  font-size: 1.2rem;
  margin: 0;
}
body.campaign main.stories .story .preview .title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 8px 0px;
}
body.campaign main.stories .story .preview .author {
  margin-top: 0;
}
body.campaign main.stories .story .preview .teaser, body.campaign main.stories .story .preview .summary {
  line-height: 1.4rem;
  font-size: 0.9rem;
}
body.campaign main.stories .story.selected .selector::after {
  content: "";
  border-top: 20px solid black;
  rotate: 90deg;
  position: absolute;
  top: 0;
  right: 0;
  border-right: 20px solid transparent;
}
@media (max-width: 767px) {
  body.campaign main.stories .story .preview {
    width: 100vw;
    left: 100vw;
    position: fixed;
    transition: 0.5s;
  }
  body.campaign main.stories .story.mobile-selected .preview {
    left: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body.campaign main.stories {
    width: 768px;
  }
  body.campaign .story .preview img, body.campaign .story .preview .details {
    width: 400px;
  }
}
@media (min-width: 768px) {
  body.campaign main.stories .story .selector {
    width: 320px;
  }
  body.campaign main.stories .story .preview {
    display: none;
    position: absolute;
    left: 370px;
  }
  body.campaign main.stories .story.selected .preview {
    display: block;
  }
  body.campaign main.stories .story .deselect {
    display: none;
  }
}
@media (min-width: 1200px) {
  body.campaign main.stories .story .preview img {
    width: 400px;
  }
  body.campaign main.stories .story .preview .details {
    position: absolute;
    left: 400px;
    width: 350px;
  }
}
body.campaign .selector {
  cursor: pointer;
  display: flex;
  border: 2px solid #777;
  margin-bottom: 1rem;
}
body.campaign .selector img {
  width: 75px;
}
body.campaign .selector .details {
  padding: 0.5rem;
}
body.campaign .selector p.story-order-text {
  font-size: 0.7rem;
  margin-bottom: 0;
}
body.campaign .selector p.title {
  margin-top: 0.2rem;
  font-weight: bold;
}
body.campaign .preview .button.go {
  background: #695ECB;
  border-radius: 20px;
}
body.campaign .preview .deselect {
  color: black;
  background: none;
  border: 1px solid black;
  border-radius: 20px;
  margin-left: 1rem;
}

.story.selected .selector {
  border: 2px solid black;
  outline: 1px solid black;
}
.story.selected:first-child .selector {
  background: #f1eee8;
}
.story.selected:nth-child(2) .selector {
  background: #c9dbf2;
}
.story.selected:nth-child(3) .selector {
  background: #dfd0d0;
}
.story.selected:nth-child(4) .selector {
  background: #d9eae0;
}
.story.selected .preview {
  display: block;
  z-index: 1;
  top: 0;
}
@media (max-width: 767px) {
  .story.selected .preview {
    min-height: 100vh;
    left: 0;
  }
}

#all-stories {
  background: #2F2A48;
  padding: 1rem;
}
#all-stories li {
  margin: 1rem;
}

@media (min-width: 700px) {
  body.closeup #content-wrapper #outer-box {
    width: 600px;
    position: absolute;
    top: 0;
    right: 0;
    max-width: 66%;
  }
  body.closeup #content-wrapper #closeup-image {
    height: 100vh;
    height: calc(100vh - 50px);
    width: 66%;
    position: fixed;
    background-position: bottom left;
    background-repeat: no-repeat;
    bottom: 0;
    z-index: -1;
    background-size: contain;
  }
}

@media (min-width: 700px) {
  a.back {
    display: none;
  }
  #story-container, #choices-container {
    padding: 2.5rem 3.5rem;
  }
  #choices-container {
    padding-top: 0;
  }
  #outer-box {
    margin: 50px auto;
    border-radius: 12px;
    border: 8px solid black;
    background-color: rgba(0, 0, 0, 0.7);
  }
  #outer-box header {
    background: #1a1a1a;
    border-radius: 6px 6px 0px 0px;
  }
}
@media (max-width: 699px) {
  #outer-box {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    border: 0;
  }
  #outer-box header {
    background: black;
  }
  main {
    padding: 0;
  }
  #story-container, #choices-container {
    padding: 0px 20px;
  }
  header#primary {
    display: none;
  }
  #outer-box header {
    background: black;
  }
  a.back {
    width: 45px;
    background-image: url(../images/back.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
  }
  body.closeup #choices-container {
    background-position: bottom left;
    background-size: 120vw;
    padding-bottom: 170vw;
    background-repeat: no-repeat;
  }
  body.closeup #choices-container button {
    background: rgba(0, 0, 0, 0.5);
  }
  body.closeup.muriel #choices-container {
    background-image: url(../images/nix_left.png);
    background-size: 170vw;
    background-position: bottom left -30px;
  }
  body.closeup.nora #choices-container {
    background-image: url(../images/nora.png);
  }
}
body {
  transition: background 2s;
}

body.cosmic {
  background-image: url(https://f000.backblazeb2.com/file/magehand/home/abstract.webp);
}

body.coast {
  background-image: url(https://f000.backblazeb2.com/file/magehand/coast.webp);
}

body.gloam_lake {
  background-image: url(https://f000.backblazeb2.com/file/magehand/gloam_lake.webp);
}

body.gloam_lake_village {
  background-image: url(https://f000.backblazeb2.com/file/magehand/gloam_lake_village.webp);
}

body.gloam_lake_village_dark {
  background-image: url(https://f000.backblazeb2.com/file/magehand/gloam_lake_village_dark.webp);
}

body.grotto_dungeon {
  background-image: url(https://f000.backblazeb2.com/file/magehand/grotto.webp);
}

body.mural {
  background-image: url(https://f000.backblazeb2.com/file/magehand/mural.webp);
}

body.bedroom {
  background-image: url(https://f000.backblazeb2.com/file/magehand/bedroom.webp);
}

body.earth_chamber {
  background-image: url(https://f000.backblazeb2.com/file/magehand/earth_chamber.webp);
}

body.sky_chamber {
  background-image: url(https://f000.backblazeb2.com/file/magehand/sky_chamber.webp);
}

body.chapel {
  background-image: url(https://f000.backblazeb2.com/file/magehand/chapel.webp);
}

body.stranger {
  background-image: url(https://f000.backblazeb2.com/file/magehand/stranger.webp);
}

body.black {
  background: black;
}

body.dunes {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/dunes.webp);
}

body.amloth_spring {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/amloth_spring.webp);
}

body.amloth_summer {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/amloth_summer.webp);
}

body.amloth_fall {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/amloth_fall.webp);
}

body.amloth_winter {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/amloth_winter.webp);
}

body.amloth_summerday {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/amloth_summerday.webp);
}

body.zenith_market {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/zenith_market.webp);
}

body.staircase {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/staircase.webp);
}

body.arc_of_heaven {
  background-image: url(https://f000.backblazeb2.com/file/magehand/prologue/arc_of_heaven.webp);
}

body.closeup.muriel #closeup-image {
  background-image: url(../images/nix_left.png);
}

body.closeup #content-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: auto;
  background-repeat: no-repeat;
  height: 100vh;
  height: calc(100vh - 50px);
}

body.closeup.nora #closeup-image {
  background-image: url(../images/nora.png);
  background-size: 800px;
}

body.closeup.muriel_shadow {
  background-image: url(../images/nix_shadow.png);
  background-size: 100%;
  background-position: top left;
}

#outer-box {
  width: 100%;
  max-width: 700px;
  overflow-x: hidden;
}
#outer-box img {
  max-width: 100%;
}
#outer-box p {
  margin: 15px 0px;
  font-size: 1.2rem;
  line-height: 1.4;
}
#outer-box blockquote span {
  font-size: 1.2rem;
  line-height: 1.4;
  min-width: 14rem;
}
#outer-box #story-container h1 {
  font-family: "Megrim", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin: 20px;
}
#outer-box #story-container h2 {
  text-align: center;
}
#outer-box header, #outer-box header nav, #outer-box header nav a {
  height: 75px;
}
#outer-box header {
  z-index: 2;
  position: relative;
  padding: 0;
  display: flex;
}
#outer-box header h1 {
  font-size: 1.3rem;
}
#outer-box header h2 {
  font-size: 1rem;
  color: #bfbfbf;
  margin-top: 2px;
}
#outer-box header hgroup {
  padding: 15px;
}
#outer-box nav {
  position: absolute;
  right: 0;
  display: flex;
  align-items: stretch;
}
#outer-box nav a {
  width: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  opacity: 0.8;
}
#outer-box nav a span {
  display: block;
  text-align: center;
  padding-top: 49px;
  font-size: 0.8rem;
}
#outer-box nav a:hover, #outer-box nav a.current {
  opacity: 1;
}
#outer-box nav a.current {
  border-bottom: 3px solid #1691BF;
  color: #1691BF;
  font-weight: bold;
}
#outer-box nav a.status {
  background-image: url(../images/spellbook.png);
}
#outer-box nav a.return {
  background-image: url(../images/return.png);
}

blockquote {
  margin: 4rem 0 3rem;
  position: relative;
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: 15px center;
  line-height: 23px;
}
blockquote.Muriel, blockquote.Nora, blockquote.Girl {
  margin: 10px 0px;
  display: flex;
  align-items: flex-end;
}
blockquote.Muriel span, blockquote.Nora span, blockquote.Girl span {
  padding-right: 233px;
  align-self: flex-end;
  width: 100%;
}
blockquote.Muriel span::after, blockquote.Nora span::after, blockquote.Girl span::after {
  width: 300px;
  height: 233px;
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: -70px;
  bottom: -1px;
  content: " ";
}
blockquote.Muriel.Nora span::after, blockquote.Nora.Nora span::after, blockquote.Girl.Nora span::after {
  right: -40px;
}
@media (min-width: 700px) {
  blockquote.Muriel, blockquote.Nora, blockquote.Girl {
    min-height: 240px;
  }
}
@media (max-width: 699px) {
  blockquote.Muriel, blockquote.Nora, blockquote.Girl {
    margin-top: 260px;
  }
  blockquote.Muriel span, blockquote.Nora span, blockquote.Girl span {
    padding-right: 15px;
  }
  blockquote.Muriel span::after, blockquote.Nora span::after, blockquote.Girl span::after {
    bottom: 100%;
  }
}
blockquote.Muriel ~ .Muriel, blockquote.Nora ~ .Nora, blockquote.Girl ~ .Girl {
  margin: 55px 0px 40px 0px;
  min-height: 0;
}
blockquote.Muriel ~ .Muriel span::after, blockquote.Nora ~ .Nora span::after, blockquote.Girl ~ .Girl span::after {
  display: none;
}
blockquote.Muriel ~ .Muriel span, blockquote.Nora ~ .Nora span, blockquote.Girl ~ .Girl span {
  padding-right: 15px;
  width: auto;
}
blockquote span {
  margin: 10px 0px;
  padding: 15px;
  border-radius: 10px;
  display: inline-block;
  position: relative;
  margin: 0;
  background-color: #4e4e4e;
}
blockquote span::before {
  display: block;
  font-weight: bold;
  position: absolute;
  top: -30px;
  z-index: 1;
}
blockquote.Literary {
  font-family: "Fondamento", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  background-color: transparent;
  color: lightgoldenrodyellow;
}
blockquote.Girl span::before {
  content: "Pallid Girl";
}
blockquote.Fisherman span::before {
  content: "Fisherman";
}
blockquote.Voice span::before {
  content: "Voice Behind the Wall";
}
blockquote.Voice span {
  background-color: #272331;
}
blockquote.Muriel span::before {
  content: "Muriel";
}
blockquote.Santiago span::before {
  content: "Santiago";
}
blockquote.Girl span, blockquote.Muriel span {
  background-color: #31646E;
}
blockquote.Girl span::after, blockquote.Muriel span::after {
  background-image: url("../images/muriel_quote.png");
}
blockquote.Silas span::before {
  content: "Corpse of Silas";
}
blockquote.Silas span {
  background: black;
}
blockquote.Perception {
  margin: 2rem 0;
}
blockquote.Perception span {
  color: #fffa82;
  background: transparent;
  padding: 0;
}
blockquote.Alius span::before {
  content: "Alius";
}
blockquote.Scoria span::before {
  content: "Scoria";
}
blockquote.Ashmoor span::before {
  content: "Ashmoor";
}
blockquote.Tiefling span::before {
  content: "Tiefling";
}
blockquote.Sigwig span::before {
  content: "Sigwig";
}
blockquote.Goblin span::before {
  content: "Goblin";
}
blockquote.Dagan span::before {
  content: "Dagan-Kai";
}
blockquote.Dagan + blockquote.Dagan span::before {
  content: none;
}
blockquote.Aisling span::before {
  content: "Aisling";
}
blockquote.Alice span::before {
  content: "Alice";
}
blockquote.Bob span::before {
  content: "Bob";
}
blockquote.Gob span::before {
  content: "Edgy Goblin Boy";
}
blockquote.Helf span::before {
  content: "Cutesy Half-Elf Girl";
}
blockquote.Pilgrim span::before {
  content: "Lost Pilgrim";
}
blockquote.Greg span::before {
  content: "Gregory";
}
blockquote.xGreg span::before {
  content: "Athletic Prettyboy";
}
blockquote.xxGreg span::before {
  content: "???";
}
blockquote.Runy span::before {
  content: "Amrunelara";
}
blockquote.xRuny span::before {
  content: "Gloomy Elf Girl";
}
blockquote.xxRuny span::before {
  content: "???";
}
blockquote.xAisling span::before {
  content: "Norian Woman";
}
blockquote.xDagan span::before {
  content: "Coldblood Man";
}
blockquote.Luthias span::before {
  content: "Luthias";
}
blockquote.Keya span::before {
  content: "Keya";
}
blockquote.Bragi span::before {
  content: "Bragi";
}
blockquote.Einar span::before {
  content: "Einar";
}
blockquote.Dwarf span::before {
  content: "Dwarf";
}
blockquote.Goza span::before {
  content: "Goza";
}
blockquote.FancyElf span::before {
  content: "Fancy Elf";
}
blockquote.DrunkBeggar span::before {
  content: "Drunk Beggar";
}
blockquote.CK span::before {
  content: "Common Knowledge";
}
blockquote.Runy span, blockquote.xRuny span, blockquote.xxRuny span {
  background-color: rgb(17, 100, 51);
}
blockquote.Scoria span, blockquote.Tiefling span {
  background-color: #8f283c;
}
blockquote.Sigwig span, blockquote.Goblin span {
  background-color: #58582e;
}
blockquote.Dagan span {
  background-color: #243c4b;
}
blockquote.Aisling span {
  background-color: #696643;
}
blockquote.Debug span::before {
  content: "Debug Info";
  color: orange;
}
blockquote.Debug span {
  border: 1px dashed orange;
  background: rgba(139, 94, 62, 0.5);
}
blockquote.Stalker span::before {
  content: "Faceless Corpse";
}
blockquote.Stalker span {
  background: black;
}
blockquote.Nora span::before {
  content: "Nora";
}
blockquote.Nora span {
  background-color: #6F3B3E;
}
blockquote.Nora span::after {
  background-image: url("../images/nora_quote.png");
}
blockquote.Cordelia span::before {
  content: "Cordelia";
}
blockquote.Cordelia span {
  background-color: #594060;
}
blockquote.Unknown span::before {
  content: "???";
}
blockquote.Pigeon span::before {
  content: "Pigeon";
}
blockquote.Unknown span, blockquote.Pigeon span {
  background-color: black;
  border: 2px solid #775877;
}
blockquote.You span {
  background: white;
  color: black;
}
blockquote.You span::before {
  content: "You";
  color: white;
}
blockquote.Info, blockquote.Good, blockquote.Bad, blockquote.Great, blockquote.Awful, blockquote.Insight, blockquote.Do {
  padding-left: 15px;
  min-height: 0;
  text-align: center;
  color: black;
  border-radius: 8px;
  font-weight: bold;
}
blockquote.Info span, blockquote.Good span, blockquote.Bad span, blockquote.Great span, blockquote.Awful span, blockquote.Insight span, blockquote.Do span {
  background: transparent;
}
blockquote.Bad, blockquote.Awful {
  background: pink;
}
blockquote.Good, blockquote.Great {
  background: #a8e4c0;
}
blockquote.Info {
  background: rgb(255, 241, 161);
}
blockquote.Do {
  background: rgb(131, 131, 131);
  color: black;
}
blockquote.Insight {
  background: rgb(136, 112, 225);
}
blockquote.Todo span {
  background: gold;
  color: black;
}
blockquote.Todo span::before {
  content: "To Do";
  color: white;
}
blockquote.Stat, blockquote.Goodstat, blockquote.Badstat {
  background: none;
  margin: 0;
  text-align: left;
  border-bottom: 2px solid white;
}
blockquote.Stat span, blockquote.Goodstat span, blockquote.Badstat span {
  background: none;
}
blockquote.Stat {
  color: white;
  border-radius: 0;
}
blockquote.Goodstat {
  color: #a8e4c0;
}
blockquote.Badstat {
  color: pink;
}

#story-container *, #choices-container button {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.5s;
}

#choices-container::before, #choices-container::after {
  content: "";
  height: 28px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 3px 0px;
}
#choices-container::before {
  background-image: url(../images/divider_down.png);
  margin: 40px 0px;
}
#choices-container button, #choices-container .button {
  width: auto;
  display: block;
  margin: 1rem 0;
  font-family: "Quattrocento", serif;
  background-color: transparent;
  border: 2px solid white;
  text-align: left;
}
#choices-container button:hover, #choices-container .button:hover {
  background: white;
  color: black;
}
#choices-container button.space-below {
  margin-bottom: 3rem;
}
#choices-container button.morai {
  color: aqua;
  border-color: aqua;
}
#choices-container button.morai:hover {
  background: aqua;
  color: black;
}
#choices-container button.human::after {
  content: "+1 Faith";
}
#choices-container button.elf::after {
  content: "+1 Agility, -1 Strength";
}
#choices-container button.dwarf::after {
  content: "+1 Strength, -1 Agility";
}
#choices-container button.servitor::after {
  content: "+1 Intelligence, -1 Charisma";
}
#choices-container button.demon::after {
  content: "+1 Charisma, -1 Faith";
}
#choices-container button::after {
  font-size: 1rem;
  color: gray;
  display: block;
  margin-top: 4px;
}

body.closeup.muriel blockquote.Muriel, body.closeup.muriel blockquote.Girl, body.closeup.nora blockquote.Nora {
  margin: 55px 0px 40px 0px;
  min-height: 0;
}
body.closeup.muriel blockquote.Muriel span::after, body.closeup.muriel blockquote.Girl span::after, body.closeup.nora blockquote.Nora span::after {
  display: none;
}
body.closeup.muriel blockquote.Muriel span, body.closeup.muriel blockquote.Girl span, body.closeup.nora blockquote.Nora span {
  padding-right: 15px;
}

body.dark_woods {
  background-image: url(https://f000.backblazeb2.com/file/magehand/bodenforst/dark_woods.webp);
}

body.dark_woods2 {
  background-image: url(https://f000.backblazeb2.com/file/magehand/bodenforst/dark_woods2.webp);
}

body.cabin_inside {
  background-image: url(https://f000.backblazeb2.com/file/magehand/bodenforst/cabin_inside.webp);
}

blockquote.Caverly span {
  background-color: #143258;
}

blockquote.Perrault span {
  background-color: #362d24;
}

blockquote.Balanis span {
  background-color: #445844;
}

blockquote.Molly span, blockquote.MollyNameless span {
  background-color: #f8df6f;
  color: black;
}
blockquote.Molly span::before, blockquote.MollyNameless span::before {
  color: white;
}

blockquote.Beast span {
  background-color: black;
  color: red;
  font-family: "Trade Winds";
  border: 1px solid crimson;
}
blockquote.Beast span::before {
  color: white;
  font-family: "Quattrocento", serif;
}

blockquote.Anabelle span {
  background: #de4747;
}
blockquote.Anabelle span::before {
  content: "Anabelle";
}

blockquote.Balanis span::before {
  content: "Balanis";
}
blockquote.Noggle span::before {
  content: "Noggle";
}
blockquote.Perrault span::before {
  content: "Perrault";
}
blockquote.Molly span::before {
  content: "Molly";
}
blockquote.MollyNameless span::before {
  content: "Shy Kid";
}
blockquote.Caverly span::before {
  content: "Caverly";
}
blockquote.Caverly span::before {
  content: "Caverly";
}
blockquote.Ghost span::before {
  content: "Ghost";
}
blockquote.Beast span::before {
  content: "Ominous Creature";
}
blockquote.PerraultNameless span::before {
  content: "Forest Hunter";
}

#dice-box {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  z-index: 3;
}
#dice-box .canvas-wrapper {
  position: relative;
}
#dice-box .result {
  font-size: 8rem;
  color: black;
  font-weight: bold;
  text-shadow: 0 0 2px white;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
#dice-box header {
  background: white;
  color: black;
  font-size: 2.35rem;
  text-align: center;
  display: block;
  padding-top: 30px;
}

#dice-box .content {
  border-radius: 7px;
  background: white;
  border: 2px solid black;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  max-width: 95%;
  max-height: 95%;
  width: 550px;
  height: 690px;
  margin: auto;
}
#dice-box .content section {
  padding: 30px;
}
#dice-box .content #canvas {
  border: 6px solid #c9d7e2;
  border-radius: 8px;
  width: 100%;
  margin: auto;
  height: 375px;
  width: 425px;
  max-width: 100%;
  max-height: 80vw;
  max-height: calc(100vh - 340px);
  margin-top: 30px;
  margin-bottom: 30px;
}
#dice-box .content .numbers {
  color: black;
  display: flex;
}
#dice-box .content .numbers span {
  display: block;
}
#dice-box .content .numbers .dc, #dice-box .content .numbers .stat {
  width: 50%;
  text-align: center;
}
#dice-box .content .numbers .label {
  font-size: 1.3rem;
}
#dice-box .content .numbers .number {
  font-size: 2rem;
  font-weight: bold;
}
#dice-box .content .button-area {
  text-align: center;
}
#dice-box .content button#roll-result {
  width: 200px;
  font-size: 1.4rem;
  padding: 15px 40px;
  display: inline-block;
  border-radius: 8px;
  transition: background 0.4s;
}
#dice-box .content button#roll-result, #dice-box .content button#roll-result.roll {
  background: #7081ce;
}
#dice-box .content button#roll-result.rolling {
  background: #efefef;
}
#dice-box .content button#roll-result.success, #dice-box .content button#roll-result.crit {
  background: #7fac61;
}
#dice-box .content button#roll-result.failure, #dice-box .content button#roll-result.fumble {
  background: #e892a6;
}

body.save_load {
  background-image: url("https://f000.backblazeb2.com/file/magehand/home/characters_bg_notext.webp");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
}
body.save_load h1 {
  text-align: center;
  font-family: "Megrim", sans-serif;
  margin-top: 5rem;
  font-size: 3rem;
}

.save-slots {
  width: 550px;
  max-width: 100%;
  background: black;
  border-radius: 12px;
  margin: auto;
  padding: 1em;
}
.save-slots ol {
  background-image: url(https://f000.backblazeb2.com/file/magehand/divider_up.png), url(https://f000.backblazeb2.com/file/magehand/divider_down.png);
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 2rem 0;
}
.save-slots .slot {
  display: block;
  background: #2F2A48;
  border-radius: 12px;
  margin: 10px 0px;
  padding: 1rem;
}
.save-slots .slot .name {
  font-family: "Belanosima", sans-serif;
  font-size: 2rem;
}
.save-slots .slot:hover {
  background: #3621A3;
  transition: 0.2s;
}
.save-slots h2 {
  font-size: 2rem;
}
.save-slots h3 {
  font-size: 1.25rem;
  opacity: 0.75;
}
.save-slots h4 {
  font-size: 1rem;
  opacity: 0.4;
  margin: 3px 0px;
}
.save-slots .delete {
  all: unset;
  cursor: pointer;
  position: absolute;
  font-size: 2rem;
  right: 8px;
  z-index: 2;
}
.save-slots li {
  list-style-type: none;
}
.save-slots .delete:hover + .slot {
  color: rgba(255, 255, 255, 0.5);
  background-color: #E74C66;
}
.save-slots .delete:hover + .slot h2, .save-slots .delete:hover + .slot h3 {
  text-decoration: line-through;
}
.save-slots .action-buttons {
  text-align: center;
}
.save-slots .action-buttons .button, .save-slots .action-buttons button {
  margin: 1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.save .save-slots label {
  display: block;
  padding: 1rem;
  cursor: pointer;
}
.save .save-slots input[type=radio] {
  visibility: hidden;
  position: absolute;
}
.save .save-slots input:checked + label.slot {
  opacity: 1;
  background: white;
  color: black;
}
.save .save-slots .empty .name {
  opacity: 0.5;
}

main.status-screen {
  max-width: 1200px;
  margin: auto;
}
main.status-screen .status {
  background: #010626;
}
main.status-screen .inventory {
  background: #3621A3;
}
main.status-screen .profile {
  background: white;
  color: black;
}
main.status-screen h1 {
  font-size: 5rem;
  margin: 1rem auto;
}
@media (max-width: 1199px) {
  main.status-screen h1 {
    font-size: 2rem;
    text-align: center;
  }
}
main.status-screen .hp {
  font-size: 2rem;
  color: pink;
}
main.status-screen .money {
  font-size: 1.5rem;
  color: gold;
}
main.status-screen .insight {
  font-size: 1.5rem;
  color: lavender;
}
main.status-screen .traits li span.inner, main.status-screen .stats li span.inner {
  background: #E3E3E3;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.4rem;
  padding-right: 2rem;
  border-radius: 0 0.4rem 0.4rem 0;
}
main.status-screen .traits li span, main.status-screen .stats li span {
  display: inline-block;
}
main.status-screen .traits .trait, main.status-screen .stats .trait {
  margin-right: 0.5rem;
}
main.status-screen .traits .value, main.status-screen .stats .value {
  font-family: "Belanosima", sans-serif;
  text-transform: capitalize;
}

@media (min-width: 1200px) {
  .character-sheet-sections {
    display: flex;
    justify-content: space-between;
  }
  .character-sheet-sections section {
    width: 32%;
  }
}
.character-sheet-sections section {
  max-width: 600px;
  border-radius: 1rem;
  padding: 2rem 3rem;
  border: 0.5rem solid black;
}
@media (max-width: 1199px) {
  .character-sheet-sections section {
    margin: auto;
  }
}
.character-sheet-sections h2 {
  font-size: 2.3rem;
}

#character-form label {
  font-family: "Belanosima", sans-serif;
  font-size: 1.5rem;
}
#character-form input.name {
  font-family: "Belanosima", sans-serif;
  font-size: 2rem;
  border: 3px solid white;
  padding: 1rem;
}

.inventory h2 {
  margin-bottom: 1.5rem;
}

.inventory li {
  list-style-type: none;
  border: 1px solid white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.inventory li p {
  margin: 0;
}
.inventory li h3 {
  margin: 0;
}

section.debug {
  background: #323932;
  color: #88ff7d;
  max-width: 600px;
  border-radius: 2rem;
  padding: 2rem;
  margin: auto;
  margin-top: 2rem;
}
section.debug h2 {
  font-family: monospace;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
section.debug p {
  color: rgb(189, 139, 46);
  padding-left: 1rem;
  font-family: monospace;
}

body {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.debug, .Debug {
  display: none !important;
}

ul.inventory li, ul.memories li {
  padding: 15px 20px;
  border: 2px solid black;
  border-radius: 5px;
  margin-bottom: 10px;
}
ul.inventory li p, ul.memories li p {
  margin: 0;
}
ul.inventory li p + p, ul.memories li p + p {
  margin-top: 15px;
}

ul, ol {
  margin-left: 0;
  padding-left: 0;
  list-style-type: none;
}

ul.text {
  list-style-type: circle;
  list-style-position: outside;
  margin-left: 15px;
  font-size: 1.5rem;
}
ul.text li {
  display: list-item;
  margin: 1rem;
  line-height: 2rem;
}

a.text {
  text-decoration: underline;
}

ul.characters {
  max-width: 550px;
}
ul.characters .name {
  display: block;
  font-size: 2rem;
}
ul.characters .date {
  font-size: 0.7rem;
}
ul.characters li {
  border: 2px solid white;
  border-radius: 4px;
  padding: 10px 20px;
  margin: 10px auto;
  position: relative;
  background: rgba(0, 0, 0, 0.7);
}
ul.characters .delete {
  position: absolute;
  right: 20px;
  top: 30px;
}

input[type=text], input[type=password] {
  color: white;
  background: none;
  border: 1px solid white;
  font-size: 1.5rem;
  border-radius: 4px;
  display: block;
  margin-bottom: 15px;
  padding: 10px;
}

.mailing-list label {
  display: block;
  margin: 8px 0px;
}
.mailing-list input {
  float: left;
}
.mailing-list p {
  margin-bottom: 20px;
  font-size: 1.2rem !important;
}

a#survey {
  margin: 15px;
  vertical-align: 2px;
}
a#survey:hover {
  color: #1691BF;
}

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