html {
  height: 100vh;
}

body {
  position: fixed;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;
  overflow: hidden;
}
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  filter: blur(4px);
  pointer-events: none;
}
.background-media video {
  width: 110vw;
}

.touch-controls {
  position: absolute;
  width: calc(100% - 5rem);
  height: calc(100% - 5rem);
  left: 0;
  top: 0;
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 51;
  padding: 2.5rem;
  user-select: none;
  touch-action: none;
}

.left,
.right {
  position: relative;
}

.left {
  left: -2.5rem;
}
.right {
  bottom: -3rem;
}

.joystick {
  position: relative;
  width: 15vw;
  height: 15vw;
}

.joystick .control {
  position: absolute;
  opacity: 0.25;
  background-color: #00000047;
  padding: 0.75rem;
  border-radius: 100%;
  filter: invert(1);
}
.joystick .control.up {
  left: 50%;
  top: 0;
  transform: translate(-50%, -25%);
}
.joystick .control.down {
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 25%);
}

.joystick .control.left {
  left: 0;
  top: 50%;
  transform: translate(-25%, -50%);
}
.joystick .control.right {
  right: 0;
  top: 50%;
  transform: translate(25%, -50%);
}

.right .power-attack {
  position: absolute;
  top: -2rem;
  right: -0.75rem;
  opacity: 0.25;
  padding: 0.75rem;
  background-color: #ffffff87;
  font-size: 0;
  border-radius: 100%;
}
.right .power-attack img {
  width: 1.8rem;
  height: 1.8rem;
  filter: invert(1);
  pointer-events: none;
}

.right .fast-attack {
  position: absolute;
  top: -6rem;
  right: -0.75rem;
  opacity: 0.25;
  padding: 0.75rem;
  background-color: #ffffff87;
  font-size: 0;
  border-radius: 100%;
}
.right .fast-attack img {
  width: 1.8rem;
  height: 1.8rem;
  filter: invert(1);
}
