* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #3f3f3f;
  touch-action: pan-x pan-y;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#root {
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-container {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader-logo {
  max-width: 70%;
  margin-top: 30px;
}

.loading-bar {
  position: relative;
  background-clip: padding-box;
  max-width: 70%;
  width: 378px;
  height: 10px;
  margin-top: 60px;
}

.loading-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(to left, #a1805f, #cd6de8, #67d7b6);
  -webkit-mask:
    linear-gradient(white, white) content-box,
    linear-gradient(white, white);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* width changes in LoaderScreen.ts */
.loading-progress {
  width: 0px;
  height: 4px;
  background-color: #e2f4f2;
  border-radius: 25px;
  margin-top: 3px;
  margin-left: 3px;
}

.version {
  position: fixed;
  top: 1.5em;
  left: 1em;
  color: rgb(10, 243, 29);
  font-size: 20px;
}

.free-spin-debug-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-x: auto;
  overflow-y: auto;
}

@media screen and (orientation: portrait) {
  .free-spin-debug-panel {
    width: 70%;
    height: 40%;
  }
}

@media screen and (orientation: landscape) {
  .free-spin-debug-panel {
    width: 30%;
    height: 55%;
  }
}

@media screen and (orientation: landscape) and (pointer: coarse) {
  html,
  body {
    overflow: hidden !important;
    min-height: 100%;
  }
}

@media screen and (orientation: landscape) and (max-width: 1366px) {
  html,
  body {
    overflow: hidden !important;
    min-height: 100%;
  }
}
