* {
  margin: 0;
}

body {
  min-height: 100vh;
  font-size: 1vw;
}

.bg {
  width: 100%;
  height: 60em;
  min-height: 100vh;
  background: #000;
  position: relative;
  perspective: 2000px;
  perspective-origin: bottom;
}

.shadow .circle, .shadow .cone, .ball, .spotlight .circle, .spotlight .cone, .spotlight .lamp, .spotlight .lamp-cord, .scene {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.scene {
  transform-origin: bottom center;
  transform: rotateX(60deg);
}

.scene {
  width: 100%;
  height: 100em;
  background: #000;
  bottom: 0;
}

.spotlight .lamp-cord {
  width: 10px;
  height: calc(5em + 3px);
  top: 0;
  background: #727269;
}
.spotlight .lamp {
  width: 10em;
  height: 3em;
  top: 5em;
  background: linear-gradient(to bottom, #727269 0 80%, #c8b064 80% 100%);
  border-radius: 50% 50% 50% 50%/100% 100% 0% 0%;
}
.spotlight .cone {
  width: 50em;
  height: Max(calc(100vh - 21em), 39em);
  top: 8em;
  background: #baba9624;
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0% 100%);
  filter: blur(100px);
}
.spotlight .circle {
  width: 50em;
  height: 15em;
  bottom: 5em;
  background: #727269;
  border-radius: 50%;
  filter: blur(2px);
}

.ball {
  width: 10em;
  height: 10em;
  border-radius: 50%;
  bottom: 25em;
  background: radial-gradient(at 50% 25%, #ffffff 0 3%, #ffffffe0 5%, #ffffff57 10%, transparent 15% 100%) 50% 0%/150% 50% no-repeat, radial-gradient(circle at 50% 20%, #ffffff80, #00000057), red;
  animation: ball-animation 1.5s cubic-bezier(0.4, 0, 1, 1) 0s infinite alternate, highlight-animation 1.5s cubic-bezier(0.4, 0, 1, 1) 0s infinite alternate;
}

.shadow .cone {
  width: 14em;
  height: 17.5em;
  bottom: 12.5em;
  background: #4444444d;
  clip-path: polygon(14.2857142857% 0, 85.7142857143% 0, 100% 100%, 0% 100%);
  filter: blur(100px);
  animation: cone2-animation 1.5s cubic-bezier(0.4, 0, 1, 1) 0s infinite alternate;
}
.shadow .circle {
  width: 14em;
  height: 4.2em;
  bottom: 10.4em;
  background: #444;
  border-radius: 50%;
  filter: blur(2px);
  animation: circle2-animation 1.5s cubic-bezier(0.4, 0, 1, 1) 0s infinite alternate;
}

@keyframes ball-animation {
  0% {
    transform: translatey(0px);
  }
  100% {
    transform: translatey(12.5em);
  }
}
@keyframes cone2-animation {
  0% {
    height: 17.5em;
    clip-path: polygon(14.2857142857% 0, 85.7142857143% 0, 100% 100%, 0% 100%);
  }
  100% {
    height: 5em;
    clip-path: polygon(14.2857142857% 0, 85.7142857143% 0, 85.7142857143% 100%, 14.2857142857% 100%);
  }
}
@keyframes circle2-animation {
  0% {
    width: 14em;
    height: 4.2em;
    background: #444;
  }
  100% {
    width: 10em;
    height: 4.2em;
    background: #262626;
  }
}
@keyframes highlight-animation {
  0% {
    background-size: 150% 50%, 100% 100%, 100% 100%;
    background-position: 50% 0%, 0 0, 0 0;
  }
  100% {
    background-size: 120% 40%, 100% 100%, 100% 100%;
    background-position: 50% -1%, 0 0, 0 0;
  }
}