html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  height: 100vh;
}

canvas {
  display: block;
}

body {
  margin: 0;
  /* background: radial-gradient(#C5ADF6, #746CF1); */
  background: url("bg.png");
  background-size: cover;
}

#unity-container {
  width: 100%;
  height: 100%;
}

#unity-canvas {
  width: 100%;
  height: 100%;
}

#loginIframe {
  position: fixed;
  /* Use fixed to ensure it always covers the full viewport */
  top: 0;
  left: 0;
  width: 100%;
  /* 100% of the viewport's width */
  height: 100vh;
  /* 100% of the viewport's height */
  border: none;
  z-index: 100;
  display: none;
  background-color: white;
}

#loading-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#unity-loading-bar {
  flex: 1 1 auto;
  padding-top: 40px;
  /* display: flex; */
  text-align: -webkit-center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#unity-title {
  margin-top: 5%;
  text-align: center;
}

#unity-title img {
  max-width: 100%;
}

#unity-logo {
  text-align: center;
}

#unity-logo img {
  max-width: 100%;
}

.loader-wrapper {
  position: relative;
}

#loading-container {
  padding-top: 3%;
  width: 1440px;
  height: 1440px;
}

#unity-loader-circle-base {
  position: absolute;
  z-index: 0;
  background-color: transparent;
  border: 35px solid rgb(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 1440px;
  height: 1440px;
  border-top-color: white;
  border-left-color: white;
}

#loader-over-images {
  width: 100%;
  position: absolute;
  top: 6%;
  display: flex;
  justify-content: space-between;
}

.boom-char {
  width: 200px;
  height: 200px;
  /* mix-blend-mode: multiply; */
}

#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);
  }
}

@media only screen and (max-width: 1350px) {
  #loader-over-images {
    top: 8vw;
  }

  #loading-container {
    padding-top: 4vw;
    width: 90vw;
    height: 90vw;
  }

  #unity-loader-circle-base {
    width: 90vw;
    height: 90vw;
  }
}

@media only screen and (min-height: 650px) and (max-height: 700px) {
  #unity-title {
    margin-top: 0;
    text-align: center;
  }

  #unity-title img {
    max-width: 45vh;
  }

  #unity-logo {
    text-align: center;
  }

  #unity-logo img {
    max-width: 45vh;
  }

  #loader-over-images {
    top: 8vh;
  }

  #loading-container {
    padding-top: 2vw;
  }
}

@media only screen and (min-height: 500px) and (max-height: 650px) {
  #unity-title {
    margin-top: 0;
    text-align: center;
  }

  #unity-title img {
    max-width: 40vh;
  }

  #unity-logo {
    text-align: center;
  }

  #unity-logo img {
    max-width: 40vh;
  }

  #loader-over-images {
    top: 5vh;
  }

  #loading-container {
    padding-top: 2vw;
  }
}

@media only screen and (min-height: 700px) and (max-height: 813px) {
  #unity-title {
    margin-top: 0;
    text-align: center;
  }

  #unity-title img {
    max-width: 45vh;
  }

  #unity-logo {
    text-align: center;
  }

  #unity-logo img {
    max-width: 45vh;
  }

  #loader-over-images {
    top: 12vh;
  }
}
