body {
  touch-action: none;
  margin: 0;
  border: 0 none;
  padding: 0;
  text-align: center;
  background-color: black;
  box-sizing: border-box;
  color: white;
  display: block;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue", Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}

.d-none {
  display: none !important;
}

.z-0 {
  z-index: 0 !important;
}

#canvas {
  display: block;
  margin: 0;
  color: white;
}

#canvas:focus {
  outline: none;
}

.godot {
  font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
  color: #e0e0e0;
  background-color: #3b3943;
  background-image: linear-gradient(to bottom, #403e48, #35333c);
  border: 1px solid #45434e;
  box-shadow: 0 0 1px 1px #2f2d35;
}


/* Status display
 * ============== */

#status {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  height: 100vh;
}

#status-panel {
  /* position: absolute; */
  visibility: hidden;
}

#status-background {
  display: block;
  visibility: hidden;
  height: 100%;
  width: 100%;
}

#status-loading-animation {
  height: 100px;
  width: 100px;
  animation: rotation 1.5s infinite linear;
  visibility: hidden;
  display: none;
}

@keyframes rotation {
  from {
    transform: rotate(359deg);
  }

  to {
    transform: rotate(0deg);
  }
}

#status-background img {

  height: 100%;
  display: block;
  width: 100%;
  object-fit: cover;
  bottom: 20%;
}

#status-play-img {
  visibility: hidden;
  display: none;
}


.center-container {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  height: 100vh;
  /* bottom: 50%; */
  /* transform: translateY(50%); */
  /* position: absolute; */
  /* margin-top: 50%; */
  max-width: 700px;
}

.center-container img,
.center-container input {
  /* visibility: visible;
    display: block; */
  width: 100%;
  height: auto;
  margin: auto;
  /* max-width: 300px; */
}

.loading-container {
  width: 100%;
  position: relative;
  margin: auto;
}

.loading-bar-background {
  width: 80%;
  max-width: 600px;
  height: 30px;
  background-image: url('/images/Frame.webp');
  /* Replace with your background image URL */
  background-size: cover;
  border-radius: 15px;
  overflow: hidden;
  /* border: 2px solid #ccc; */
}

.loading-bar-foreground {
  height: 100%;
  background-image: url('/images/Loading.webp');
  /* Replace with your foreground image URL */
  background-size: cover;
  border-radius: 15px 0 0 15px;
  transition: width 0.5s ease;
}

#text-progress {
  visibility: hidden;
  display: none;
  font-family: 'Roboto Condensed', sans-serif;
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px rgb(0, 132, 255),
    0 0 82px rgb(0, 132, 255),
    0 0 92px rgb(0, 132, 255),
    0 0 102px rgb(0, 132, 255),
    0 0 151px rgb(0, 132, 255);
  position: absolute;
  left: 50%;
  font-size: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
}

#status-loading-img {
  visibility: hidden;
  display: none;
}

.black-panel {
  background: #000000e6;
  border-radius: 0.5em;
  border: 2px solid #8f8c8c;
  font-family: 'Roboto Black';
  /* font-weight: bold; */
}

#game-version {
  position: absolute;
  z-index: 300;
  right: 0;
  bottom: 0;
  margin: 0;
  margin-left: 0.25rem;
}

#company-logo {
  width: 100%;
}

.bar-container {
  width: 100%;
  text-align: center;
}

/* .progress {
    padding: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
  } */

.progress {
  border-radius: 30px;
  background: rgb(20 20 20);
  box-shadow: inset 0 1px 2px rgb(14 14 14), 0 1px rgb(22 22 22);
  border: solid 2px;
  border-color: #0e0e0e;
  padding: 3px;
}

.progress-bar {
  height: 7px;
  border-radius: 30px;
  background-image: linear-gradient(to right, rgb(0 47 225), rgb(38 108 213));
  transition: 0.4s linear;
  transition-property: width, background-color;
}

.progress-moved .progress-bar {
  width: 0%;
  animation: progressAnimation 6s;
}

@media (orientation: landscape) {
  #company-logo {
    width: 100%;
    display: flex;
    height: 50%;
    flex-direction: column;
    position: relative;
  }

  .center-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (orientation: portrait) {
  #company-logo {
    width: 100%;
    display: flex;
    height: unset;
    flex-direction: column;
    position: relative;
  }

  .center-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
