html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}

/* Unity container */

#unity-container { position: absolute }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas {
    background: #F6F6F6;
}
.unity-mobile #unity-canvas { width: 100%; height: 100% }

/* mobile qrcode */

p#mobile-text {
    font-family: Verdana, sans-serif;
    text-align: center;
}

#qrcode img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0)
}

/* Loading Cover */

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -102px;
}
#unity-logo {
    max-width: 15%;
    text-align: center;
}
#unity-logo img {
    width: 100%;
}
#unity-progress-bar-empty {
    width: 700px;
    height: 8px;
    margin: 84px 0px 0px 10px;
    text-align: left;
    padding: 2px;
    border-radius: 4px;
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: #D6D6D6;
    border-radius: 2px;
}
.light #unity-progress-bar-empty {
    background: #D6D6D6;
    border-color: darkgray;
}
@keyframes glow {
    from {background: #125FE7;}
    to {background: #bbd0f4;}
}
.light #unity-progress-bar-full {
    background: #125FE7;
    animation-name: glow;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
    border-radius: 5px;
}

#unity-interaction-button {
    position: absolute;
    right: 70px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: #1faed3;
    background-size: contain;
    border-radius: 5px;
}

.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 #ffffff;
  transform: translateZ(0);
  animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


