/* Colours */
/* Typography */
/* Dimensions */
/* Gaps */
body {
  user-select: none;
  font-family: ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
/*********************/
/*    GAME STYLES    */
/*********************/
#gameContainer {
  position: absolute;
}
#game {
  width: 640px;
  height: 480px;
  background: #1a1a1a;
}
.gamelayer {
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
}
.default-game-background {
  width: 100%;
  height: 100%;
  background-image: url("../_imgs/radio-station.jpg");
  background-size: cover;
}
.default-end-game-background {
  width: 100%;
  height: 100%;
  background-color: black;
  background-image: url("../_imgs/end-background.png");
  background-size: cover;
  animation: end-color-change 60s infinite;
  animation-delay: 1s;
}
/***** BUTTONS ******/
.button-next {
  background-color: #3dd1e7;
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
  color: #1a1a1a;
  display: flex;
  font-family: ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.8rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.75rem;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none #1a1a1a solid;
  text-decoration-thickness: auto;
  width: max-content;
  max-width: 460px;
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.button-next.active {
  background-color: #2d8eff;
}
.button-next.positive {
  background-color: #13ce66;
}
.button-next.negative {
  background-color: #ff4949;
}
.button-next.warning {
  background-color: #ffcc3d;
}
.button-next:after {
  content: '';
  position: absolute;
  border: 1px solid #1a1a1a;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}
.button-next:hover:after {
  bottom: 2px;
  left: 2px;
}
.button-next:focus {
  outline: 0;
}
.button-next.bottom-right {
  position: absolute;
  right: -5px;
  bottom: -20px;
}
.button-next:disabled {
  background-color: grey;
}
.button-next:disabled:hover:after {
  bottom: 4px;
  left: 4px;
}
.next-caller {
  position: absolute;
  right: 50px;
  bottom: -50px;
}
.broadcast-button {
  padding: 0 10px;
  margin-top: 20px;
}
/* TODO: (Medium) Refactor. This was a cheat to add the Skip Song label on the button */
#skipSongNextCallerButton em {
  font-size: 10px;
  margin-left: 3px;
}
/******************/
/* Loading Screen */
/******************/
#loadingScreen {
  background-color: #cb80ab;
}
/* Credits: https://css-loaders.com/classic/ */
.loader.normal {
  font-weight: bold;
  font-family: monospace;
  white-space: pre;
}
.loader.normal:before {
  content: "Loading...";
  animation: loader-normal-anim 1s infinite alternate;
}
/* Loader glitches - First anomaly */
.loader.glitch {
  font-weight: bold;
  font-family: monospace;
  display: inline-grid;
}
.loader.glitch:before,
.loader.glitch:after {
  content: "Loading...";
  grid-area: 1/1;
  mask-size: 2ch 100%,100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: l37 1s infinite;
}
.loader.glitch:before {
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
}
.loader.glitch:after {
  mask-image: linear-gradient(#000 0 0);
  transform: scaleY(0.5);
}
/* Loader glitches more */
.loader.glitch-2 {
  font-weight: bold;
  font-family: monospace;
  display: inline-grid;
}
.loader.glitch-2:before,
.loader.glitch-2:after {
  content: "Loading...";
  grid-area: 1/1;
  mask-size: 100% 5px,100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: l35-1 1s infinite;
}
.loader.glitch-2:before {
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
}
.loader.glitch-2:after {
  mask-image: linear-gradient(#000 0 0);
  animation: l35-1 1s infinite, l35-2 0.2s infinite cubic-bezier(0.5, 200, 0.5, -200);
}
@keyframes l35-1 {
  0% {
    -webkit-mask-position: 0 20px, 0 0;
  }
  20% {
    -webkit-mask-position: 0 8px, 0 0;
  }
  40% {
    -webkit-mask-position: 0 100%, 0 0;
  }
  60% {
    -webkit-mask-position: 0 3px, 0 0;
  }
  80% {
    -webkit-mask-position: 0 15px, 0 0;
  }
  100% {
    -webkit-mask-position: 0 0, 0 0;
  }
}
@keyframes l35-2 {
  100% {
    transform: translate(0.1px);
  }
}
@keyframes l37 {
  0% {
    -webkit-mask-position: 1ch 0, 0 0;
  }
  12.5% {
    -webkit-mask-position: 100% 0, 0 0;
  }
  25% {
    -webkit-mask-position: 4ch 0, 0 0;
  }
  37.5% {
    -webkit-mask-position: 8ch 0, 0 0;
  }
  50% {
    -webkit-mask-position: 2ch 0, 0 0;
  }
  62.5% {
    -webkit-mask-position: 100% 0, 0 0;
  }
  75% {
    -webkit-mask-position: 0ch 0, 0 0;
  }
  87.5% {
    -webkit-mask-position: 6ch 0, 0 0;
  }
  100% {
    -webkit-mask-position: 3ch 0, 0 0;
  }
}
/* Loader jumps all over */
.loader.fidget {
  font-weight: bold;
  font-family: monospace;
  animation: l25 1s infinite;
}
.loader.fidget::before {
  content: "Loading...";
}
@keyframes l25 {
  0%,
  12.5% {
    transform: translate(10px, 0);
  }
  13%,
  25% {
    transform: translate(4px, -4px);
  }
  26%,
  37.5% {
    transform: translate(2px, 8px);
  }
  38%,
  50% {
    transform: translate(12px, -6px);
  }
  51%,
  62.5% {
    transform: translate(0, 12px);
  }
  63%,
  75% {
    transform: translate(-8px, -4px);
  }
  76%,
  86.5% {
    transform: translate(-12px, 6px);
  }
  87%,
  100% {
    transform: translate(6px, 0);
  }
}
/* Letters in loader are scrambled */
.loader.scramble {
  font-weight: bold;
  font-family: monospace;
  white-space: pre;
  line-height: 1.2em;
  height: 1.2em;
  overflow: hidden;
}
.loader.scramble:before {
  content: "Loading...\AgodnLai...\Aoiaglni...\ALiongad...\Agindola...\Analoidg...";
  white-space: pre;
  display: inline-block;
  animation: l38 1s infinite steps(6);
}
@keyframes l38 {
  100% {
    transform: translateY(-100%);
  }
}
/* Final Loading - Displays foreign symbols before going back to normal */
.loader.foreign {
  font-weight: bold;
  font-family: monospace;
  white-space: pre;
  line-height: 1.2em;
  height: 1.2em;
  overflow: hidden;
}
.loader.foreign:before {
  content: "Loading...\A⌰oading...\A⌰⍜ading...\A⌰⍜⏃ding...\A⌰⍜⏃⎅ing...\A⌰⍜⏃⎅⟟ng...\A⌰⍜⏃⎅⟟⋏g...\A⌰⍜⏃⎅⟟⋏☌...\A⌰⍜⏃⎅⟟⋏☌⟒..\A⌰⍜⏃⎅⟟⋏☌⟒⏁.\A⌰⍜⏃⎅⟟⋏☌⟒⏁⋔";
  white-space: pre;
  display: inline-block;
  animation: l39 1s infinite steps(11) alternate;
}
@keyframes l39 {
  100% {
    transform: translateY(-100%);
  }
}
.loader {
  margin-top: calc(480px - 50px);
  width: 100%;
  font-size: 30px;
  text-align: center;
  color: #f8ee85;
}
/******************/
/* Splash Screen */
/******************/
/* TODO: (High) */
/***********************/
/*  Main Menu Screen   */
/***********************/
/* TODO: (High) */
.blurred-bg {
  position: absolute;
  width: 640px;
  height: 480px;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 0;
}
.blurred-bg.blur-50 {
  background-color: rgba(0, 0, 0, 0.5);
}
.contemplate-bg {
  position: absolute;
  width: 640px;
  height: 480px;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 0;
  animation: darken-bg 5s forwards;
  animation-delay: 0.3;
}
.fading-out {
  animation: fading-out 5s forwards;
}
.main-menu-container {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}
.game-title {
  margin-top: 100px;
  font-weight: 700;
  font-size: 2em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.neon {
  color: #fff;
}
.neon.blue {
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 40px #0ff, 0 0 80px #0ff, 0 0 90px #0ff, 0 0 100px #0ff, 0 0 150px #0ff;
}
.neon span {
  animation: flicker 500ms linear;
}
.neon .delay1 {
  animation-delay: 0.8s;
}
.neon .delay2 {
  animation-delay: 1.4s;
}
.neon .delay3 {
  animation-delay: 1.8s;
}
@keyframes flicker {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fading-out {
  to {
    opacity: 0;
  }
}
.main-menu {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
}
.main-menu .button-next {
  margin: 10px auto;
}
.main-menu .button-next::after {
  border-color: #fff;
}
/***********************/
/*  Game Scene Screen   */
/***********************/
#gameSceneContainerBox {
  width: 80%;
  height: 100px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#gameSceneBox {
  padding: 0;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
#gameSceneBox .message {
  max-width: 90%;
  text-align: center;
}
#gameSceneBox .speaker-card {
  position: absolute;
  top: -20px;
  left: -20px;
  padding: 5px 10px;
  background: #fff;
  transform: rotate(-2deg);
  color: #1a1a1a;
}
/************************/
/*  Choose Music Screen */
/************************/
.choose-music-container {
  position: relative;
}
/* Credits: https://codepen.io/jenning/pen/JjoGKgE */
/*  Jenning (jenning) */
.carousel {
  margin: 100px auto;
  width: 50%;
  height: 200px;
  position: relative;
  background-color: #624e88;
  box-shadow: 20px 20px #cb80ab;
  font-family: "Sulphur Point", sans-serif;
  transform: rotate(1deg);
}
.carousel:before,
.carousel:after {
  position: absolute;
  font-size: 12px;
  color: #fff;
  text-align: center;
  width: 100%;
}
.carousel:after {
  content: "Choose a song";
  position: absolute;
  top: calc(100% + 4px);
  -webkit-animation: blink 0.6s ease infinite;
  animation: blink 0.6s ease infinite;
}
.carousel__stage {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.carousel__item-input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -9999px;
  left: -9999px;
}
.carousel__item-content {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045);
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  will-change: transform;
}
.carousel__item-content-box {
  width: 80%;
}
.carousel__item-label {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #cb80ab;
  background: transparent;
  border-radius: 50%;
  z-index: 1;
  bottom: 10px;
  left: 50%;
  cursor: pointer;
  z-index: 6;
}
.carousel__item-label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #cb80ab;
  -webkit-animation: ripple 0.6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
  animation: ripple 0.6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
  display: none;
}
/* TODO: (Medium) Add comments to distinguish which radio button belongs to which item/label */
.carousel__item-input:nth-child(1):checked ~ .carousel__item-label:nth-child(11) {
  background: #cb80ab;
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-label:nth-child(11):before {
  display: block;
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-content:nth-child(6) {
  transform: translate(0%);
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-content:nth-child(7) {
  transform: translate(100%);
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-content:nth-child(8) {
  transform: translate(200%);
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-content:nth-child(9) {
  transform: translate(300%);
}
.carousel__item-input:nth-child(1):checked ~ .carousel__item-content:nth-child(10) {
  transform: translate(400%);
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-label:nth-child(12) {
  background: #cb80ab;
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-label:nth-child(12):before {
  display: block;
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-content:nth-child(6) {
  transform: translate(-100%);
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-content:nth-child(7) {
  transform: translate(0%);
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-content:nth-child(8) {
  transform: translate(100%);
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-content:nth-child(9) {
  transform: translate(200%);
}
.carousel__item-input:nth-child(2):checked ~ .carousel__item-content:nth-child(10) {
  transform: translate(300%);
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-label:nth-child(13) {
  background: #cb80ab;
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-label:nth-child(13):before {
  display: block;
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-content:nth-child(6) {
  transform: translate(-200%);
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-content:nth-child(7) {
  transform: translate(-100%);
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-content:nth-child(8) {
  transform: translate(0%);
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-content:nth-child(9) {
  transform: translate(100%);
}
.carousel__item-input:nth-child(3):checked ~ .carousel__item-content:nth-child(10) {
  transform: translate(200%);
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-label:nth-child(14) {
  background: #cb80ab;
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-label:nth-child(14):before {
  display: block;
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-content:nth-child(6) {
  transform: translate(-300%);
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-content:nth-child(7) {
  transform: translate(-200%);
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-content:nth-child(8) {
  transform: translate(-100%);
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-content:nth-child(9) {
  transform: translate(0%);
}
.carousel__item-input:nth-child(4):checked ~ .carousel__item-content:nth-child(10) {
  transform: translate(100%);
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-label:nth-child(15) {
  background: #cb80ab;
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-label:nth-child(15):before {
  display: block;
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-content:nth-child(6) {
  transform: translate(-400%);
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-content:nth-child(7) {
  transform: translate(-300%);
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-content:nth-child(8) {
  transform: translate(-200%);
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-content:nth-child(9) {
  transform: translate(-100%);
}
.carousel__item-input:nth-child(5):checked ~ .carousel__item-content:nth-child(10) {
  transform: translate(0%);
}
.carousel__item-content:nth-child(6) {
  z-index: 5;
  background: rgba(230, 232, 230, 0.2);
}
.carousel__item-content:nth-child(7) {
  z-index: 4;
  background: rgba(211, 41, 239, 0.36);
}
.carousel__item-content:nth-child(8) {
  z-index: 3;
  background: rgba(97, 26, 97, 0.84);
}
.carousel__item-content:nth-child(9) {
  z-index: 2;
  background: rgba(74, 30, 87, 0.52);
}
.carousel__item-content:nth-child(10) {
  z-index: 1;
  background: rgba(49, 0, 48, 0.818);
}
.carousel__item-label:nth-child(11) {
  transform: translateX(-53px);
}
.carousel__item-label:nth-child(12) {
  transform: translateX(-28px);
}
.carousel__item-label:nth-child(13) {
  transform: translateX(-3px);
}
.carousel__item-label:nth-child(14) {
  transform: translateX(22px);
}
.carousel__item-label:nth-child(15) {
  transform: translateX(47px);
}
/********    *********/
/* Carousel Animations */
@-webkit-keyframes blink {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}
@-webkit-keyframes ripple {
  0%,
  100% {
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  0% {
    transform: scale(0);
  }
  100%,
  85% {
    transform: scale(5);
  }
}
@keyframes ripple {
  0%,
  100% {
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  0% {
    transform: scale(0);
  }
  100%,
  85% {
    transform: scale(5);
  }
}
/* Music Player & Song Details */
.music-player {
  display: flex;
  /*align-items: flex-start; TODO: (Low) Duration slider style*/
  align-items: center;
  margin-top: 8px;
}
.music-player .song-title {
  text-shadow: 2px 2px #624e88;
  color: #fff;
  font-size: 1.3em;
  margin: 0;
}
.music-player .song-artist {
  color: #fff;
  font-size: 1em;
  margin: 0;
}
.play-pause-song-button {
  border: 0;
  background: transparent;
  box-sizing: border-box;
  width: 0;
  height: 4px;
  border-color: transparent transparent transparent #fff;
  transition: 100ms all ease;
  cursor: pointer;
  border-style: solid;
  border-width: 10px 0 10px 15px;
}
.play-pause-song-button.paused {
  border-style: double;
  border-width: 0px 0px 0px 15px;
  height: 18px;
  margin-top: 2px;
}
.play-pause-song-button:hover {
  border-color: transparent transparent transparent #bc7eb6;
}
/************************/
/*   Just Music Screen  */
/************************/
#chooseReflectOrTakeCall {
  display: flex;
  justify-content: space-around;
  position: absolute;
  width: 100%;
  bottom: 30px;
  opacity: 0;
}
.show-element-3s-delay {
  animation: appear 500ms forwards;
  animation-delay: 3s;
}
/************************/
/* Caller Dialog Screen */
/************************/
.dialog-box {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 30px #cb80ab;
}
.dialog-box p {
  color: #fff;
  margin: 0;
}
.dialog-box > div {
  padding: 20px;
}
.dialog-box .option-box {
  position: absolute;
  bottom: 20px;
  width: 90%;
}
.dialog-box .option-box p {
  color: #98dee9;
  font-size: 1em;
  margin: 5px 0;
  padding: 5px;
}
.dialog-box .option-box p:hover {
  background-color: #3dd1e7;
  cursor: pointer;
  color: #1a1a1a;
  font-weight: 700;
  transform: rotate(0.5deg);
}
.dialog-box .option-box p:hover::after {
  content: '';
  position: absolute;
  border: 1px solid #fff;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}
.dialog-box .option-box p:nth-of-type(2):hover {
  transform: rotate(-0.5deg);
}
.dialog-box .prompt,
.dialog-box .scene-box {
  font-size: 0.9em;
}
.dialog-box .prompt em,
.dialog-box .scene-box em {
  color: #c7cbff;
}
#dialogContainerBox.interactive {
  width: 85%;
  height: 300px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}
#dialogContainerBox.call-log {
  width: 300px;
  height: 80%;
  margin: 5% 30px;
}
#dialogContainerBox.scene {
  width: 80%;
  height: 100px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#dialogContainerBox.scene .speaker-card {
  position: absolute;
  top: -20px;
  left: -20px;
  padding: 5px 10px;
  background: #fff;
  transform: rotate(-2deg);
  color: #1a1a1a;
}
/*******************/
/*  How To Screen  */
/*******************/
#helpButton {
  position: absolute;
  z-index: 9;
  width: 80px;
  right: 20px;
  top: 10px;
  opacity: 0.5;
}
#helpButton:hover {
  filter: drop-shadow(0px 0px 5px #f8ee85);
  opacity: 0.9;
}
.help-button-hidden {
  display: none;
}
#howToSceneContainerBox {
  width: 80%;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#howToHelpersContainerBox {
  width: 80%;
  position: absolute;
  border: 3px solid #f8ee85;
  display: flex;
  flex-direction: column;
  bottom: 30px;
  height: 300px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 0, 18, 0.5);
  justify-content: center;
}
#howToHelpersContainerBox .how-to-title {
  font-size: 1.5em;
  color: white;
  text-align: center;
  position: absolute;
  top: -25px;
  left: 20px;
  background: #380075;
  padding: 5px 10px;
  margin: 0;
  transform: rotate(-3deg);
}
#howToHelpersContainerBox .how-to-image {
  width: 100%;
  text-align: center;
}
#howToHelpersContainerBox .how-to-image img {
  max-width: 95%;
  max-height: 225px;
}
.how-to-button {
  background-color: #cb80ab;
}
#howToSceneBox .message {
  font-size: 0.9em;
}
/*******************/
/*  Ending Screen  */
/*******************/
#monolougeContainerBox {
  width: 80%;
  height: 100px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#monologueBox {
  padding: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
}
#monologueBox p {
  max-width: 80%;
  text-align: center;
}
#monologueBox #finalMessageNextButton {
  position: absolute;
  bottom: -20px;
  right: -5px;
}
/********************/
/*  Credits Screen  */
/********************/
#creditsDialogBox {
  width: 80%;
  height: 350px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#creditsDialogBox p {
  font-size: 0.9em;
}
#creditsDialogBox .footnote {
  font-size: 0.6em;
}
#playAgainButton {
  padding: 5px;
  bottom: -20px;
  right: -15px;
  position: absolute;
}
/****************/
/*  Animations  */
/****************/
@keyframes loader-normal-anim {
  0%,
  15%,
  75%,
  100% {
    content: "Loading...";
  }
  20% {
    content: "Loading...";
  }
  25% {
    content: "Lo ding...";
  }
  30% {
    content: "Load ng...";
  }
  35% {
    content: " oading...";
  }
  40% {
    content: "L ading...";
  }
  45% {
    content: "Loadin ...";
  }
  50% {
    content: "Loa ing...";
  }
  55% {
    content: "Loading  .";
  }
  60% {
    content: " oa ing...";
  }
  65% {
    content: "L ading...";
  }
  70% {
    content: "Load n ...";
  }
}
@keyframes darken-bg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes appear {
  to {
    opacity: 1;
  }
}
@keyframes end-color-change {
  0% {
    filter: hue-rotate(1deg);
  }
  25% {
    filter: hue-rotate(-90deg);
  }
  50% {
    filter: hue-rotate(-180deg);
  }
  100% {
    filter: hue-rotate(-360deg);
  }
}
