html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body {
  overflow: hidden;
  touch-action: none;
  width: 100%;
  height: 100%;
  margin: 0;
}
canvas {
  display: block;
}

#unity-container {
  width: 100%;
  height: 100%;
  position: absolute;
}
.unity-mobile #unity-canvas {
    width: 100dvw !important;
    height: 100dvh !important;
}
.unity-desktop #unity-canvas {
    width: 100%;
    height: 100%;
}
#unity-canvas {
  pointer-events: auto;
  background-image: url("./background-metacerv.jpg");
  background-position: center;
  background-size: cover;
}

#metacerv-container {
  position: relative;
  width: 100%;
  height: 100%;
}
#metacerv-loading-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}
#metacerv-loading-bar {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 400px;
}
#metacerv-loading-text {
	text-align: center;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	color: #ffffff;
  margin-bottom: 15px;
}
#metacerv-progress-bar-empty {
  width: 50%;
  height: 12px;
  background-color: #1a1a1a;
  border-radius: 8px;
  border: 2px solid #ffffff;
  padding: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease;
}
#metacerv-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #00ffff;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

#upload-img-container, #upload-video-container, #upload-file-container,
#upload-img-input, #upload-video-input, #upload-file-input {
  display: none;
}
