:root {
  background: #000;
  color-scheme: dark;
}

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  background-image: url("web_bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#unity-container {
  position: relative;
  width: min(100vw, 56.25vh);
  height: min(100vh, 177.777778vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.9),
    0 0 34px 14px rgba(0, 0, 0, 0.78);
}

#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

#unity-loading-bar {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
}

#unity-logo {
  width: 154px;
  height: 130px;
  background: url("unity-logo-dark.png") no-repeat center;
}

#unity-progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  background: url("progress-bar-empty-dark.png") no-repeat center;
}

#unity-progress-bar-full {
  width: 0;
  height: 18px;
  background: url("progress-bar-full-dark.png") no-repeat center;
}

#unity-warning {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  width: 100%;
  box-sizing: border-box;
  font: 14px/1.4 Arial, sans-serif;
  text-align: center;
}

#unity-warning > div {
  padding: 10px;
}

.unity-warning {
  color: #111;
  background: #ffd83d;
}

.unity-error {
  color: #fff;
  background: #c62828;
}
