.preload {
  transition: 1s;
  position: fixed;
  padding: 2rem;
  display: flex;
  z-index: 100;
  height: 100dvh;
  width: 100dvw;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
  margin: auto;
  width: 400px;
  height: 400px;
  overflow: hidden;
}

.animated-image {
  width: 100%;
  height: auto;
  opacity: 0;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  20% {
    transform: translateY(0px);
    opacity: 1;
  }

  80% {
    transform: translateY(0px);
    opacity: 1;
  }

  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

.opacity-0 {
  opacity: 0%;
}
