*,
*::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';
}

a {
  -webkit-tap-highlight-color: transparent;
}

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #222;
  overflow: hidden;
}

.sphere-container {
  position: relative;
  width: 200px;
  height: 200px;
  perspective: 800px;
  

  &:hover {
    .layer {
      color: #1e90ff22;
    }
  }
}

.sphere {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateSphere 5s infinite linear;
}

.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #7b68ee22;
  background-color: currentColor;
  border: 1px solid currentColor;
}

@keyframes rotateSphere {
  from {
    transform: translateY(-20px) rotateY(0deg);
  }
  to {
    transform: translateY(-20px) rotateY(360deg);
  }
}
