/* TemplateData/style.css */
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.game-desktop {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

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

#loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  background: #ccc;
}

#progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: #4caf50;
}

#warning-message {
  display: none;
  text-align: center;
  color: white;
  font-family: Arial, sans-serif;
}

/* Oculta cualquier elemento relacionado con Unity o WebGL */
#unity-footer,
#unity-webgl-logo,
#unity-fullscreen-button,
#unity-build-title,
#unity-logo {
  display: none;
}

@media (max-width: 768px) {
  .game-desktop {
    width: 100%;
    height: 100%;
  }
  #game-canvas {
    width: 100%;
    height: 100%;
  }
}
