@charset "UTF-8";
@font-face {
  font-family: Roboto;
  src: local("Roboto"), url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/Roboto-Regular.ttf");
}
@supports (-ms-ime-align: auto) {
  body {
    overflow: hidden;
  }
}
.ie-check {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: white;
}

.no-display {
  width: 75%;
  margin: 30px auto 0;
}
.no-display img {
  max-width: 100%;
}

/*******************/
/* password prompt */
/*******************/
.post-password-form {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  margin: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
  background: white;
  text-align: center;
  font-size: 1.2rem;
  color: black;
}

/*****************/
/* general style */
/*****************/
* {
  transition: background-color 0.3s ease;
}
*:hover {
  transition: background-color 0.3s ease;
}

html,
body {
  height: 100vh;
  width: 100%;
  user-select: none;
}

html {
  font: 16px Roboto, sans-serif;
}

body {
  margin: 0;
  overflow: hidden;
}

strong,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Roboto, sans-serif;
  font-weight: 700;
}

::-webkit-scrollbar {
  width: 0.5em;
}

::-webkit-scrollbar-track {
  background-color: rgba(211, 211, 211, 0.5);
}

::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

input,
select {
  font-family: Roboto, sans-serif;
}

div {
  box-sizing: border-box;
}

text {
  fill: black;
  font-size: 0.5rem;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0.5rem;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  font: 14px Roboto, sans-serif;
}
button:active {
  border-top-color: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(0, 0, 0, 0.25);
}
button:focus {
  outline: none;
}
button:hover {
  background: rgb(255, 255, 255);
  cursor: pointer;
}
button:hover .icon {
  fill: rgb(100, 100, 100);
}
button span {
  display: inline;
}
button .icon {
  height: 1rem;
}
button .icon ~ span {
  margin-left: 0.25rem;
}

input::file-selector-button {
  display: inline-flex;
  align-items: center;
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0.5rem;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  font: 14px Roboto, sans-serif;
  margin-right: 0.5rem;
}
input::file-selector-button:active {
  border-top-color: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(0, 0, 0, 0.25);
}
input::file-selector-button:focus {
  outline: none;
}
input::file-selector-button:hover {
  background: rgb(255, 255, 255);
  cursor: pointer;
}
input::file-selector-button:hover .icon {
  fill: rgb(100, 100, 100);
}
input::file-selector-button span {
  display: inline;
}
input::file-selector-button .icon {
  height: 1rem;
  margin-right: 0.3rem;
}

.text-small {
  font-size: 12px;
}

.text-large {
  font-size: 20px;
}

.clear-fix:after {
  content: ".";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.active {
  display: block;
}

.icon {
  height: 2rem;
}

.button-text,
.button-input {
  width: 100%;
}

/***********/
/* prompts */
/***********/
.prompt {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 94vh;
  overflow: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  box-shadow: 0.25rem 0.25rem 0 0 rgba(0, 0, 0, 0.25);
  margin: 0.5rem;
  color: black;
  font-size: 0.8rem;
  text-align: center;
}
.prompt::-webkit-scrollbar-track, .prompt::-webkit-scrollbar-thumb {
  border-radius: 0 0.5rem 0.5rem 0;
}
.prompt .close-button {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: none;
}
.prompt .close-button .icon {
  height: 2rem;
}

/*********/
/* about */
/*********/
.title-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: rgba(173, 216, 230, 0.8);
}

.title {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}
.title .icon {
  height: 1rem;
}

.title-header {
  margin: 0;
  font-size: 3rem;
}
.settings .title-header {
  display: none;
  position: relative;
  font-size: 3rem;
}
.set-up .settings .title-header {
  display: block;
}
.title-header .title-image {
  position: absolute;
  top: -2rem;
  right: 0;
  max-height: 7.5rem;
}

.about-icon {
  height: 1rem;
}

.title-image {
  display: block;
  height: 25rem;
  filter: drop-shadow(0.3rem 0.3rem rgba(0, 0, 0, 0.25));
}

.about-image {
  position: absolute;
  right: -2.5rem;
  bottom: 0;
  height: 25rem;
  filter: drop-shadow(0.3rem 0.3rem rgba(0, 0, 0, 0.25));
}

.info-icon {
  height: 1rem;
}

.start {
  padding: 1rem;
  margin-bottom: 1rem;
  background: red;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 3rem;
}
.start:hover {
  background: darkred;
}

.skip-demo {
  display: block;
  border-width: 0.2rem;
  padding: 0.5rem 1rem;
  background: darkgray;
  font-size: 1.5rem;
}
.skip-demo:hover {
  background: gray;
}

.demo {
  display: none;
  position: absolute;
  top: 15%;
  left: 3%;
}

