/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

body {
  height: 100%;
  overflow: hidden;
  width: 100%;
  position: fixed;
  padding: 0;
  margin: 0;
  touch-action:none;
}

#unity-container {
  position: fixed;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  #unity-container {
    position: absolute;
    width: 60vh;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/unity/bg.jpg") no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px);
    z-index: -1;
  }
}

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

#loading-screen {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

@keyframes fade {
  0%, 100% {
    opacity: 1.0;
  }
  50% {
    opacity: 0.6;
  }
}

.unity-loading-container {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 25px;
}

.unity-loading-background {
  background: #250D47;
  border: 2px solid #250D47;
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(255,255,255,0.3);
  width: 100%;
  height: 100%;
}


.unity-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #BC16CA, #C262CD);
  border-radius: 3px;
  box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.bounce-loader {
  position: absolute;
  bottom: -0.5%;
  left: -5%;
  transform: scale(0.4);
}
