.wait-window {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  transition: opacity 0.25s ease;

  & .title {
    font-size: clamp(1.3rem, 1.5vw, 2rem);
    font-weight: 600;
  }

  & img {
    animation: dot 1.8s infinite;
  }
}

.wait-window.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes dot {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
