body {
  padding: 0;
  margin: 0;
  height: 100%;
}
html {
  height: 100%;
}
#unity-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#unity-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: #000; /* fallback color */
}

/*  Make sure the loading bar is shown */
#unity-loading-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  z-index: 1000;
}

/*  Fix the logo filename */
#unity-logo {
  width: 512px;
  max-width: 512px;
  height: 428px;
  background: url('unity-logo-light.png') no-repeat center;
  background-size: contain;
  margin: auto;
  position: relative;
  display: block;
}

/*  Fix progress bar images */
#unity-progress-bar-empty {
  width: 60%;
  max-width: 500px;
  height: 18px;
  margin: 10px auto 0 auto;
  background-color: #444; /* dark gray background bar */
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

#unity-progress-bar-full {
  height: 100%;
  width: 0%;
  background-image: linear-gradient(90deg, #fcd77a, #fcc56a, #fcd77a);
  transition: width 0.3s ease;
  border-radius: 9px 0 0 9px;
}

/* Footer etc */
#unity-footer {
  position: relative;
}
.unity-mobile #unity-footer {
  display: none;
}
#unity-logo-title-footer {
  float: left;
  width: 102px;
  height: 38px;
  background: url('unity-logo-title-footer.png') no-repeat left;
}
#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: arial;
  font-size: 18px;
}
#unity-fullscreen-button {
  cursor: pointer;
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
}
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background:white;
  padding: 10px;
  display: none;
}