.end-demo-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.data-upload {
  margin-bottom: 0.5rem;
}
.data-upload input[type=file] {
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

header .version {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

/***********/
/* options */
/***********/
.options {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: 0.5rem;
  min-height: 3rem;
  min-width: 3rem;
  max-height: 96%;
  font-size: 0.8rem;
  transition: background-color 0.5s ease;
  overflow-y: auto;
}
.options:hover {
  background: rgb(255, 255, 255);
}
.options:hover section {
  background: rgba(245, 245, 245, 0.5);
}
.options h3 {
  margin: 0 0 0.5rem;
  text-align: center;
}
.options .version {
  display: flex;
  align-content: center;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.space-medium .options {
  margin: 1rem;
}

.space-large .options {
  margin: 1.5rem;
}

.space-extralarge .options {
  margin: 1.5rem 3rem;
}

.options-icon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.version .icon {
  margin-left: 0.3rem;
}

/**********/
/* filter */
/**********/
/***************************************************/
/******************** main body ********************/
/***************************************************/
.main {
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-around;
  padding: 2rem;
  color: white;
}

.col-wrapper {
  display: flex;
  height: 100vh;
}

.col {
  padding: 1%;
  position: relative;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.col-layout-one {
  flex-direction: column;
  justify-content: center;
}

.col-layout-two .col-one {
  width: 20%;
  padding: 0 1%;
}
.col-layout-two .col-two {
  width: 80%;
}

.col-layout-three .col-one,
.col-layout-three .col-three {
  width: 15%;
  padding: 0 1%;
}
.col-layout-three .col-two {
  width: 70%;
}

/**************************************************/
/******************** side bar ********************/
/**************************************************/
.sidebar {
  position: relative;
  width: 18rem;
  height: 100vh;
  font-size: 1.2rem;
}

.space-medium .sidebar {
  width: 13rem;
}

.space-large .sidebar {
  width: 13.5rem;
}

.space-extralarge .sidebar {
  width: 18rem;
}

.sidebar-title h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 1px 1px 0 black;
}

.sidebar ul {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: 0.5rem;
  min-height: 2rem;
  list-style: none;
  text-align: left;
}

.space-medium .sidebar ul {
  margin: 1rem;
}

.space-large .sidebar ul {
  margin: 1.5rem;
}

.space-extralarge .sidebar ul {
  margin: 1.5rem 3rem;
}

/**************/
/* point list */
/**************/
.group-list {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  list-style: none;
  color: black;
  text-align: center;
}
.col-layout-two .col-one .group-list {
  flex-direction: column;
}
.group-list li {
  flex: 1;
  position: relative;
  margin: 0 0.5rem;
}

.col-layout-two .col-one .group-score-list {
  width: calc(100% - 1rem);
  margin: 0.5rem auto;
}
.col-layout-two .col-one .group-score-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  padding: 0 0.5rem;
}
.col-layout-two .col-one .group-score-list .swatch {
  margin: 0;
}
.col-layout-two .col-one .group-score-list .score::after {
  content: " points";
}
.group-score-list::before {
  content: "- points -";
  flex-basis: 100%;
  margin-bottom: 0.25rem;
  color: rgba(0, 0, 0, 0.25);
  text-shadow: 1px 1px rgba(255, 255, 255, 0.5);
}
.col-layout-two .group-score-list::before {
  flex-basis: auto;
}

.group-winner-selection-list,
.group-multi-choice-winner-selection-list {
  background: none;
}
.group-winner-selection-list .swatch,
.group-multi-choice-winner-selection-list .swatch {
  cursor: pointer;
}
.group-winner-selection-list .swatch:hover,
.group-multi-choice-winner-selection-list .swatch:hover {
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.swatch {
  display: flex;
  width: 2rem;
  height: 2rem;
  background: gray;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  margin: auto;
  text-align: center;
  color: black;
  font-size: 1.2rem;
  text-shadow: 1px 1px white;
  line-height: 2rem;
  justify-content: center;
  align-items: center;
}
.active .swatch {
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.winner-icon,
.icon-winner {
  display: none;
  position: absolute;
  z-index: 1;
  top: -1.6rem;
  left: calc(50% - 1.4rem);
  fill: yellow;
  stroke: black;
  stroke-width: 0.5;
  transform: rotate(-10deg);
}
.winner-icon:hover,
.icon-winner:hover {
  fill: yellow;
}
.winner .winner-icon,
.winner .icon-winner {
  display: block;
}

.color-undefined {
  background: lightgray;
}

.no-team .swatch {
  background: lightgreen;
}

.group-0 .swatch,
.team-0 .swatch {
  background: red;
  color: white;
  text-shadow: 1px 1px black;
}

.group-1 .swatch,
.team-1 .swatch {
  background: blue;
  color: white;
  text-shadow: 1px 1px black;
}

.group-2 .swatch,
.team-2 .swatch {
  background: yellow;
}

.group-3 .swatch,
.team-3 .swatch {
  background: pink;
}

.group-4 .swatch,
.team-4 .swatch {
  background: purple;
  color: white;
  text-shadow: 1px 1px black;
}

.group-5 .swatch,
.team-5 .swatch {
  background: orange;
}

.group-6 .swatch,
.team-6 .swatch {
  background: green;
}

.group-7 .swatch,
.team-7 .swatch {
  background: maroon;
  color: white;
  text-shadow: 1px 1px black;
}

.group-8 .swatch,
.team-8 .swatch {
  background: lightskyblue;
  color: white;
  text-shadow: 1px 1px black;
}

.answer-tally {
  width: 100%;
  min-height: 1.2rem;
  font-size: 1rem;
  text-align: left;
  white-space: break-spaces;
  word-break: break-all;
  text-align: center;
}

.remaining-points {
  top: 50%;
  transform: translateY(-50%);
}

/************/
/* controls */
/************/
.controls {
  display: flex;
  flex-wrap: wrap;
  margin: 0.5rem 0 0;
}

.user-controls li {
  width: 20%;
}

.user-controls {
  display: flex;
  margin: auto 0 0;
}
.user-controls button {
  opacity: 0.5;
  transition: opacity 0.5s;
  aspect-ratio: 1/1;
  width: 3rem;
  margin: 0;
  border-radius: 50%;
}
.user-controls button:hover {
  opacity: 1;
}
.user-controls button:hover:disabled {
  opacity: 0.25;
}
.user-controls button .icon {
  height: 100%;
  width: 100%;
  margin-right: 0;
}
.user-controls button:disabled {
  opacity: 0.25;
}
.user-controls .user-controls-reset {
  margin-left: auto;
}

.zoom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 11rem;
  margin: 0.5rem;
}

.space-medium .zoom-controls {
  margin: 1rem;
}

.space-large .zoom-controls {
  width: 10.5rem;
  margin: 1.5rem;
}

.space-extralarge .zoom-controls {
  width: 12rem;
  margin: 3rem;
}

/****************/
/* link sharing */
/****************/
.link-info {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: white;
}
.link-info .close-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
}

.qr-code {
  height: 100vh;
}

.qr-code img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  width: auto;
  max-width: 75%;
  max-height: 75%;
  transform: translate(-50%, -50%);
}

.url {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
}
.url .copy-icon {
  padding-right: 0.5rem;
}

.copy-confirm {
  display: none;
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  left: 0;
  text-align: center;
  font-size: 2rem;
}

.copy-inner {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: white;
  font-size: 1.2rem;
}

/**********/
/* timers */
/**********/
.timer {
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.timer:hover {
  cursor: pointer;
}
.timer:hover .timer-pause-icon {
  fill: rgb(100, 100, 100);
}
.timer:hover {
  background: white;
}
.timer .timer-number {
  font-size: 1.2rem;
}

.timer-short {
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}
.prompt .timer-short {
  right: 0.5rem;
}
.timer-short .icon {
  height: 1rem;
}
.timer-short .timer-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.timer:hover .timer-short .timer-number {
  color: rgb(100, 100, 100);
}

.timer-circle {
  transform: rotateY(-180deg) rotateZ(-90deg);
  width: 100%;
  height: 100%;
}
.timer-circle circle {
  stroke-linecap: round;
  stroke-width: 0.1rem;
  stroke: black;
  fill: none;
}
.timer:hover .timer-circle circle {
  stroke: rgb(100, 100, 100);
}

.timer-long {
  position: relative;
  width: fit-content;
  min-width: 5.5rem;
  margin: 0 auto;
  text-align: center;
}
.timer-long .timer-number {
  display: block;
  text-align: center;
  margin-bottom: 0.25rem;
}
.timer-long .icon {
  height: 1rem;
}

.timer-bar-bg {
  position: relative;
  height: 4px;
  background: #ddd;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
}

.timer-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #2196f3;
  width: 0;
  transition: width 0.3s linear;
}

.timer-flash {
  animation: flash-complete 0.4s ease-out;
}

@keyframes flash-complete {
  0% {
    background-color: rgba(255, 255, 255, 0.8);
  }
  100% {
    background-color: transparent;
  }
}
.skip-timer {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
}
.skip-timer svg {
  margin: 0;
}

/*************/
/* edit mode */
/*************/
.edit-mode-cursor,
.edit-space-panel {
  display: none;
  position: absolute;
}

.edit-mode-cursor {
  width: 1.5rem;
  z-index: 1;
}

.edit-space-panel {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
}
.edit-space-panel h2 {
  margin: 0.5rem 0;
  text-align: center;
}

/***********************************************/
/****************** grid list ******************/
/***********************************************/
.grid-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  max-height: 100vh;
  overflow-x: auto;
  width: calc(100% - 12rem);
  margin: 0 3.5rem;
  padding: 0;
  list-style: none;
  font-size: 2.5rem;
}
.grid-list li {
  position: relative;
  width: calc(16.6% - 1.6rem);
  height: 5rem;
  height: calc(16.6% - 1.6rem);
  margin: 0.5rem;
  border: 0.3rem solid white;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: top 1s, left 1s, transform 1s;
  transform-style: preserve-3d;
  perspective: 50%;
}
.grid-list li:hover .question-side {
  background: darkred;
}
.grid-list div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

