.loading-screen {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, rgb(29, 224, 214), rgb(113, 255, 100));
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading {
  width: 80px;
  display: flex;
  flex-wrap: wrap;
  animation: rotate 3s linear infinite;
}

.loading span {
  width: 32px;
  height: 32px;
  margin: 4px;
  animation: scale 1.5s linear infinite;
}

/* Individual blocks */
.loading span:nth-child(1) {
  background: #63fa28;
  transform-origin: bottom right;
}
.loading span:nth-child(2) {
  background: rgb(75, 248, 32);
  transform-origin: bottom left;
}
.loading span:nth-child(3) {
  background: rgb(85, 248, 44);
  transform-origin: top right;
}
.loading span:nth-child(4) {
  background: rgb(46, 245, 39);
  transform-origin: top left;
}

/* Animations */
@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes scale {
  50% { transform: scale(1.2); }
}