:root {
  color-scheme: light;
  --tour-blue: #3133f5;
  --tour-text: #ffffff;
  --tour-text-dark: #1a1a1a;
  --tour-overlay: rgba(255, 255, 255, 0.96);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  position: relative;
  background: #ffffff;
  color: var(--tour-text-dark);
  font-family: "Roboto", sans-serif;
  user-select: none;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

a-scene {
  display: block;
  width: 100%;
  height: 100%;
}

a-assets,
a-scene audio,
a-scene img,
a-scene video {
  display: none;
}

canvas {
  position: absolute;
  inset: 0;
}

#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: var(--tour-text);
  text-transform: uppercase;
  background: var(--tour-overlay) url("../../360/images/RoomSaved/MalevichBackgroundImageTour0.jpg") center / cover no-repeat;
  transition: background-color 0.8s ease, opacity 0.4s ease;
}

#splash[hidden] {
  display: none;
}

#splash.is-ready {
  background-color: rgba(0, 0, 0, 0.84);
}

#splash .loading {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0.25rem solid rgba(241, 241, 241, 1);
  border-top-color: var(--tour-blue);
  animation: tour-spin 1s linear infinite;
}

#splash .start-button {
  padding: 10px 30px;
  border: 0;
  border-radius: 5px;
  background: var(--tour-blue);
  color: var(--tour-text);
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 2s ease, background-color 0.2s ease, color 0.2s ease;
}

#splash.is-ready .start-button {
  opacity: 0.5;
}

#splash .start-button:hover,
#splash .start-button:focus-visible {
  background: #ffffff;
  color: var(--tour-blue);
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--tour-text);
  pointer-events: none;
}

.footer > * {
  pointer-events: auto;
}

.about-btnn {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.credits,
.credits-datas {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credits img {
  display: block;
  width: 36px;
  height: auto;
}

.footerI {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 11;
  text-align: center;
}

.credits-datas {
  color: #000000;
  font-size: 12px;
}

.credits-datas a {
  color: var(--tour-blue);
}

.credits-datas a:hover {
  color: #ff59a6;
}

.fullscreen-button {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 11;
  display: block;
  padding: 10px;
  border: 0;
  background: rgba(0, 0, 255, 0.001);
  color: #3133f5;
  font-family: "Roboto", sans-serif;
  font-size: 2.5vmin;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.fullscreen-button:hover,
.fullscreen-button:focus-visible {
  background: #3133f5;
  color: #ffffff;
}

body[data-device-mode="mobile"] .fullscreen-button {
  font-size: 12px;
}

body[data-device-mode="mobile"] .footer {
  padding: 10px 12px;
  font-size: 12px;
}

body[data-device-mode="mobile"] .about-btnn {
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

body[data-device-mode="mobile"] [data-desktop-only="true"] {
  display: none !important;
}

@keyframes tour-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .footer {
    align-items: flex-end;
  }

  .credits img {
    width: 28px;
  }
}