.coordinate-grid {
  padding: 5rem 0 0 5rem;
  justify-content: flex-start;
}
.coordinate-grid .coordinate {
  border: 0.3rem solid white;
  border-radius: 0.5rem;
  background: blue;
  color: white;
  cursor: default;
  backface-visibility: visible;
  transition: none;
}
.coordinate-grid .coordinate-x {
  bottom: calc(100% + 1rem);
  left: -0.25rem;
  width: calc(100% + 0.5rem);
  height: 4rem;
}
.coordinate-grid .coordinate-y {
  top: -0.25rem;
  right: calc(100% + 1rem);
  width: 4rem;
  height: calc(100% + 0.5rem);
}

.grid-list .question-side {
  background: red;
}
.grid-list .result-side {
  background: darkred;
  transform: rotateY(180deg);
  font-size: 1rem;
}
.grid-list .result-side .reward-image {
  max-width: 100%;
  max-height: 80%;
}
.grid-list .result-side .reward-name {
  display: block;
  height: 20%;
}

/***********/
/* tooltip */
/***********/
.tooltip {
  position: relative;
  vertical-align: middle;
}

.tooltip-icon {
  height: 1rem;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  background: rgba(255, 255, 255, 0.75);
  min-width: 3.5rem;
  max-width: 10rem;
  height: fit-content;
  border: 0.05rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.25rem;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: normal;
  text-align: center;
  transform: translateX(-50%);
  transition: visibility 0s 0.5s, opacity 0.5s;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
}
.tooltip-text:before, .tooltip-text:after {
  position: absolute;
  top: calc(100% - 0.025rem);
  left: 50%;
  height: 0;
  width: 0;
  border: 0.5rem solid transparent;
  border-top-color: #e6e6e6;
  margin-left: -0.5rem;
  content: " ";
  pointer-events: none;
}
.dark-mode .tooltip-text:before, .dark-mode .tooltip-text:after {
  border-top-color: rgb(29, 29, 29);
}
.tooltip-text:before {
  left: calc(50% - 0.07rem);
  border: 0.57rem solid transparent;
  border-top-color: rgba(0, 0, 0, 0.5);
}

