html {
    /* box-sizing: border-box; */
    font-family: 'Titillium Web', sans-serif;
}
/* *, *:before, *:after {
    box-sizing: inherit;
} */
/* html, body {
    height: 100%;
} */
canvas {
    display: block;
}
body {
    margin: 0;
}
#unity-container {
  position: absolute;
    width: 100%;
    height: 100%;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#unity-loading-bar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-image:url("../TemplateData/background.png");
    background-size:cover;
	background-position: center;
	width: 100%;
    height: 100%;
}
#unity-logo {
    text-align: center;
}
#unity-logo img {
    max-width: 400px;
}
#unity-progress-bar-empty {
    background-color: #474747;
    width: 50%;
    height: 20px;
    border-radius: 999px;
    position: relative;
}
#unity-progress-bar-full {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0%, -50%);
    background-color: #1AFFFF;
    width: 100px;
    height: 11px;
    box-shadow: 0px 3px 27px #1affff;
    border-radius: 10px;
}
.light #unity-progress-bar-empty {
    border-color: black;
}
.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.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);
  }
}

#text-loading{
    color: white;
    margin-top: 24px;
    font-weight: bolder;
    font-size: 50px;
}

  #rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 1rem;
    transform: translate(-50%, -50%);

  }
  #rotate p {
    color: #ffffff;
    text-align: center;
  }
  #rotate svg {
    width: 100px;
    height: 100px;
    transform: rotate(360deg);
  }
  
  #text-loading {
    color: white;
    margin-top: 24px;
    font-weight: bolder;
    font-size: 50px;
  }
  .rotate {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 2000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
  
    -moz-animation-name: spin;
    -moz-animation-duration: 2000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
  
    -ms-animation-name: spin;
    -ms-animation-duration: 2000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
  
    animation-name: spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  @-ms-keyframes spin {
    from {
      -ms-transform: rotate(180deg);
    }
    to {
      -ms-transform: rotate(90deg);
    }
  }
  @-moz-keyframes spin {
    from {
      -moz-transform: rotate(180deg);
    }
    to {
      -moz-transform: rotate(90deg);
    }
  }
  @-webkit-keyframes spin {
    from {
      -webkit-transform: rotate(180deg);
    }
    to {
      -webkit-transform: rotate(90deg);
    }
  }
  @keyframes spin {
    from {
      transform: rotate(180deg);
      opacity: 1;
    }
    to {
      transform: rotate(90deg);
      opacity: 0;
    }
  }
@media (max-width: 425px) {
    #unity-logo img {
        max-width: 100%;
        padding: 0 10px;
    }
    #unity-progress-bar-empty {
        width: 100%;
    }
}
@media (max-height: 414px) {
    #unity-logo img {
        max-width: 45%;
        padding: 0 10px;
        margin-bottom: 1rem;
    }
}
