html,
body,
#app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: black;
}

/**
*loading
**/
.loaderRectangle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 3px;
  height: 50px;
}

.loaderRectangle div {
  width: 10px;
  height: 16px;
  animation: 0.9s ease-in-out infinite;
  background: #f9f9f9;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.loaderRectangle div:nth-child(1) {
  animation-name: rectangleOneAnim;
  animation-delay: 1s;
}

@keyframes rectangleOneAnim {
  0% {
    height: 15px;
  }

  40% {
    height: 30px;
  }

  100% {
    height: 15px;
  }
}

.loaderRectangle div:nth-child(2) {
  animation-name: rectangleTwoAnim;
  animation-delay: 1.1s;
}

@keyframes rectangleTwoAnim {
  0% {
    height: 15px;
  }

  40% {
    height: 40px;
  }

  100% {
    height: 15px;
  }
}

.loaderRectangle div:nth-child(3) {
  animation-name: rectangleThreeAnim;
  animation-delay: 1.2s;
}

@keyframes rectangleThreeAnim {
  0% {
    height: 15px;
  }

  40% {
    height: 50px;
  }

  100% {
    height: 15px;
  }
}

.loaderRectangle div:nth-child(4) {
  animation-name: rectangleFourAnim;
  animation-delay: 1.3s;
}

@keyframes rectangleFourAnim {
  0% {
    height: 15px;
  }

  40% {
    height: 40px;
  }

  100% {
    height: 15px;
  }
}

.loaderRectangle div:nth-child(5) {
  animation-name: rectangleFiveAnim;
  animation-delay: 1.4s;
}

@keyframes rectangleFiveAnim {
  0% {
    height: 15px;
  }

  40% {
    height: 30px;
  }

  100% {
    height: 15px;
  }
}
#loading {
  position: fixed;
}

#loading-text {
  margin-top: 20px;
}

#loading-text p {
  margin: 0;
  padding: 0;
}

@property --progress {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.g-progress {
  margin: auto;
  width: 240px;
  height: 5px;
  border-radius: 25px;
  background: linear-gradient(
    90deg,
    #fff,
    rgb(181, 233, 233) var(--progress),
    transparent 0
  );
  border: 1px solid #eee;
  transition: 0.3s --progress;
}

/**
* mask
**/
#mask {
  background-color: black;
  position: fixed;
  z-index: 2;
  opacity: 0.55;
  border-radius: 3%;
  display: none;
}
#tips {
  z-index: 3;
  cursor: pointer;
  display: none;
}

/* weapon**/
.weapon {
  display: none;
}
.weapon-gun {
  display: flex;
  color: #fff;
  font-size: 12px;
  align-items: center;
  border-radius: 3%;
  padding: 10px;
  border-bottom: solid 1px #2f2f2f;
}
.weapon-gun:hover {
  background-color: rgb(255, 230, 0);
  color: #000;
}
.weapon-gun div {
  margin: 0 5px;
}
.weapon-gun_left {
  width: 50px;
  height: 50px;
  background-color: #585858;
  border-radius: 3%;
  line-height: 50px;
  text-align: center;
  font-size: 30px;
}
.weapon-gun_right > p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
}
.weapon-gun_right > p:first-child {
  font-size: 16px;
  font-weight: bold;
}

/** button**/

.position-control {
  z-index: 9999;
  position: absolute;
  bottom: 35px;
  width: 80px;
  height: 80px;
  left: 50%;
  transform: translateX(-50%);
}
.jump-control:hover,
.change-control:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.jump-control {
  z-index: 9999;
  position: absolute;
  bottom: 35px;
  width: 60px;
  height: 60px;
  left: 50%;
  transform: translate(190%, -20%);
  border-radius: 100%;
  cursor: pointer;
}
.change-control {
  z-index: 9999;
  position: absolute;
  bottom: 35px;
  width: 60px;
  height: 60px;
  left: 50%;
  transform: translate(-295%, -20%);
  border-radius: 100%;
  cursor: pointer;
}
.change-control > img,
.jump-control:img {
  height: 100%;
  width: 100%;
}
