body {
  margin: 0;
  max-height: 100%;
  height: 100%;
  /*overflow: hidden;*/
  background-color: #0000;
  background-position: center top;
  /*background-size: cover;*/
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
}

body.Dark {
  color: black;
}
body.Light {
  color: black;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#main-container,
#app-container,
#unity-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: black;
}

.loader {
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  display: none;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  background-color: black;
}

.loader.active {
  display: block;
}

.container {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

.logo {
  width: auto;
  max-width: 80%;
  margin: 30px auto;
  max-height: 150px;
}

.progressbar {
  width: 100%;
  padding: 1px;
  left: 0;
  border: 1px solid #333;
  border-radius: 10px;
}

.Dark .progressbar {
  border: 1px solid white;
}

.fill {
  height: 6px;
  background: #333;
  display: block;
  border-radius: 10px;
  width: 0%;
  transition-property: width;
  transition-duration: 1s;
}

.Dark .fill {
  background: white;
}

.center {
  overflow: hidden;
  margin: 20px auto 0;
  padding: 20px;
}

.footer-cont {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

h1 {
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.Dark h1 {
  border-bottom: 0px solid white;
}

.logo-cont,
.title-cont {
  float: left;
  display: block;
}

.logo-cont {
  width: 25%;
}

.title-cont {
  width: 70%;
  margin-left: 2%;
}

.button {
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}

.floattopRight {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
}

.floatbottomLeft {
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
}

span.imgbutton {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@supports (padding: env(safe-area-inset-bottom)) {
  html,
  body,
  #unity-canvas {
    padding-bottom: env(safe-area-inset-bottom);
    margin: 0;
  }
}
