*{margin:0;padding:0;list-style-type:none;}

body {
  width: 100vw;
  height: 100vh;
  font-family: 'Russo One', sans-serif;
  font-weight: 900;
  font-size: 150px;
  background-color: #111;
}
.inspiration {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 10px;
  font-size: 12px;
}
.inspiration img {
  width: 25px;
  -webkit-filter: invert(0.8);
          filter: invert(0.8);
}
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.year {
  position: absolute;
  font-weight: 900;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-animation: move 3s ease-in-out infinite;
          animation: move 3s ease-in-out infinite;
  will-change: transform;
}
.year:first-child:hover,
.year:first-child:hover ~ .year {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.year:nth-child(1) {
  color: #fff;
  z-index: 13;
  -webkit-animation-delay: 0ms;
          animation-delay: 0ms;
  --move: 20px;
}
.year:nth-child(2) {
  color: #fbca00;
  z-index: 12;
  -webkit-animation-delay: 100ms;
          animation-delay: 100ms;
  --move: 25px;
}
.year:nth-child(3) {
  color: #fba317;
  z-index: 11;
  -webkit-animation-delay: 200ms;
          animation-delay: 200ms;
  --move: 30px;
}
.year:nth-child(4) {
  color: #f58023;
  z-index: 10;
  -webkit-animation-delay: 300ms;
          animation-delay: 300ms;
  --move: 35px;
}
.year:nth-child(5) {
  color: #e96618;
  z-index: 9;
  -webkit-animation-delay: 400ms;
          animation-delay: 400ms;
  --move: 40px;
}
.year:nth-child(6) {
  color: #ee1f23;
  z-index: 8;
  -webkit-animation-delay: 500ms;
          animation-delay: 500ms;
  --move: 45px;
}
.year:nth-child(7) {
  color: #dc068e;
  z-index: 7;
  -webkit-animation-delay: 600ms;
          animation-delay: 600ms;
  --move: 50px;
}
.year:nth-child(8) {
  color: #ac1f8d;
  z-index: 6;
  -webkit-animation-delay: 700ms;
          animation-delay: 700ms;
  --move: 55px;
}
.year:nth-child(9) {
  color: #622b89;
  z-index: 5;
  -webkit-animation-delay: 800ms;
          animation-delay: 800ms;
  --move: 60px;
}
.year:nth-child(10) {
  color: #2c2f81;
  z-index: 4;
  -webkit-animation-delay: 900ms;
          animation-delay: 900ms;
  --move: 65px;
}
.year:nth-child(11) {
  color: #1c428e;
  z-index: 3;
  -webkit-animation-delay: 1000ms;
          animation-delay: 1000ms;
  --move: 70px;
}
.year:nth-child(12) {
  color: #065b9d;
  z-index: 2;
  -webkit-animation-delay: 1100ms;
          animation-delay: 1100ms;
  --move: 75px;
}
.year:nth-child(13) {
  color: #007da5;
  z-index: 1;
  -webkit-animation-delay: 1200ms;
          animation-delay: 1200ms;
  --move: 80px;
}
@-webkit-keyframes move {
  0%, 100% {
    -webkit-transform: translate(-50%, calc(-50% + var(--move)));
            transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    -webkit-transform: translate(-50%, calc(-50% - var(--move)));
            transform: translate(-50%, calc(-50% - var(--move)));
  }
}
@keyframes move {
  0%, 100% {
    -webkit-transform: translate(-50%, calc(-50% + var(--move)));
            transform: translate(-50%, calc(-50% + var(--move)));
  }
  50% {
    -webkit-transform: translate(-50%, calc(-50% - var(--move)));
            transform: translate(-50%, calc(-50% - var(--move)));
  }
}