body {
  background-color: black;
}

.loading-overlay {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  background-color: #f19a30;
  background-image: url(assets/leaf-patern.png);
  background-size: 200px 200px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: scrolling 15s linear infinite;
  transition: opacity ease-in-out 2s;
}

.loading-overlay > .logo {
  width: 80%;
  max-width: 300px;
}

.loading-overlay > .loading-bar {
  width: 70%;
  max-width: 150px;
  height: 10px;
  background-color: #a26214;
  border-radius: 10px;
  overflow: hidden;
}

.loading-overlay > .loading-bar > .loading-fill {
  width: 0;
  height: 100%;
  background-color: white;
  transition: width ease-in-out 0.5s;
  border-radius: 10px;
}

.loading-overlay > .loading-text {
  font-family: sans-serif;
  color: white;
}

.webview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
}

.webview-overlay > iframe {
  width: 80%;
  height: 80%;
  max-width: 800px;
  max-height: 600px;
  border-width: 0;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.game-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

@keyframes scrolling {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 800px 400px;
  }
}
