@keyframes hilFBv {
  /* 0% {
    color: #ff0000;
  }
  14.285714285714286% {
    color: #ffa500;
  }
  28.571428571428573% {
    color: #ffff00;
  }
  42.857142857142854% {
    color: #008000;
  }
  57.14285714285714% {
    color: #0000ff;
  }
  71.42857142857143% {
    color: #4b0082;
  }
  85.71428571428571% {
    color: #ee82ee;
  }
  100% {
    color: #ff0000;
  } */

  0% {
    top: 0px;
    left: 25%;
    color: #ff0000;
  }

  16% {
    top: 50%;
    left: 0px;
    color: #ffa500;
  }

  32% {
    top: 100%;
    left: 25%;
    transform: translateY(-100%);
    color: #ffff00;
  }

  52% {
    top: 0px;
    left: 75%;
    color: #008000;
    transform: translateY(0px);
  }
  60% {
    top: 25%;
    left: 100%;
    color: #0000ff;
    transform: translateX(-100%);
  }
  80% {
    top: 100%;
    left: 75%;
    color: #4b0082;
    transform: translate(0px, -100%);
  }
  100% {
    top: 0px;
    left: 25%;
    color: #ee82ee;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
}

body {
  height: auto;
  width: 100vw;
}

h1 {
  display: block;
  position: absolute;
  animation: 30s linear 0s infinite normal none running hilFBv;
  white-space: nowrap;
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
    white-space: nowrap;
  }
}

.box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: block;
  margin: 50px auto;
  max-width: 400px;
}
