body {
  background: black;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body:has(div#menu.hide) {
  cursor: none;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

div#app {
  height: 100vh;
  display: flex;
  justify-content: center;
}

div#menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  padding: 0 12px;
  box-sizing: border-box;
}

div#menu {
  opacity: 1;
  transition: opacity 0.2s;
}

div#menu.hide {
  opacity: 0;
  pointer-events: none;
}

i#volume-icon {
  cursor: pointer;
}

@keyframes rotate-animation {
  0% {
    transform: rotateZ(0deg);
  }
  80% {
    transform: rotateZ(180deg);
  }
  100% {
    transform: rotateZ(180deg);
  }
}

.x-rotate:before {
  display: block;
  animation: rotate-animation 1s infinite;
  line-height: normal;
}
