/* Body and General Styling */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
}

.container {
  text-align: center;
  opacity: 0; /* Initially hidden for animation */
  animation: fadeInContainer 1s forwards;
}

/* Main Text Styling */
.main-text {
  font-size: 3rem; /* Larger font size */
  font-weight: 600;
  color: #333;
  opacity: 0;
  animation: slideInFromLeft 1.5s ease-out forwards; /* Animation for the main text */
}

/* Smaller Text Styling */
.sub-text {
  font-size: 1.2rem; /* Smaller font size */
  font-weight: 300;
  color: #555;
  margin-top: 10px;
  opacity: 0;
  animation: slideInFromRight 1.5s ease-out forwards; /* Animation for the sub text */
  animation-delay: 0.5s; /* Delay so it comes after the first text */
}

/* Button Styling */
button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  animation: fadeInButton 1s ease-out forwards;
  animation-delay: 1s; /* Delay to appear after both texts */
}

button:hover {
  background-color: #45a049;
}

/* Animations */
@keyframes fadeInContainer {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInButton {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
