*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  place-content: center;
  background-color: #000;
  background-image: url('assets/pattern.svg');
  background-size: 200px;

  @media (width <= 1111px) {
    background-image: none;
  }

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 222px;
    height: 222px;
    background-color: #000;
    border-radius: 50%;
  }
}

.container {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  transform-style: preserve-3d;
  perspective: 10000px;
  position: relative;
  animation: rotar 10s linear infinite;

  .aro {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 10000px;
    box-shadow: 0 0 300px 0px #0f08;
    transform: rotateX(90deg) rotateY(calc(-360deg / 36 * var(--r)));
  }
}

@keyframes rotar {
  0% {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  100% {
    transform: rotate3d(1, 1, 1, 360deg);
  }
}
