/* import font REM-Regular.ttf */
@font-face {
  font-family: "REM";
  src: url("REM-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "REM2";
  src: url("REM-Medium.ttf") format("truetype");
}


html,
body {
  background: #000;
  width: 100%;
  height: 100%;
  overflow: visible;
  padding: 0;
  margin: 0;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

#unity-canvas {
  width: 100%;
  height: 100%;
}

#logo {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 9/16;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

#logo img {
  width: 75%;
  height: auto;
}

#unity-loading-bar {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: black;
  z-index: 1;
}

#unity-loading-background {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.container-aspect-ratio {
  /* aspect-ratio: 9/16; */
  background: url("bg.png") no-repeat center;
  background-size: cover;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

#start-text {
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center; /* Untuk memastikan teks di dalam elemen ikut terpusat */
}

#start-text span {
  position: relative; /* Ubah ke relative karena tidak diperlukan absolute */
  display: block;
  font-family: "REM2";
  color: #464775;
  font-size: 17px;
  text-align: center; /* Untuk teks yang mungkin panjang */
}

#ver-text {
  position: absolute;
  aspect-ratio: 9/16;
  bottom: 40px;
}

#ver-text span {
  position: absolute;
  bottom: -10px;
  left: 40px;
  transform: translateX(-50%);
  display: block;
  font-family: "REM";
  color: #464775;
  font-size: 15px;
  font-weight: 500;
}

/* media under 820px use height 50vh */
@media screen and (max-width: 680px) {
  #logo {
    width: 100dvw;
  }

  #ver-text {
    width: 100dvw;
  }
}

/* media over 820px use height 100vh */
@media screen and (min-width: 680px) {
  #logo {
    height: 100dvh;
  }

  #ver-text {
    height: 100dvh;
    margin: auto;
    color: white;
  }
}

#unity-logo {
  width: 154px;
  height: 130px;
}


#unity-progress-bar-empty {
  align-self: flex-end;
  width: 100%;
  height: 12px;
  background-color: #3F496E;
  transform: skewX(-20deg);
  margin-left: 26px;
  margin-right: 26px;
  margin-bottom: 54px;
}

#unity-progress-bar-full {
  transform: translate(0, calc(-50% - 1px)) scaleX(1.03);
  width: 20%;
  height: 13px;
  margin-top: 7px;
  background: linear-gradient(to right, #E65B8B, #FB72BE);
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}