.main-area {
  display: flex;
  flex-grow: 1;
  align-items: center;
  text-align: center;
}

/***********/
/* Results */
/***********/
.result .reward-image {
  max-width: 100%;
  max-height: 80%;
}
.result .reward-name {
  max-height: 20%;
}

/*************************/
/* awarded points prompt */
/*************************/
/******************/
/* time up prompt */
/******************/
.time-up button {
  width: 100%;
}
.time-up .filter-questions {
  margin-bottom: 0.5rem;
}
.time-up .more-time {
  display: grid;
  margin-bottom: 0.5rem;
}

.finish-game {
  background: red;
  margin-bottom: 0.5rem;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 1.8rem;
}
.finish-game:hover {
  background: darkred;
}
.finish-game:hover .icon {
  fill: white;
}
.finish-game .icon {
  fill: white;
  height: 1.4rem;
}
.finish-game .icon:hover {
  fill: white;
}

/********************/
/* game over prompt */
/********************/
.game-over {
  font-size: 1rem;
}
.game-over .team-name {
  display: inline-block;
  margin-left: 0.5rem;
}

.winner-wrapper {
  display: none;
}

.reset-game {
  background: red;
  margin-bottom: 0.5rem;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 1.8rem;
}
.reset-game:hover {
  background: darkred;
}
.reset-game:hover .icon {
  fill: white;
}
.reset-game .icon {
  fill: white;
  height: 1.4rem;
}
.reset-game .icon:hover {
  fill: white;
}

/***********************/
/* notification prompt */
/***********************/
.notification {
  opacity: 0;
  top: auto;
  bottom: 0;
  transform: translate(-50%, 0);
  box-shadow: none;
  white-space: nowrap;
}

.space-medium .notification {
  bottom: 1rem;
}

.space-large .notification,
.space-extralarge .notification {
  bottom: 1.5rem;
}

.notification .icon {
  height: 1rem;
}

/****************/
/* progress bar */
/****************/
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading {
  position: fixed;
  z-index: 5;
  top: -1rem;
  bottom: -1rem;
  left: -1rem;
  right: -1rem;
  background: rgba(245, 245, 245, 0.5);
  color: black;
  text-align: center;
  text-shadow: 1px 1px white;
}

.loading-title {
  margin-top: 0;
}

.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 94vh;
  width: 30%;
  background: rgba(255, 255, 255, 0.75);
  padding: 2.5rem;
  border-radius: 1rem;
}
.loading-content .loading-info {
  position: relative;
}
.loading-content .loading-info:after {
  position: absolute;
  animation: ellipsis 1s infinite;
  content: "";
}

.loading-icon {
  height: 1rem;
  animation: spin 3s infinite linear;
}

.progress-bar-wrapper {
  position: relative;
  background: lightgray;
  margin: 0.5rem 0;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.3rem;
}

.progress-bar {
  background: darkblue;
  width: 0%;
  height: 1.2rem;
  padding: 0.1rem 0;
  border-radius: 0.2rem;
  transition: width, 0.5s;
}

.progress-bar-amount {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px black;
}

@keyframes ellipsis {
  0% {
    content: "";
  }
  25% {
    content: ".";
    /* ascii code for period */
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
}
/*************/
/* lazy load */
/*************/
.lazy-loading {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 5;
}
.lazy-loading .loading-icon {
  height: 0.5rem;
  margin-right: 0.25rem;
}

/***************/
/* information */
/***************/
.info {
  z-index: 3;
  max-height: 90%;
  overflow-y: auto;
  text-align: left;
}

h4 .icon {
  height: 0.8rem;
}

.compatibility ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compatibility li {
  position: relative;
}
.compatibility .tick-icon {
  fill: blue;
}
.compatibility .question-icon {
  fill: orange;
}
.compatibility .cross-icon {
  fill: red;
}
.compatibility .tooltip {
  position: absolute;
  right: -0.75rem;
  top: -0.75rem;
}
.compatibility .tooltip-text {
  font-size: 0.7rem;
}

.result .result-winner-notification .team {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 3.5rem);
  font-size: 1.6rem;
}
.result .winner-notification-string {
  flex-grow: 1;
}
.result .team {
  opacity: 0;
  text-align: center;
}
.result .timer {
  top: 0.5rem;
}

