

* {
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  animation-name: back;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

@keyframes back {

  from {
background-color: #219ebc;
  }

  to {
    background-color: #343a40;
  }
  
}
.shape {
    position: absolute;
    border-radius: 100px;
    border: 15px solid;
  }
  .shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 100px;
    border-color: #43aa8b;
    animation: rotate90 4000ms infinite linear alternate;
  }
  .shape-2 {
    width: 380px;
    height: 380px;
    border-radius: 100px;
    border-color: #90be6d;
    animation: rotate90 3800ms infinite linear alternate;
  }
  .shape-3 {
    width: 360px;
    height: 360px;
    border-radius: 100px;
    border-color:#f9c74f;
    animation: rotate90 3600ms infinite linear alternate;
  }
  .shape-4 {
    width: 340px;
    height: 340px;
    border-radius: 100px;
    border-color: #f8961e;
    animation: rotate90 3400ms infinite linear alternate;
  }
  .shape-5 {
    width: 320px;
    height: 320px;
    border-radius: 100px;
    border-color: #f3722c;
    animation: rotate90 3200ms infinite linear alternate;
  }
  .shape-6 {
    width: 300px;
    height: 300px;
    border-radius: 100px;
    border-color: #f94144;
    animation: rotate90 3000ms infinite linear alternate;
  }
  .shape-7 {
    width: 280px;
    height: 280px;
    border-radius: 100px;
    border-color: #3d81b8;
    animation: rotate90 2800ms infinite linear alternate;
  }
  .shape-8 {
    width: 260px;
    height: 260px;
    border-radius: 100px;
    border-color: #1f5e91;
    animation: rotate90 2600ms infinite linear alternate;
  }
  .shape-9 {
    width: 220px;
    height: 220px;
    border-radius: 100px;
    border-color: #094e86;
    animation: rotate90 2400ms infinite linear alternate;
  }
  .shape-10 {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    border-color: #03324e;
    animation: rotate90 2000ms infinite linear alternate;
  }
  .shape-11 {
    width: 180px;
    height: 180px;
    border-radius: 100px;
    border-color: #ffa6c1;
    animation: rotate90 1800ms infinite linear alternate;
  }
  .shape-12 {
    width: 160px;
    height: 160px;
    border-radius: 100px;
    border-color: #ff87ab;
    animation: rotate90 1600ms infinite linear alternate;
  }
  .shape-13 {
    width: 140px;
    height: 140px;
    border-radius: 100px;
    border-color: #ff5d8f;
    animation: rotate90 1400ms infinite linear alternate;
  }


@keyframes rotate90 {
  0% {
    opacity: 1;
    border-radius: 0;
    transform: translateX(0) rotate(-360deg);
  }
  25% {
    transform: translateX(-200px);
  }
  50% {
    opacity: 0;
    transform: rotate(90deg);
    transform: translateX(200px) rotate(360deg);
    box-shadow: inset 0 0 20px rgba(125, 20, 170, 0.5);
    border-radius: 50%;
  }
  75% {
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    transform: rotate(180deg) scale(2);
    box-shadow: inset 0 0 10px rgba(200, 20, 10, 0.5);
    border-radius: 0;
  }
}
