/* loader.css */

/* General Styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Raleway', sans-serif;
  /* Removed overflow:hidden for scrolling */
}

/* Loader Container */
#loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1000;
  overflow: hidden;
}

/* Logo Styling */
.logo-container {
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

.logo {
  width: 100px;
  height: auto;
}

/* Letter Animation - Drop from Above */
.letter-animation {
  display: flex;
  gap: 5px;
  position: relative;
}

.letter {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-100px); /* Start above the screen */
  animation: letterDrop 1s ease-in-out forwards; /* Faster animation */
}

/* Delay for Each Letter */
.letter:nth-child(1) { animation-delay: 0.2s; }
.letter:nth-child(2) { animation-delay: 0.4s; }
.letter:nth-child(3) { animation-delay: 0.6s; }
/* Add delays for remaining letters */
.letter:nth-child(4) { animation-delay: 0.8s; }
.letter:nth-child(5) { animation-delay: 1s; }
.letter:nth-child(6) { animation-delay: 1.2s; }
.letter:nth-child(7) { animation-delay: 1.4s; }
.letter:nth-child(8) { animation-delay: 1.6s; }
.letter:nth-child(9) { animation-delay: 1.8s; }
.letter:nth-child(10) { animation-delay: 2s; }
.letter:nth-child(11) { animation-delay: 2.2s; }
.letter:nth-child(12) { animation-delay: 2.4s; }
.letter:nth-child(13) { animation-delay: 2.6s; }
.letter:nth-child(14) { animation-delay: 2.8s; }
.letter:nth-child(15) { animation-delay: 3s; }
.letter:nth-child(16) { animation-delay: 3.2s; }


/* Keyframes for Smooth Drop */
@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-100px); /* Start from above */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the correct position */
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#content {
  display: none;
}
