img,
picture {
  max-width: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.orbit {
  --size: 12rem;
  --speed: 60s;
  margin-left: 34.6rem;
  margin-top: 17rem;
}

.orbit .center-image {
  width: var(--size);
  position: relative;
  z-index: 10;
}

.orbit .center-image img {
  position: absolute;
  transition: opacity 500ms;
}

.orbit .center-image img:not(:first-child):hover {
  opacity: 0;
}

.orbit ul {
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  position: relative;
  list-style: none;
  --icon-bg: var(--green-light);
  --text-bg: var(--green-dark);
  transform-origin: center;
  animation: orbit var(--speed) linear infinite;
}

.orbit ul:hover {
  animation-play-state: paused;
  --orbit-play-state: paused;
}

.orbit li {
  --icon-bg: pink;
  --text-bg: blue;
  position: absolute;
  width: 8rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  font-weight: 500;
  color: var(--white-light);
  text-align: center;
  line-height: 1;
  display: grid;
  place-items: center;
}

.orbit li:hover {
  --throb-play-state: paused;
}

.orbit li:nth-child(1) {
  --throb-delay: 0ms;
}

.orbit li:nth-child(2) {
  --throb-delay: 500ms;
}

.orbit li:nth-child(3) {
  --throb-delay: 1000ms;
}

.orbit li:nth-child(4) {
  --throb-delay: 1500ms;
}

.orbit li:nth-child(5) {
  --throb-delay: 2000ms;
}

.orbit li:nth-child(6) {
  --throb-delay: 2500ms;
}

.orbit li:nth-child(7) {
  --throb-delay: 3000ms;
}

.orbit li:nth-child(8) {
  --throb-delay: 3500ms;
}

.orbit li > * {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
  position: absolute;
  animation: orbit var(--speed) linear reverse infinite, throb 1s var(--throb-delay) ease-in-out infinite alternate;
  animation-play-state: var(--orbit-play-state, running), var(--throb-play-state, running);
}

.orbit li > div {
  background-color: var(--icon-bg);
}

.orbit li > p {
  background: var(--text-bg);
  transition: opacity 500ms;
  opacity: 0;
}

.orbit li:hover > p {
  opacity: 1;
}

.orbit li:nth-child(1) {
  --icon-bg: var(--blue-light);
  --text-bg: var(--blue-dark);
  transform: translate(15rem, 0rem);
}

.orbit li:nth-child(2) {
  --icon-bg: var(--green-light);
  --text-bg: var(--green-dark);
  transform: translate(10rem, 10rem);
}

.orbit li:nth-child(3) {
  --icon-bg: var(--pink-light);
  --text-bg: var(--pink-dark);
  transform: translate(0, 15rem);
}

.orbit li:nth-child(4) {
  --icon-bg: var(--red-light);
  --text-bg: var(--red-dark);
  transform: translate(-10rem, 10rem);
}

.orbit li:nth-child(5) {
  --icon-bg: var(--brown-light);
  --text-bg: var(--brown-dark);
  transform: translate(-15rem, 0rem);
}

.orbit li:nth-child(6) {
  --icon-bg: var(--yellow-light);
  --text-bg: var(--yellow-dark);
  transform: translate(-10rem, -10rem);
}

.orbit li:nth-child(7) {
  --icon-bg: var(--purple-light);
  --text-bg: var(--purple-dark);
  transform: translate(0, -15rem);
}

.orbit li:nth-child(8) {
  --icon-bg: var(--orange-light);
  --text-bg: var(--orange-dark);
  transform: translate(10rem, -10rem);
}

@keyframes orbit {
  100% {
    rotate: 1turn;
  }
}
@keyframes hold-position {
  100% {
    rotate: -1turn;
  }
}
@keyframes throb {
  100% {
    scale: 1.05;
  }
}
.js-icon {
  width: 6rem;
  height: 6rem;
}/*# sourceMappingURL=main.css.map */
