*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue';
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: white transparent;
}

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

.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 10px 0px orange;
    transform: rotateX(90deg) rotateY(calc(360deg / 36 * var(--r)));
  }
}

@keyframes rotar {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(369deg) rotateY(369deg);
  }
}