.point-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  list-style: none;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}
.point-list li {
  background: #f0d36d;
  background: linear-gradient(0deg, #cab25b 0%, #f0d36d 49%, #fce982 51%, #fce982 100%);
  padding: 0.5rem 0;
  border: 1px solid rgba(168, 147, 74, 0.5);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-right-color: rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 900;
  text-shadow: 1px 1px 0 rgb(255, 255, 255);
}
.point-list li:before {
  content: "$";
}
.point-list .taken {
  background: darkgoldenrod;
  text-decoration: line-through;
}

.mini-point-list {
  columns: 4;
  width: 20rem;
  padding: 0;
  font-size: 0.7rem;
}

.preloaded-images {
  display: none;
}

/***********/
/* options */
/***********/
.set-up {
  position: absolute;
  top: 3rem;
  right: 3rem;
  bottom: 3rem;
  left: 3rem;
  z-index: 1;
  overflow: auto;
  padding: 1rem;
  font-size: 1.2rem;
}
.set-up select,
.set-up input {
  font-size: 1.2rem;
}

.settings-wrapper .settings {
  position: absolute;
  z-index: 1;
  background: rgba(229, 229, 229, 0.5);
  padding: 0.5rem;
  margin: 0.25rem 0;
  border-radius: 0.5rem;
}
.settings-wrapper .game-header {
  display: none;
}
.settings-wrapper .settings-header {
  margin: 0.25rem;
  font-size: 1.4rem;
}
.settings-wrapper .settings-header .icon {
  display: none;
}
.settings-wrapper .submit-load-page-list,
.settings-wrapper .submit-user-editable-settings {
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0.5rem;
}

.field-wrapper {
  display: flex;
  margin-bottom: 0.5rem;
}
.field-wrapper * {
  flex-grow: 1;
}
.field-wrapper label {
  max-width: 40%;
}
.field-wrapper select,
.field-wrapper input {
  min-width: 60%;
}

.submit-user-editable-settings {
  font-size: 1.2rem;
  font-weight: bold;
}

/*******************/
/* question prompt */
/*******************/
.generate-question {
  width: 20rem;
  background: none;
  border: none;
  transition: opacity 1s;
}
.col-layout-three .generate-question {
  margin: auto;
}
.generate-question:hover, .generate-question.active {
  background: none;
}
.generate-question:hover .icon, .generate-question.active .icon {
  fill: rgb(100, 100, 100);
}
.generate-question.active {
  opacity: 0;
}
.generate-question .generate-question-icon {
  height: 18rem;
  width: 100%;
  margin: 0 auto;
  stroke-width: 1%;
  stroke: white;
}

.space-medium .generate-question {
  margin: 1rem;
}

.space-large .generate-question {
  margin: 1.5rem;
}

.space-extralarge .generate-question {
  margin: 1.5rem 3rem;
}

.question {
  width: 68%;
  margin: 0;
  backface-visibility: hidden;
  font-size: 1.8rem;
}
.question p {
  margin: 0 0 0.5rem;
  white-space: normal;
}
.question p:last-child {
  margin-bottom: 0;
}
.question h5 {
  margin: 0;
}
.question .icon:not(.question-controls .icon, .close-icon) {
  flex-shrink: 0;
  height: 1rem;
  margin-right: 0.25rem;
}
.question .answer-toggle {
  /* avoids clicks in the outer region of the button not being recognised */
  margin: -0.5rem;
  padding: 0.5rem;
}
.question .close-icon {
  position: absolute;
  right: 0.5rem;
  cursor: pointer;
}

.question-wrapper {
  display: flex;
  flex-flow: wrap;
}
.question-wrapper.large {
  flex-flow: column;
}

.question-reference {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
}

.question-title {
  flex: 1 100%;
}

.question-image-wrapper {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  order: 2;
  box-sizing: border-box;
  max-height: 20rem;
  max-width: 50%;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  align-self: center;
  cursor: zoom-in;
}
.question-image-wrapper.large {
  order: 1;
  max-height: 25rem;
  width: 100%;
  max-width: 100%;
}

.question-image {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}

.zoom-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  cursor: zoom-out;
}
.zoom-wrapper .zoom-group-list {
  opacity: 1;
  position: absolute;
  top: 2%;
  left: 1%;
  padding: 0;
  margin: 0;
  color: white;
}

.zoom-close-icon {
  position: absolute;
  top: 2%;
  right: 1%;
  z-index: 4;
  width: 3rem;
  height: 3rem;
  fill: white;
  cursor: pointer;
  transition: fill 0.3s ease;
}
.zoom-close-icon:hover {
  fill: lightgray;
}

.zoom-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0.1rem 0 0 white) drop-shadow(0 0.1rem 0 white) drop-shadow(-0.1rem 0 0 white) drop-shadow(0 -0.1rem 0 white);
}

.question-text-wrapper {
  flex: 1 1 auto;
  order: 1;
  position: relative;
  box-sizing: border-box;
  width: 49%;
  margin: 0 1% 0 0;
  text-align: left;
}
.large .question-text-wrapper {
  order: 2;
  width: 100%;
  margin: 0;
}
.question-text-wrapper img {
  max-width: 100%;
  max-height: 12rem;
}

.question-text,
.question-hint,
.question-answer {
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  margin: 0 0 0.5rem;
}

.question-text {
  display: flex;
  align-items: center;
}

.question-answer-assign-player {
  width: 100%;
  font-size: 2rem;
}

.assigned-player {
  font-weight: bold;
}

.question-answer-multiple:hover {
  cursor: default;
}
.question-answer-multiple > div:not(.swatch):hover {
  cursor: pointer;
}

