#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  animation: fadeOut 2s ease-in-out forwards;
}

#loading-image {
  width: 150px;
  animation: scaleAndMove  2s ease-in-out forwards;
}

@keyframes scaleAndMove  {
  0% {
    transform: scale(3) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1)  translate(var(--offsetX), var(--offsetY));
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}