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 {
  width: 100%;
  height: 100%;
}
#unity-canvas {
  background: url("Loading_BG.png") no-repeat center center; /* Replace with your image URL */
  background-size: cover;
}
.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

#unity-custom-loading-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  text-align: center;
}

#custom-name {
  background-image: url("NameImage.png"); /* Replace with your image file */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 300px; /* Adjust the width as needed */
  height: 50px; /* Adjust the height as needed */
  margin: 0 auto; /* Ensure the name image is centered */
  margin-bottom: 20px; /* Space between the name image and the logo */
}

#custom-logo {
  background-image: url("Loading Icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 200px;
  margin: 0 auto; /* Ensure the logo is centered */
}

#custom-loader {
  margin-top: 20px;
  width: 80%;
  height: 50px;
  background: lightgray;
  box-shadow: 0px 0px 15px 5px black;
  position: relative; /* Ensure it positions relative to #unity-custom-loading-screen */
  margin: 20px auto; /* Center the loader */
}

#custom-loader .fill {
  width: 0%;
  height: 100%;
  background: rgb(251, 255, 14);
}

#custom-loader .label {
  position: absolute;
  width: 100%;
  top: 0;
  font-size: 35px;
  text-align: center;
  font-family: sans-serif, calibri;
  line-height: 50px; /* Vertically center the label */
}

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

#unity-footer {
  position: relative;
}

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

#company-logo {
  float: left;
  width: 404px;
  height: 38px;
  background: url("company_logo.png") no-repeat center;
}

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

#unity-fullscreen-button {
  float: right;
  width: 38px;
  position: absolute;
  bottom: 11px;
  left: 16px;

  height: 38px;
  background: url("fullscreen-button.png") no-repeat center;
}
