@keyframes updown {
  0% {
    transform: rotate(180deg) translateY(0);
  }
  50% {
    transform: rotate(180deg) translateY(0.5rem);
  }
  100% {
    transform: rotate(180deg) translateY(0);
  }
}
@supports (-moz-appearance: none) {
  body {
    scrollbar-color: #333333 transparent; /* thumb and track color */
    scrollbar-width: thin; /* scrollbar width */
  }
}
/* This will change the scrollbar for the whole page */
::-webkit-scrollbar {
  width: 6px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: transparent; /* Color of the track */
  cursor: pointer;
}

::-webkit-scrollbar-thumb {
  background: #333333; /* Color of the scroll thumb */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333333; /* Color of the scroll thumb on hover */
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
  font-family: "Times New Roman", Times, serif;
}

h2 {
  text-align: center;
}

.border {
  background-size: cover;
  transform: scaleX(-1);
}
.border.left {
  background-position: right;
}

span.border-left, span.border-right {
  min-width: 4rem;
}

span.border-left, span.border-right {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.dialog {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  height: 145px;
  display: grid;
  grid-template-areas: "title" "content" "actions";
  grid-template-columns: 1fr;
  grid-template-rows: 2rem auto 4rem;
  color: white;
  z-index: 3;
}
.dialog > * {
  margin: 0;
  padding: 0;
}
.dialog .hidden {
  opacity: 0;
  transition: opacity 250ms linear;
}
.dialog .title {
  grid-area: title;
  background-color: #333333;
}
.dialog .content {
  grid-area: content;
  background-color: #333333;
}
.dialog .actions {
  grid-area: actions;
  background-color: #333333;
  display: grid;
  grid-template-areas: "previous choices next";
  grid-template-columns: 50px 1fr 50px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.dialog .actions .choices {
  grid-area: choices;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.dialog .actions .choices .choice {
  color: white;
  background-color: #333333;
  border: none;
  text-decoration: none;
  padding: 0.5rem;
  text-align: center;
  width: 45%;
  cursor: pointer;
}
.dialog .actions .next {
  grid-area: next;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.dialog .actions .next .triangle {
  width: 1.5rem;
  height: 1.5rem;
  animation: updown 2s infinite;
  clip-path: polygon(50% 0%, 0% 80%, 100% 80%);
  transform: rotate(180deg);
  background-color: white;
  color: #333333;
}
.dialog h1, .dialog p {
  margin: 0;
  padding: 0;
  display: inline;
}
.dialog .content {
  margin: 0;
  padding: 1rem;
}
.dialog .character-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
}

.border-left, .choice:before {
  background: transparent;
  grid-area: left;
}

.border-right, .choice:after {
  background: transparent;
  grid-area: right;
}

.extra-border {
  display: none;
}

.title {
  display: grid;
  grid-template-areas: "left content right";
  grid-template-columns: 50px max-content 50px;
  grid-template-rows: 1fr;
}
.title *:first-child {
  grid-area: left;
}
.title *:nth-child(2) {
  grid-area: content;
  background-color: #333333;
}
.title *:last-child {
  grid-area: right;
}

@media (min-aspect-ratio: 1750/900) {
  body {
    display: grid;
    grid-template-areas: "tl main rl" "bl bottom rb";
    grid-template-columns: 1fr min(100vw, 200vh) 1fr;
    grid-template-rows: 100vh auto;
  }
  .dialog {
    grid-template-areas: "left title right" "left content right" "left actions right";
    grid-template-columns: 1fr min(100vw, 120vh) 1fr;
  }
  .extra-border {
    display: unset;
  }
  .border {
    transform: scaleX(1);
  }
}
.main {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  aspect-ratio: 1.7777;
}
.main .content {
  background-size: cover;
}
.main.bottom {
  background-repeat: repeat-y;
}
.main > * {
  z-index: 2;
}

#characters .left {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}
#characters .right {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  background-position: right;
}

.login .window {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
}
.login .window > form {
  border-radius: 1rem;
  border: 1px solid #333333;
  padding: 1rem 3rem;
  max-width: 400px;
}
.login .window .logo {
  max-width: 100%;
}
.login .window label {
  display: block;
  margin-bottom: 8px;
}
.login .window input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.training .left, .training .right {
  position: relative;
  /*z-index: 10;*/
}
.training .left > div, .training .right > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(10px) brightness(0.5);
}

button, .btn {
  color: white;
  background-color: #333333;
  border-radius: 10px;
  border: none;
  padding: 1rem;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
}

input {
  color: white;
  background-color: #333333;
  border-radius: 10px;
  border: none;
  padding: 1rem;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  font-family: "Times New Roman", Times, serif;
}

.btn.right {
  float: right;
}

#return-device {
  position: absolute;
  top: 10px;
  left: 5px;
  z-index: 30;
}

