* {
  margin: 0px;
  padding: 0px;
}

body {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100vh;
  background-color: rgb(9, 4, 49);
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 180px;
}

.box span {
  width: 6vw;
  height: 12vh;
  background-color: #3c3cf5;
  border-radius: 10%;
  animation: loading 2s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  50% {
    transform: rotateX(180deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(180deg) rotateY(-180deg) rotateZ(0deg);
  }
}
