
.chrome-logo-spin {
  width: 80%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chrome-logo-spin img {
  width: 80%;
  height: auto;
  display: block;
  pointer-events: none;
  animation: chromeLogoSpin 28s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Negative angle = counter-clockwise rotation */
@keyframes chromeLogoSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Respect users who prefer less animation */
@media (prefers-reduced-motion: reduce) {
  .chrome-logo-spin img {
    animation: none;
  }
}
