<template>
  <div class="background">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
  </div>
</template>

<script>
    export default {
        name: "background1"
    }
</script>

<style scoped>
  body {
    margin: 0;
    overflow: hidden;
  }
  .background {
    width: 100%;
    height: 100%;
    /*background: #3E1E68;*/
    /*backAnimation:#abe0bd;*/
    /*backAnimation:#b78da2;*/
    /*backAnimation:#b5e8fd;*/
    /*backAnimation:#b5fdf4;*/
    /*backAnimation:#c9b5fd;*/
    position:fixed;
    top: 0;
    left: 0;
    z-index:3;

  }

  .background span {
    width: 20vmin;
    height: 20vmin;
    border-radius: 50%;
    backface-visibility: hidden;
    position: absolute;
    animation-name: move;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  .background span:nth-child(1) {
    color: rgba(30,144,255,0.3);
    top: 44%;
    left: 97%;
    animation-duration: 30s;
    animation-delay: -27s;
    transform-origin: 11vw -22vh;
    box-shadow: 40vmin 0 10.12735945vmin currentColor;
  }
  .background span:nth-child(2) {
    color: rgba(	0,191,255,0.3);
    top: 93%;
    left: 8%;
    animation-duration: 27s;
    animation-delay: -22s;
    transform-origin: 10vw 23vh;
    box-shadow: 40vmin 0 12.7346672971vmin currentColor;
  }
  .background span:nth-child(3) {
    color: rgba(0,255,255,0.3);
    top: 14%;
    left: 41%;
    animation-duration: 31s;
    animation-delay: -14s;
    transform-origin: -9vw -24vh;
    box-shadow: -40vmin 0 11.4923952406vmin currentColor;
  }
  .background span:nth-child(4) {
    color: rgba(127,255,170,0.3);
    top: 52%;
    left: 75%;
    animation-duration: 29s;
    animation-delay: -25s;
    transform-origin: 16vw 25vh;
    box-shadow: 40vmin 0 13.3657534039vmin currentColor;
  }
  .background span:nth-child(5) {
    color: rgba(106,90,205,0.3);
    top: 7%;
    left: 5%;
    animation-duration: 30s;
    animation-delay: -20s;
    transform-origin: 8vw 3vh;
    box-shadow: -40vmin 0 13.3942178273vmin currentColor;
  }
  .background span:nth-child(6) {
    color: rgba(100,149,237,0.3);
    top: 35%;
    left: 1%;
    animation-duration: 22s;
    animation-delay: -12s;
    transform-origin: 0vw 17vh;
    box-shadow: -40vmin 0 7.6304875279vmin currentColor;
  }
  .background span:nth-child(7) {
    color: rgba(30,144,255,0.3);
    top: 42%;
    left: 84%;
    animation-duration: 22s;
    animation-delay: -14s;
    transform-origin: 11vw -8vh;
    box-shadow: 40vmin 0 13.6665321499vmin currentColor;
  }
  .background span:nth-child(8) {
    color: rgba(	0,191,255,0.3);
    top: 53%;
    left: 95%;
    animation-duration: 30s;
    animation-delay: -20s;
    transform-origin: 25vw 15vh;
    box-shadow: 40vmin 0 13.2849881717vmin currentColor;
  }
  .background span:nth-child(9) {
    color: rgba(0,255,255,0.3);
    top: 75%;
    left: 67%;
    animation-duration: 32s;
    animation-delay: -36s;
    transform-origin: -11vw -3vh;
    box-shadow: 40vmin 0 7.2158804055vmin currentColor;
  }
  .background span:nth-child(10) {
    color: rgba(127,255,170,0.3);
    top: 59%;
    left: 51%;
    animation-duration: 24s;
    animation-delay: -22s;
    transform-origin: -5vw -7vh;
    box-shadow: -40vmin 0 7.4269772253vmin currentColor;
  }
  .background span:nth-child(11) {
    color: rgba(106,90,205,0.3);
    top: 80%;
    left: 91%;
    animation-duration: 26s;
    animation-delay: -12s;
    transform-origin: 7vw -19vh;
    box-shadow: 40vmin 0 11.2741559637vmin currentColor;
  }
  .background span:nth-child(12) {
    color: rgba(100,149,237,0.3);
    top: 68%;
    left: 97%;
    animation-duration: 30s;
    animation-delay: -16s;
    transform-origin: 24vw 3vh;
    box-shadow: 40vmin 0 11.2552482722vmin currentColor;
  }
  .background span:nth-child(13) {
    color: rgba(30,144,255,0.3);
    top: 69%;
    left: 46%;
    animation-duration: 20s;
    animation-delay: -22s;
    transform-origin: 13vw 24vh;
    box-shadow: -40vmin 0 6.2939412125vmin currentColor;
  }
  .background span:nth-child(14) {
    color: rgba(	0,191,255,0.3);
    top: 98%;
    left: 63%;
    animation-duration: 28s;
    animation-delay: -6s;
    transform-origin: -13vw -15vh;
    box-shadow: -40vmin 0 10.5039271244vmin currentColor;
  }
  .background span:nth-child(15) {
    color: rgba(0,255,255,0.3);
    top: 12%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -14s;
    transform-origin: 7vw 20vh;
    box-shadow: 40vmin 0 10.924056322vmin currentColor;
  }
  .background span:nth-child(16) {
    color: rgba(127,255,170,0.3);
    top: 29%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -29s;
    transform-origin: -20vw 4vh;
    box-shadow: -40vmin 0 13.3859956789vmin currentColor;
  }
  .background span:nth-child(17) {
    color: rgba(106,90,205,0.3);
    top: 88%;
    left: 87%;
    animation-duration: 21s;
    animation-delay: -7s;
    transform-origin: -11vw 12vh;
    box-shadow: 40vmin 0 14.8726292689vmin currentColor;
  }
  .background span:nth-child(18) {
    color: rgba(100,149,237,0.3);
    top: 57%;
    left: 35%;
    animation-duration: 20s;
    animation-delay: -26s;
    transform-origin: -19vw -1vh;
    box-shadow: 40vmin 0 8.5771411832vmin currentColor;
  }
  .background span:nth-child(19) {
    color: rgba(30,144,255,0.3);
    top: 11%;
    left: 37%;
    animation-duration: 22s;
    animation-delay: -20s;
    transform-origin: -20vw 22vh;
    box-shadow: 40vmin 0 8.1729042124vmin currentColor;
  }
  .background span:nth-child(20) {
    color: rgba(	0,191,255,0.3);
    top: 53%;
    left: 60%;
    animation-duration: 24s;
    animation-delay: -22s;
    transform-origin: 10vw -1vh;
    box-shadow: 40vmin 0 13.5347652223vmin currentColor;
  }

  @-webkit-keyframes move {
    100% {
      transform: translate3d(0, 0, 1px) rotate(360deg);
    }
  }

</style>
