body {
  touch-action: none;
  margin: 0;
  border: 0 none;
  padding: 0;
  text-align: center;
  background-color: black;
}

#gameWrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

canvas {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
}

#center_div {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  box-sizing: border-box;
}

#loading {
  position: absolute;
  top: 60vh; /* Default for all viewports */
  display: block;
  color: white;
  text-align: center;
  font-family: Helvetica, sans-serif;
}

@media only screen and (max-height: 768px) and (orientation: landscape) {
  #loading {
    top: 70vh; /* Specific for mobile devices in landscape */
  }
}

#player-container {
  height: 30rem;
  padding-top: 10px;
  background-color: #000000;
}

.loading-bar {
  position: absolute;
  top: 52vh; /* Default for all viewports */
  width: 300px;
  background-color: #e0e0e0;
  padding: 3px;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-height: 768px) and (orientation: landscape) {
  .loading-bar {
    top: 70vh; /* Specific for mobile devices in landscape */
  }
}

.tg-progress {
  width: 0;
  height: 15px;
  background-color: #0c60c7;
  border-radius: 2px;
  /* animation: loading 3s linear forwards; */
}

@keyframes loading {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
