
:root{
  --logo-width: min(80vw, 400px, 80vh);
  --loader-images-size: min(80vw, 400px, 30vh);
  --progress-percentage: 0.1;
}

* {
  box-sizing: border-box;
  user-select: none;
}

html,
body {
  height: 100%;
}

body {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #000;
}

#scroll {
  width: 100%;
  height: 2000px;
  position: absolute;
   display: none;
}

#loading {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.main {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.column0{grid-column: column0}
.row0{grid-row: row0}
.hero_children{
  grid-row: row0;
  grid-column: column0
}

#kapito_logo img, #kapito_text img {
  width: var(--loader-images-size);
  height: var(--loader-images-size);
}
#kapito_progress {
  width: calc(var(--loader-images-size) * (var(--progress-percentage) / 100));
  height: 10px;
  background-color: #00ECF6;
}
#powered-logo {
  width: var(--loader-images-size);
  height: auto;
}

#external_game_popup {
  background-color: rgba(0,0,0,0.8);
  width: 100vw;
  height: 100vh;
  position: absolute;
  display: flex;
  z-index: 10;
  font-family: Montserrat, sans-serif;
}

#popup_content {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: calc(100vw / 2);
  height: calc(100vh / 2);
  max-height: 400px;
  max-width: 600px;
  margin: auto;
}

#popup_buttons {
  display: flex;
}

#popup_message {
  margin: 20px auto;
  color: white;
  font-size: 18px;
  text-align: center;
}

.popup_button {
  margin: 10px auto;
  border: 3px solid;
  border-radius: 20px;
  background-color: black;
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
  min-width: 60px;
  min-height: 60px;
  display: block;
}
.popup_button.home_button,
.popup_button.adjust_button,
.popup_button.reload_button,
.popup_button.deposit_button,
.popup_button.ok_button {
  width: 150px;
  background-position: center;
  background-size: 40px;
  background-repeat: no-repeat;
}

.hide {
  display: none !important;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  animation: fadeOut 2s;
}

@keyframes fadeOutRemove {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
  }
}

.fadeOutRemove {
  animation: fadeOut 1s;
}

.wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
}

.loadingContainer {
  position: relative;
  display: flex;
  align-items: center;
  height: 5vh;
}

@-webkit-keyframes rot {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}