@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

@keyframes moveBackground {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(103.24deg, #0ab39c, #0f5682, #0766a2, #09c0a8);
  background-size: 200% 200%;
  animation: moveBackground 30s linear infinite;
  font-family: "Poppins", sans-serif;
}

.errorContainer {
  text-align: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.errorCode {
  font-size: 10rem;
  font-weight: 600;
  color: #ff6b6b;
  animation: float 2s infinite ease-in-out;
}

.errorMessage {
  font-size: 2rem;
  color: white;
  margin-top: -1rem;
}

.redirectMessage {
  font-size: 1.2rem;
  color: white;
  margin-top: 1rem;
  animation: blink 1.5s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