.btn-logout {
  min-width: 56px;
  background-size: 1.4rem;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-language {
  width: 27px;
  text-align: center;
}
.btn-language img {
  height: 14px;
}

.buttons-left, .buttons-right {
  position: absolute;
  top: 0;
  z-index: 30;
  height: 50px;
  background-size: cover;
}
.buttons-left button, .buttons-left .btn, .buttons-right button, .buttons-right .btn {
  margin: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.buttons-left a, .buttons-right a {
  display: block;
}
.buttons-left *, .buttons-right * {
  opacity: 1;
  transition: opacity 250ms linear;
  visibility: visible;
}
.buttons-left .hidden, .buttons-right .hidden {
  opacity: 0;
  transition: opacity 250ms linear, visibility 0s linear 300ms;
  visibility: hidden;
}

.buttons-left {
  left: 5px;
}

.buttons-right {
  right: 5px;
}

.debug-window {
  position: absolute;
  top: 0;
  left: 20%;
  right: 0;
  bottom: 60%;
  z-index: 20;
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid #333333;
  padding: 1rem;
  overflow-y: scroll;
  height: auto;
}
.debug-window.hidden {
  display: none;
  height: 0;
}

#characters {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#characters .character {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: auto;
  bottom: -20%;
  height: 100%;
  width: min(40%, 450px);
  transition: all 0.5s linear;
}
#characters .character.zoom {
  transform: translateY(35%) scale(1.8);
}
#characters .hidden-left {
  right: auto;
  left: -100%;
}
#characters .hidden-right {
  left: auto;
  right: -100%;
}
#characters .left {
  left: 0;
  right: auto;
}
#characters .right {
  left: auto;
  right: 0;
}
#characters.hidden {
  display: none;
}

#objects {
  width: 100%;
  height: 100%;
  position: relative;
}
#objects .object {
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: auto;
  transition: all 0.5s linear;
  height: min-content;
}

#choices {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 12;
}
#choices .choice {
  color: white;
  background-color: #333333;
  border: none;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
  width: 45%;
  cursor: pointer;
}
#choices .choice:before, #choices .choice::after {
  content: "";
  width: 50px;
}

#detail {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  z-index: 5;
}
#detail h1 {
  text-align: center;
  color: white;
  font-size: xxx-large;
}
#detail div {
  text-align: center;
}
#detail div button {
  color: white;
  background-color: #333333;
  border: none;
  text-decoration: none;
  padding: 0.5rem;
  text-align: center;
  width: 45%;
  cursor: pointer;
}
#detail .videos {
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 90%;
  max-height: calc(100% - 330px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2rem;
  z-index: 100;
  overflow-y: scroll;
}
#detail .videos article, #detail .videos .article {
  background-color: #333333;
  padding: 1rem;
  border-radius: 1rem;
  cursor: pointer;
  width: 17rem;
  text-align: center;
}
#detail .videos article img, #detail .videos .article img {
  width: 100%;
}
#detail .videos article h3, #detail .videos .article h3 {
  text-align: center;
  color: white;
}
#detail .videos .choices {
  width: 100%;
  text-align: center;
}
#detail .videos .choice {
  color: white;
  background-color: #333333;
  border: none;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
  width: 45%;
  cursor: pointer;
  z-index: 1000;
}
#detail .object {
  margin: auto;
  aspect-ratio: 1;
  max-width: 90%;
  max-height: calc(100% - 200px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
#detail .object .picture {
  max-height: 100%;
  max-width: 100%;
  text-align: center;
}
#detail .object img {
  max-width: 100%;
  max-height: calc(100vh - 330px);
}
#detail .object .zone {
  position: absolute;
  color: white;
  text-decoration: none;
  border-radius: 1rem;
  cursor: pointer;
}
#detail .object-zone {
  position: absolute;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}
.overlay #player {
  width: 80%;
}
.overlay #player > * {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 100%;
}

#detail, #choices, .overlay {
  opacity: 1;
  transition: opacity 250ms linear 100ms;
}
#detail.hidden, #choices.hidden, .overlay.hidden {
  opacity: 0;
  transition: opacity 250ms linear, height 0s linear 300ms;
  height: 0;
}

#choices {
  height: calc(100% - 200px);
}

#detail {
  height: 100%;
}

.overlay {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert {
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.alert-danger {
  background-color: darkred;
  color: white;
}

/*# sourceMappingURL=app.output.css.map */
