/* -------------------------------------------------------------------------- */
/*                                   LOADER                                   */
/* -------------------------------------------------------------------------- */

.loadingMsg {
  display: flex;
  width: fit-content;
  align-items: center;
  flex-direction: column;
  text-transform: uppercase;
  row-gap: 1.5vmin;
  color: var(--dark-colour);
}

.loader {
  width: 3vmin;
  aspect-ratio: 1;
  position: relative;
  margin: auto;
  margin-top: 2vmin;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  margin: -8px 0 0 -8px;
  width: 16px;
  aspect-ratio: 1;
  background: var(--dark-colour);
  animation: l2-1 2s infinite, l2-2 1s infinite;
}
.loader:after {
  background: var(--dark-colour);
  animation-delay: -1s, 0s;
}
@keyframes l2-1 {
  0% {
    top: 0;
    left: 0;
  }
  25% {
    top: 100%;
    left: 0;
  }
  50% {
    top: 100%;
    left: 100%;
  }
  75% {
    top: 0;
    left: 100%;
  }
  100% {
    top: 0;
    left: 0;
  }
}
@keyframes l2-2 {
  40%,
  50% {
    transform: rotate(0.25turn) scale(0.5);
  }
  100% {
    transform: rotate(0.5turn) scale(1);
  }
}
