/* import font LilitaOne-Regular.ttf */
@font-face {
  font-family: "LilitaOne";
  src: url("LilitaOne-Regular.ttf") format("truetype");
}

body {
  padding: 0;
  margin: 0;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

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

#unity-loading-bar {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: black;
}

#unity-loading-background {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-aspect-ratio {
  height: 100vh;
  aspect-ratio: 9/16;
  background: url("bg.png") no-repeat center;
  background-size: cover;
  display: flex;
}

#start-text {
  position: absolute;
  left: 50%;
  /* top: 50%; */
  bottom: 10%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  font-family: "LilitaOne";
  /* add 2px stroke and 2px underlay for this text */
  /* --text-outline-color: #1d3f70;
  --text-outline-width: 4px;
  --text-underlay-offset: 8px; */
  /* text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000,
    -2px 2px 0 #000; */
  /* text-shadow: var(--text-outline-width) var(--text-outline-width) 0
      var(--text-outline-color),
    calc(-1 * var(--text-outline-width)) calc(-1 * var(--text-outline-width)) 0
      var(--text-outline-color),
    var(--text-outline-width) calc(-1 * var(--text-outline-width)) 0
      var(--text-outline-color),
    calc(-1 * var(--text-outline-width)) var(--text-outline-width) 0
      var(--text-outline-color),
    var(--text-underlay-offset) 0 0 var(--text-outline-color); */
  text-shadow: rgb(29, 63, 112) 3px 0px 0px,
    rgb(29, 63, 112) 2.83487px 0.981584px 0px,
    rgb(29, 63, 112) 2.35766px 1.85511px 0px,
    rgb(29, 63, 112) 1.62091px 2.52441px 0px,
    rgb(29, 63, 112) 0.705713px 2.91581px 0px,
    rgb(29, 63, 112) -0.287171px 2.98622px 0px,
    rgb(29, 63, 112) -1.24844px 2.72789px 0px,
    rgb(29, 63, 112) -2.07227px 2.16926px 0px,
    rgb(29, 63, 112) -2.66798px 1.37182px 0px,
    rgb(29, 63, 112) -2.96998px 0.42336px 0px,
    rgb(29, 63, 112) -2.94502px -0.571704px 0px,
    rgb(29, 63, 112) -2.59586px -1.50383px 0px,
    rgb(29, 63, 112) -1.96093px -2.27041px 0px,
    rgb(29, 63, 112) -1.11013px -2.78704px 0px,
    rgb(29, 63, 112) -0.137119px -2.99686px 0px,
    rgb(29, 63, 112) 0.850987px -2.87677px 0px,
    rgb(29, 63, 112) 1.74541px -2.43999px 0px,
    rgb(29, 63, 112) 2.44769px -1.73459px 0px,
    rgb(29, 63, 112) 2.88051px -0.838247px 0px;
}

#unity-logo {
  width: 154px;
  height: 130px;
}


#unity-progress-bar-empty {
  align-self: flex-end;
  width: 100%;
  height: 18px;
  margin-bottom: 7vh;
  overflow: hidden;
  background: #1d3f70;
  border-top: 1px solid rgba(29, 63, 112, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#unity-progress-bar-full {
  transform: translate(0, calc(-50% - 1px)) scaleX(1.03);
  width: 0%;
  height: 17px;
  margin-top: 10px;
  /* DARK-green to green from bottom */
  background: linear-gradient(to top, #0aaa39, #68f15f);
  /* apply border radius only for left corners */
  border-radius: 0 9px 9px 0;
}

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

#iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
}

#unity-overlay {
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#show-iframe {
  position: absolute;
  width: 60px;
  height: 60px;
  left: 32px;
  top: 32px;
}

#intro-video {
  width: 100dvw;
  height: 100dvh;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  overflow: hidden;
}

@media screen and (max-width: 769px) {
  .bumper {
    width: 50vw;
  }
}

@media screen and (min-width: 1000px) {
  .bumper {
    width: 20vw;
  }
}


#svgGroup1 {
  animation: svgGroup1_c_o 2000ms linear 1 normal forwards
}

@keyframes svgGroup1_c_o {
  0% {
    opacity: 0
  }

  35% {
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 1
  }
}

#svgGroup3_ts {
  animation: svgGroup3_ts__ts 2000ms linear 1 normal forwards
}

@keyframes svgGroup3_ts__ts {
  0% {
    transform: translate(348.818105px, 138.652738px) scale(1.2, 1.2);
    filter: drop-shadow(0 0 100px white);
  }

  27% {
    transform: translate(348.818105px, 138.652738px) scale(1.2, 1.2);
  }

  40% {
    transform: translate(348.818105px, 138.652738px) scale(1, 1)
  }

  100% {
    transform: translate(348.818105px, 138.652738px) scale(1, 1)
  }
}

#svgGroup3 {
  animation: svgGroup3_c_o 2000ms linear 1 normal forwards
}

@keyframes svgGroup3_c_o {
  0% {
    opacity: 0
  }

  24% {
    opacity: 0
  }

  40% {
    opacity: 1
  }

  100% {
    opacity: 1
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
