/* Universal Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Main Layout */
html, body {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center; /* Horizontally center content */
  align-items: center; /* Vertically center content */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font stack */
  background-color: black; /* Black background */
  color: white; /* White text */
  overflow-x: hidden; /* Prevent horizontal scroll */
  scroll-behavior: smooth; /* Smooth scrolling */
}

body {
  flex-direction: column;
  padding: 0 20px; /* Horizontal padding */
  padding-top: 70px; /* Space for the headline */
  text-align: center;
  max-width: 100vw; /* Ensure content doesn't exceed viewport width */
}

h1 {
  font-size: 4rem; /* Large and bold headline */
  font-weight: 700; /* Bold weight */
  letter-spacing: 2px; /* Add spacing between letters */
  margin-bottom: 30px; /* Space between headline and paragraph */
  opacity: 0;
  animation: fadeIn 1s ease-out forwards; /* Fade in effect */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px); /* Start from above */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Final position */
  }
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px; /* Max width for paragraphs */
  margin: 10px auto; /* Center paragraphs */
  opacity: 0;
  animation: fadeInText 1.5s ease-out 0.5s forwards; /* Fade in for text */
}

@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container Styles */
.container {
  max-width: 1000px;
  width: 100%;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7); /* Slight transparency */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem; /* Smaller headline on tablet and mobile */
  }

  p {
    font-size: 1rem; /* Adjust paragraph size for smaller screens */
  }

  body {
    padding-top: 50px; /* Adjust top padding for smaller screens */
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem; /* Smaller headline on mobile */
  }

  p {
    font-size: 0.9rem; /* Further reduce paragraph size */
    max-width: 90%; /* Allow more space for text on small screens */
  }
}