@font-face {
  font-family: 'A-OTF Shin Maru Go Pro';
  src: url('fonts/AOTFShinMaruGoProM.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'A-OTF Shin Maru Go Pro';
  src: url('fonts/AOTFShinMaruGoProB.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

video,
img,
iframe {
  width: 100%;
  height: 100%;
}

iframe {
  border: 0;
  background-color: #fff;
}

img {
  object-fit: contain;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
}

.hidden {
  display: none !important;
}

.main-container {
  width: 100%;
  height: 100%;
  margin: 0;
}

#socket-unregistered {
  margin-top: 5%;
  margin-left: 5%;
}

#socket-unregistered .registration-code {
  font-size: 85px;
  font-weight: bold;
}

#socket-unregistered .registration-code .registration-code-title {
  font-size: 0.53em;
  line-height: 1.5em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#socket-unregistered .registration-code .registration-code-content {
  font-weight: 300;
  font-size: 0.41em;
  line-height: 1.5em;
}

#socket-unregistered .registration-code .registration-code-content a {
  color: #1581c1;
  text-decoration: none;
}

#socket-unregistered .registration-code .registration-code-content a:hover {
  color: #fff;
}

#socket-unregistered .registration-code #code {
  line-height: 1em;
  font-size: 1em;
  letter-spacing: 0.05em;
  color: #1581c1;
  text-transform: uppercase;
}

#socket-registered {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

#socket-registered .layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#inline-notification .notification {
  position: fixed;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  z-index: 2000;
}

#inline-notification .notification .inline-text {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding-left: 100%;
  animation-name: marqueeText;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes marqueeText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#emergency-notification .notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* overlay */
  color: #000;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: pre-wrap;
  z-index: 1000;
}

#downloading {
  display: flex;
  position: absolute;
  bottom: 2%;
  right: 2%;
  z-index: 9999;
  visibility: visible;
  width: 30%;
  height: 2%;
  justify-content: flex-end;
  align-items: center;
}

#downloading::after {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: dots 2s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75% {
    content: '...';
  }
  100% {
    content: '';
  }
}

#all_event_landscape .room--triple_line {
  font-size: 1.3em !important;
}

#all_event_portrait .room--triple_line {
  font-size: 0.47em !important;
}

#floor_direction_landcape .room--triple_line {
  font-size: 4.5em !important;
}

#floor_event_portrait .room--triple_line {
  line-height: 1.3em !important;
  font-size: 1em !important;
}

#room_direction_landscape .room--triple_line.room--triple {
  font-size: 6.5em !important;
}

#room_direction_landscape .room--triple_line.room--quadruple {
  font-size: 4.8em !important;
}
