@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@700&display=swap");

body {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  text-align: center;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
.game-wrapper {
  width: 100%;
  background: no-repeat center url(../Web_bg.webp);
  background-size: cover;
  margin: 0;
  min-height: 100%;
}
.game {
  position: relative;
  /* min-height: 100%; */
}

.webgl-content {
  border: none;
  bottom: 30%;
  height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#unityContainerCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

#unityContainer {
  width: 78.25%;
  height: auto;
  box-shadow: 0px 0px 50px 20px black;
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
  aspect-ratio: 16/9;
  max-width: calc(16 / 9 * 90vh);
  margin-top: 25px;
}

#logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
}

#video {
  position: absolute;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;

  z-index: 1;
}

.progress {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 100%;
  height: 1.3%;
  z-index: 2;
  padding-bottom: 1px;
  background: #00000094;
}

.empty {
  background: no-repeat center / contain url(progressEmpty.Dark.png);
  float: right;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.full {
  background: left / cover url(progressFull.Dark.png);
  float: left;
  width: 0%;
  height: 100%;
  display: inline-block;
}

aside {
  padding-bottom: 5px;
}

.link {
  color: white;
  font-weight: bold;
}

/* modal-age-verification */

#modal,
#modal_img-wrapper {
  width: 100%;
}

#under {
  position: absolute;
  bottom: 27%;
  left: 50%;
  translate: -50%;
  font-size: min(3vmin, calc(10px + 12 * (100vw - 320px) / 880));
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 50;
  padding: 1%;
  text-decoration: underline;
  cursor: pointer;
}

#backgroundElement {
  position: absolute;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;

  z-index: 1;
  background:
    top / cover no-repeat url(./loadingScreen.webp),
    black;
}

#backgroundElement::after {
  content: "";
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0) 14%
  );
}

#backgroundElement.no-bg {
  background: transparent;
}
#backgroundElement.no-bg::after {
  content: none;
}

/* credentials*/

.credentials-container {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 5;
  display: none;
}

.credentials-container img {
  width: 100%;
  height: auto;
  display: block;
}

.credentials-container .close-btn {
  position: absolute;
  top: 1%;
  right: 1%;
  width: 4%;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.credentials-container .close-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
