/* Adapted from https://loading.io/css/ */

.loading {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: relative;
  width: 128px;
  height: 128px;
}

.loading div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 107px;
  height: 107px;
  margin: 10px;
  border: 10px solid #ccc;
  border-radius: 50%;
  animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #ccc transparent transparent transparent;
}

.loading div:nth-child(1) {
  animation-delay: -0.45s;
}

.loading div:nth-child(2) {
  animation-delay: -0.3s;
}

.loading div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
