* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background-color: #000;
  background-image: url('../img/bg.gif');
  background-repeat: repeat;
  background-position: fixed;
  background-size: 100% 100%;
  font-family: courier;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

.stage {
  height: 100vh;
  width: 100vw;
  perspective: 800px;
  transform-style: preserve-3d;
  /* cursor: none; */
}

.hitbox {

  height: 275px;
  width: 225px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  position: relative;
  transition: all 100ms ease;
}

.hitbox.active {
  display: block;
  border-radius: 50%;
  pointer-events: initial;
}

.slapper {
  position: absolute;
  height: 100%;
  width: 100%;
  /* top: -50px; */
  /* left: -50px; */
  background-image: url('../img/smallNut.png');
  background-position: top center;
}

.hitbox * {
  pointer-events: none;
  background-repeat: no-repeat;
}

audio {
  display: block;
}

.notice {
  display: none;
  width: 400px;
  text-align: center;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  color: white;
  padding: 30px 60px;
  background: rgba(0, 0, 0, .8);
  transform: translateX(-50%) translateY(-50%);
}

.notice.active {
  display: block;
}

.cursor {
  z-index: 20;
  top: -125px;
  left: -80px;
  position: fixed;
  pointer-events: none;
}

.cursor .hand {
  height: 250px;
  width: 165px;
  transition: all 50ms linear;
  background-image: url('../img/slappit.png');
  transform: scale(1);
  background-repeat: no-repeat;
  backface-visibility: hidden;
}

.cursor.active .hand {
  transform: scale(.8);
}

.stage.end,
.stage.end * {
  pointer-events: none;
}

.over {
  z-index: 10;
}

.hits.main {
  position: fixed;
  top: 0;
  left: 50%;
  z-index 1;
  pointer-events: none;
  transition: all 100ms ease;
  transform: translateY(0px) translateX(100px) scale(2);
  color: #fff;
}

.hits.main.active {
  opacity: 1;
  transform: translateY(0px) translateX(100px) scale(3);
}


@media (max-width: 768px) {
  .hitbox {
    height: 135px;
    width: 113px;
  }

  .slapper {
    height: 135px;
    width: 113px;
    background-size: contain;
  }

  .cursor {
    z-index: 20;
    top: 0px;
    left: 0px;
  }

  .cursor .hand {
    height: 175px;
    width: 90px;
    background-image: none;
  }

}