.question-role {
  display: inline-block;
  display: none;
  width: 100%;
  margin-top: 0.5rem;
  font-size: inherit;
}
.question-role span {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.hint-toggle,
.answer-toggle {
  display: flex;
  align-content: center;
}

.hint-toggle .icon,
.answer-toggle .icon {
  margin-right: 0.5rem;
}

.question-hint {
  border: 0.1rem dashed rgba(0, 0, 0, 0.25);
}

.question-hint:hover,
.question-answer:hover {
  background-color: rgb(255, 255, 255);
  border-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.hint-content,
.answer-content {
  display: none;
  padding-top: 0.5rem;
  white-space: normal;
  word-break: break-word;
}

.timer-expired {
  position: relative;
  display: none;
  border: 0.1rem dashed rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.5rem;
  text-align: center;
  cursor: default;
}
.timer-expired h3 {
  margin: 0 0 0.5rem;
}
.timer-expired .show-answer,
.timer-expired .pick-volunteer {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.timer-expired .more-time,
.timer-expired .next-question {
  width: 47.5%;
  height: 2.5rem;
}

.pick-volunteer {
  background: red;
  width: 100%;
  margin-bottom: 0.5rem;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 1.8rem;
}
.pick-volunteer:hover {
  background: darkred;
}
.pick-volunteer:hover .icon {
  fill: white;
}
.pick-volunteer .icon {
  fill: white;
  height: 1.4rem;
}
.pick-volunteer .icon:hover {
  fill: white;
}

.question-bonus-time {
  width: 2.1rem;
}

.correct-icon {
  display: none;
  position: absolute;
  right: -0.3rem;
  top: -0.3rem;
  height: 2rem;
  fill: red;
}

.question-counter {
  align-self: flex-end;
  font-size: 0.8rem;
}

.finished-notification {
  display: none;
}
.finished-notification .filter-questions {
  display: inline-flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.25rem;
  border-width: 0.25rem;
  border-radius: 1rem;
  font-size: 2rem;
}
.finished-notification .filter-questions .icon {
  margin-left: 0.5rem;
  height: 2.5rem;
}

button.reset-questions {
  display: inline-flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: red;
  border-width: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-size: 3rem;
}
button.reset-questions:hover {
  background: darkred;
}
button.reset-questions .icon {
  margin-left: 0.5rem;
  height: 3.5rem;
  fill: white;
}

.question-winner,
.question-winner-notification {
  flex: 1 100%;
  order: 2;
  padding: 0.5rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  margin: 0 auto;
}
.question-winner .swatch,
.question-winner-notification .swatch {
  margin: 0 auto;
}

.question-winner h3 {
  margin-top: 0;
}

.question-winner-selection-list,
.question-team-list,
.select-team-list {
  text-align: center;
  font-size: 1.2rem;
}
.question-winner-selection-list li,
.question-team-list li,
.select-team-list li {
  display: inline-block;
  margin-bottom: 0;
}

.question-management {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-controls {
  padding: 0.3rem;
  border: 0.1rem dashed rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  margin: 0.5rem 0 0;
  list-style: none;
}
.question-controls li {
  display: inline-block;
  font-size: 0.6rem;
  vertical-align: middle;
}
.question-controls li:hover {
  cursor: pointer;
}
.question-controls li.inactive {
  opacity: 0.5;
  cursor: default;
}

.question-reference span {
  padding-right: 0.25rem;
}

.question-group-score-list {
  width: 50%;
  padding: 0;
  border: none;
  margin: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.5;
}
.question-group-score-list::before {
  content: none;
}
.question-group-score-list .swatch {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
}
.question-group-score-list .winner-icon {
  height: 1.4rem;
  top: -1.2rem;
  left: calc(50% - 1rem);
}

.questions-finished {
  display: block;
  text-align: center;
}

/*********/
/* fonts */
/*********/
@font-face {
  font-family: Jacquard24;
  src: local("Jacquard 24"), url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/Jacquard24-Regular.ttf");
}
@font-face {
  font-family: VT323-Regular;
  src: local("VT323 Regular"), url("https://fujieigo.com/blog/wp-content/themes/fujieigo/fonts/VT323-Regular.ttf");
}
/*******************/
/* general styling */
/*******************/
body {
  background: url(https://fujieigo.com/blog/wp-content/uploads/2025/06/game-dungeon-bg.jpg) center center/cover no-repeat #B8B2B4;
}

body,
button,
strong,
em {
  font-family: VT323-Regular, sans-serif;
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: Jacquard24, serif;
}

.title-header {
  color: #ecc909;
  text-shadow: 0 0.1vw 0 rgba(255, 255, 255, 0.9), -0.1vw 0 rgba(0, 0, 0, 0.9);
  font-size: 10vh;
}
.title-header .line {
  display: flex;
  flex-direction: column;
}
.title-header .word-1 {
  text-decoration: underline;
  text-underline-position: under;
}

/**********/
/* layout */
/**********/
.game-wrapper {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: space-between;
  max-height: 100%;
}

.game-view {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-grow: 1;
  max-height: 100%;
}

/*****************/
/* game elements */
/*****************/
.game-elements {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-left: 1rem;
}

/****************/
/* staus window */
/****************/
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(211, 211, 211, 0.75);
  border-radius: 0.25rem;
  font-size: 1.4rem;
  text-shadow: 1px 1px white;
  text-align: center;
}

.timer-game-time {
  order: -1;
  margin: 0;
}

/***********/
/* minimap */
/***********/
.map-wrapper,
.minimap-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.first-person-view-wrapper .map-wrapper,
.first-person-view-wrapper .minimap-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 15%;
  aspect-ratio: 1;
}

.map,
.minimap {
  display: grid;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1;
  background: #eee;
  border: 0.25rem solid black;
  border-radius: 0.25rem;
  margin: 0 auto;
  overflow: hidden;
  font-size: clamp(1rem, 1.5vw, 3rem);
}
.map:empty,
.minimap:empty {
  width: 100%;
  aspect-ratio: 1;
  background: black;
}
.full-map-wrapper .map,
.full-map-wrapper .minimap {
  height: 100%;
  font-size: 3.6vh;
}
.first-person-view-wrapper .map,
.first-person-view-wrapper .minimap {
  font-size: 0.8vw;
}

/***********/
/* compass */
/***********/
.compass {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas: ".    n    ." "w  player e" ".    s    .";
  align-items: center;
  width: max-content;
  background: rgba(211, 211, 211, 0.75);
  border-radius: 50%;
  font: 2rem Jacquard24, serif;
  text-shadow: 1px 1px 0 white;
  text-align: center;
}

.compass-direction-n {
  grid-area: n;
}

.compass-direction-e {
  grid-area: e;
}

.compass-direction-s {
  grid-area: s;
}

.compass-direction-w {
  grid-area: w;
}

.compass-player {
  grid-area: player;
}

/************/
/* controls */
/************/
.controls {
  display: flex;
  justify-content: space-between;
  margin: 0;
}
.controls button {
  font-size: 1.4rem;
}
.controls .icon {
  height: 1.4rem;
}

.direction-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "t-left up t-right" "left down right";
  width: max-content;
}
.direction-controls .control {
  width: 100%;
  height: 100%;
}

.control-turn-left {
  grid-area: t-left;
}

.control-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.control-up {
  grid-area: up;
}

.control-up-arrow,
.player-arrow.direction-n {
  transform: rotate(-90deg) translateY(-2.5%);
}

.control-turn-right {
  grid-area: t-right;
}

.control-left {
  grid-area: left;
}

.control-left-arrow,
.player-arrow.direction-w {
  transform: scaleX(-1);
}

.control-down {
  grid-area: down;
}

.control-down-arrow,
.player-arrow.direction-s {
  transform: scaleY(-1) rotate(-90deg) translateY(-2.5%);
}

.control-right {
  grid-area: right;
}

.maze-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.maze-controls button {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/***********/
/* buttons */
/***********/
.generate-question {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.end-demo-button {
  z-index: 4;
}

/***************/
/* group lists */
/***************/
.group-list {
  background: rgba(211, 211, 211, 0.75);
}

.group-winner-selection-list,
.zoom-group-list {
  background: none;
}

.group-avatar {
  position: absolute;
  top: -25%;
  left: -175%;
  font-size: 3rem;
}

.swatch {
  position: relative;
}

.score::before {
  content: "🪙";
  font-size: 1.4rem;
}
.question-group-score-list .score::before {
  font-size: 1.2rem;
}

.group-score-list {
  margin: 0;
  font-size: 2rem;
}

.question-group-score-list {
  background: none;
}
.question-group-score-list .group-avatar {
  font-size: 2.2rem;
}

.mini-group-list .group-avatar {
  font-size: 2rem;
}

/***********/
/* prompts */
/***********/
.prompt {
  z-index: 6;
  min-width: 85vw;
  min-height: 85vh;
  height: 100%;
  font-size: 3rem;
}
.prompt button {
  margin-top: 2rem;
  font-size: 3rem;
}
.prompt .swatch {
  width: 3rem;
  height: 3rem;
  font-size: 3rem;
}
.prompt .team-name {
  margin: 2rem 0;
}
.prompt .points-awarded {
  margin-right: 0.5rem;
}
.prompt h2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 5rem;
}
.prompt h2 div:not(:last-child) {
  margin-right: 1rem;
}
.prompt .header-group {
  display: flex;
}
.prompt .header-group .swatch {
  margin-left: 1rem;
}
.prompt .win-points-character,
.prompt .janken-character {
  position: relative;
  width: 50%;
  display: inline-block;
}
.prompt .win-points-character .win-points-icon-player,
.prompt .win-points-character .win-points-icon-treasure,
.prompt .win-points-character .janken-icon-player,
.prompt .win-points-character .janken-icon-monster,
.prompt .janken-character .win-points-icon-player,
.prompt .janken-character .win-points-icon-treasure,
.prompt .janken-character .janken-icon-player,
.prompt .janken-character .janken-icon-monster {
  font-size: 12rem;
}
.prompt .janken-choice-result {
  position: absolute;
  top: 0;
  background: white;
  border: 0.3rem solid gray;
  border-radius: 50%;
  padding: 0.5rem;
}
.prompt .janken-choice-result::after {
  content: "";
  position: absolute;
  left: 50%;
  display: block;
  width: 1rem;
  height: 1rem;
  background: white;
  border: 0.3rem solid gray;
  border-radius: 50%;
  transform: translateX(-50%);
}
.prompt .janken-choice-result-player {
  left: 25%;
}
.prompt .janken-choice-result-opponent {
  right: 25%;
}

.prompt-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.prompt-canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.prompt-info > div {
  display: inline-block;
  padding-left: 0.25rem;
}
.prompt-info > div:first-child {
  padding-left: 0;
}

.question {
  font-size: 1.8rem;
}

.zoom-wrapper {
  z-index: 7;
}

.janken-result-info {
  width: 100%;
}

.janken-button:not(:first-child) {
  margin-left: 0.25rem;
}
.janken-button .janken-icon {
  display: block;
  height: 100%;
}

.janken-battle-result {
  margin-bottom: 5rem;
}

/**********/
/* 2D map */
/**********/
.full-map-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  padding: 1rem;
}

.close-map {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.cell {
  position: relative;
  aspect-ratio: 1;
  height: 100%;
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
}

.cell-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.cell-wall {
  background: #333;
}

.cell-content-player {
  background: deepskyblue;
  color: white;
}

@keyframes multiple-player-display {
  0% {
    box-shadow: 0 0 0.5rem 0.5rem yellow;
  }
  50% {
    box-shadow: 0 0 0.25rem 0.25rem yellow;
  }
  100% {
    box-shadow: 0 0 0.5rem 0.5rem yellow;
  }
}
.player-arrow {
  text-shadow: 1px 1px 0 black;
}

.cell-content-player {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  animation: multiple-player-rotation 2.5s infinite;
}
.cell-content-player.active {
  z-index: 5;
  box-shadow: 0 0 0.25rem 0.25rem yellow;
  animation: active-player-pulse 1s ease-in-out infinite;
}
.cell-content-player ~ .cell-content-player:nth-child(0) {
  animation-delay: 0s;
}
.cell-content-player ~ .cell-content-player:nth-child(1) {
  animation-delay: 1s;
}
.cell-content-player ~ .cell-content-player:nth-child(2) {
  animation-delay: 2s;
}
.cell-content-player ~ .cell-content-player:nth-child(3) {
  animation-delay: 3s;
}
.cell-content-player ~ .cell-content-player:nth-child(4) {
  animation-delay: 4s;
}
.cell-content-player ~ .cell-content-player:nth-child(5) {
  animation-delay: 5s;
}
.cell-content-player ~ .cell-content-player:nth-child(6) {
  animation-delay: 6s;
}
.cell-content-player ~ .cell-content-player:nth-child(7) {
  animation-delay: 7s;
}
.cell-content-player ~ .cell-content-player:nth-child(8) {
  animation-delay: 8s;
}
.cell-content-player ~ .cell-content-player:nth-child(9) {
  animation-delay: 9s;
}

@keyframes active-player-pulse {
  0% {
    box-shadow: 0 0 0.5rem 0.5rem yellow;
  }
  50% {
    box-shadow: 0 0 0.25rem 0.25rem yellow;
  }
  100% {
    box-shadow: 0 0 0.5rem 0.5rem yellow;
  }
}
@keyframes multiple-player-rotation {
  0% {
    z-index: 2;
  }
  100% {
    z-index: 3;
  }
}
.cell-content-player-0 {
  background: red;
}

.cell-content-player-1 {
  background: blue;
}

.cell-content-player-2 {
  background: yellow;
  color: black;
}
.cell-content-player-2 .player-arrow {
  text-shadow: 1px 1px 0 white;
}

.cell-content-player-3 {
  background: pink;
  color: black;
}
.cell-content-player-3 .player-arrow {
  text-shadow: 1px 1px 0 white;
}

.cell-content-player-4 {
  background: purple;
}

.cell-content-player-5 {
  background: orange;
}

.cell-content-player-6 {
  background: green;
}

.cell-content-player-7 {
  background: maroon;
}

.cell-content-player-8 {
  background: lightskyblue;
  color: black;
}
.cell-content-player-8 .player-arrow {
  text-shadow: 1px 1px 0 white;
}

.cell-content-player-9 {
  background: gold;
  color: black;
}
.cell-content-player-9 .player-arrow {
  text-shadow: 1px 1px 0 white;
}

.cell-content-player-10 {
  background: salmon;
}

.cell-treasure {
  background: gold;
}

.cell-treasure-resolved {
  background: rgba(255, 215, 0, 0.25);
}

.cell-enemy {
  background: crimson;
  color: white;
}

.cell-enemy-resolved {
  background: rgba(220, 20, 60, 0.25);
}

.cell-content-player ~ .cell-content-treasure,
.cell-content-player ~ .cell-content-enemy {
  display: none;
}

.cell-unknown {
  background: gray;
}

.cell-reachable {
  outline: 2px dashed lime;
}

.cell-text {
  position: absolute;
  top: -1.25rem;
  right: -0.25rem;
  z-index: 2;
  background: white;
  padding: 0.2rem;
  border-radius: 50%;
  box-shadow: 1px 1px black;
  color: black;
  font-size: 2vh;
}
.cell-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 0.5rem solid transparent;
  border-top-color: white;
  border-bottom: 0;
  border-left: 0;
  margin-left: -0.25rem;
  margin-bottom: -0.25rem;
}
.first-person-view-wrapper .cell-text {
  font-size: 1.4vh;
}

.cell-icon {
  text-shadow: 1px 1px 0 black;
}

.cell-icon-completed {
  position: absolute;
  left: 1.5rem;
}

/*********************/
/* first person view */
/*********************/
/****************/
/* progress bar */
/****************/
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.maze-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  max-height: 94vh;
  width: 30%;
  background: rgba(255, 255, 255, 0.75);
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
}
.maze-loading .maze-loading-info {
  position: relative;
}
.maze-loading .maze-loading-info:after {
  position: absolute;
  animation: ellipsis 1s infinite;
  content: "";
}

.maze-loading-title {
  margin-top: 0;
}

.maze-loading-icon {
  height: 1rem;
  animation: spin 3s infinite linear;
}

.maze-progress-bar-wrapper {
  position: relative;
  background: lightgray;
  margin: 0.5rem 0;
  border: 0.1rem solid rgba(0, 0, 0, 0.5);
  border-radius: 0.3rem;
}

.maze-progress-bar {
  background: darkblue;
  width: 0%;
  height: 1.2rem;
  padding: 0.1rem 0;
  border-radius: 0.2rem;
  transition: width, 0.5s;
}

.maze-progress-bar-amount {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px black;
}

@keyframes ellipsis {
  0% {
    content: "";
  }
  25% {
    content: ".";
    /* ascii code for period */
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
}
.first-person-view-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  background: black;
  border: 0.25rem solid black;
  border-radius: 0.25rem;
  overflow: hidden;
}

.first-person-view {
  width: 100%;
  height: 100%;
}

.screen-flash::after {
  content: "";
  position: absolute;
  background: rgba(255, 0, 0, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  animation: screen-flash 100ms 3;
}

@keyframes screen-flash {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}/*# sourceMappingURL=game-dungeon.css.map */