*,
*::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/texture.svg');
}

.center {
  width: 130px;
  height: 130px;
  background-color: red;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background-color: #000;
}

.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;
    border-radius: inherit;
    box-shadow: 0 0 50px 0px #fff1;
    transform: rotateX(90deg) rotateY(calc(-360deg / 18 * var(--r)));
  }
}

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