html, body{
    height: 100%;
    margin: 0;
}
.small{
    /* position: absolute; */
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.demo{
    width: 100%;
    height:100%;
    font-size:5em;
    text-align:center;
    flex-direction: row;
  }
  
  .rainbow-bg{
          animation: rainbow-bg 2.5s linear;
          animation-iteration-count: infinite;
  }
  
  .rainbow{
          animation: rainbow 2.5s linear;
          animation-iteration-count: infinite;
  }
  
  @keyframes rainbow-bg{
          100%,0%{
              background-color: rgb(255,0,0);
          }
          8%{
              background-color: rgb(255,127,0);
          }
          16%{
              background-color: rgb(255,255,0);
          }
          25%{
              background-color: rgb(127,255,0);
          }
          33%{
              background-color: rgb(0,255,0);
          }
          41%{
              background-color: rgb(0,255,127);
          }
          50%{
              background-color: rgb(0,255,255);
          }
          58%{
              background-color: rgb(0,127,255);
          }
          66%{
              background-color: rgb(0,0,255);
          }
          75%{
              background-color: rgb(127,0,255);
          }
          83%{
              background-color: rgb(255,0,255);
          }
          91%{
              background-color: rgb(255,0,127);
          }
  }
  
  @keyframes rainbow{
          100%,0%{
              color: rgb(255,0,0);
          }
          8%{
              color: rgb(255,127,0);
          }
          16%{
              color: rgb(255,255,0);
          }
          25%{
              color: rgb(127,255,0);
          }
          33%{
              color: rgb(0,255,0);
          }
          41%{
              color: rgb(0,255,127);
          }
          50%{
              color: rgb(0,255,255);
          }
          58%{
              color: rgb(0,127,255);
          }
          66%{
              color: rgb(0,0,255);
          }
          75%{
              color: rgb(127,0,255);
          }
          83%{
              color: rgb(255,0,255);
          }
          91%{
              color: rgb(255,0,127);
          }
  }