html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  height: 100%;
}

canvas {
  display: block;
}

body {
  margin: 0;
}
body, canvas, #canvas {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
}

#unity-container {
  width: 100%;
  height: 100%;
}

#unity-canvas {
  width: 100%;
  height: 100%;
}

#loading-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  background: #000000;
  background-size: cover;
}

#unity-loading-bar {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90%;
}

#loadingPercentText {
  position: absolute;
  width: 240px;
  height: 38px;
  text-align: center;
  margin-top: 5px;
  font-family: sans-serif, Serif;
  text-shadow:
    0px 0px 3px black;
  color: #FFFF00;
  font-weight: bold;
  font-size: 25px;
  z-index:1;
}

#unity-logo {
  width: 150px;
  height: 150px;
  background: url(../TemplateData/gameIcon.webp);
  background-size: contain;
 }

#progressBar {

  width: 256px;
  height: 52px;
}
#unity-progress-bar-empty {
  position: absolute;
  width: 256px;
  height: 52px;
  margin: 10px 0px 10px 0px;
  text-align: left;
  background: url(../TemplateData/fillBack.webp) no-repeat;
  background-size: contain;
}
#unity-progress-bar-full-cover {
  margin: 10px 0px 10px 0px;
  position: absolute;
  display: flex;
  padding: 8px;
  width: 256px;
  height: 52px;
}
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #19ff00;
}

.light #unity-progress-bar-empty {
  border-color: black;
}

.light #unity-progress-bar-full {
  background: black;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 5em;
  height: 5em;
}

.spinner {
  margin: 10px;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #04bc04;
  transform: translateZ(0);
  animation: spinner-spin 1.1s infinite linear;
}

@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
