* {
  box-sizing: border-box;
}

html,
body,
#app,
#stage {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  cursor: none;
}

#stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
  background: #000;
}

.slide.active {
  opacity: 1;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.slide video {
  display: block;
}

#fallback {
  text-align: center;
  padding: 40px;
}

.brand {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.status {
  font-size: 22px;
  opacity: 0.75;
}

.connection-status {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  z-index: 1000;
}

.hidden {
  display: none;
}

.error-box {
  max-width: 900px;
  padding: 40px;
  text-align: center;
}

.error-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.error-message {
  font-size: 22px;
  opacity: 0.75;
}
