html {
  overflow: hidden;
}
body {
  padding: 0;
  margin: 0;
}

#unity-container {
  position: absolute;
}

#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
  height: 100%;
  max-width: 800px;
}

#unity-canvas {
  background-color: #fbf2e9;
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

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

#unity-loading-tips {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  display: none;
}

#unity-logo {
  width: 150px;
  height: 23px;
  margin: 10px auto auto;
  background: url("progress-tip.png") no-repeat center;
}

#unity-progress-bar-empty {
  width: 300px;
  height: 28px;
  background: url("progress-bar-empty.png") no-repeat center;
}

#unity-progress-tips-image {
  width: 250px;
  background: url("progress-tip.png") no-repeat center;
}

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

#unity-footer {
  position: relative;
}

.unity-mobile #unity-footer {
  display: none;
}

#unity-webgl-logo {
  float: left;
  width: 204px;
  height: 38px;
  background: url("webgl-logo.png") no-repeat center;
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}
