body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}
.spiral {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
} 

@keyframes spiral {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.character {
  color: white;
  font-size: 4em;
  transform: translateY(calc(sin(var(--angle)) * 100px))
    scale(calc(cos(var(--angle)) * 0.5 + 0.5));
  animation: spiral 4s linear infinite;
}
