.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Loader Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader{
  display: flex;
  gap: 1.5rem;
}
.loader-icon {
  font-size: 150px; /* Increased icon size */
  color: var(--primary);
  animation: rotate-text 2s linear infinite, flip-text 4s ease-in-out infinite;
}

/* Rotate animation for the loader */
@keyframes rotate-text {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Flip animation for the loader */
@keyframes flip-text {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotateY(180deg); /* Flip effect */
  }
}
