
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: #000; /* Dark background */
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000, #111, #222);
  background-size: 400% 400%;
  animation: gradientAnimation 30s ease infinite; /* Slower animation */
}

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


.content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  top: 50%;
  transform: translateY(-50%);
}

.fade-out, .fade-in {
  display: block; /* Ensure each text element is a block element */
  margin: 10px 0; /* Add margin to separate the text elements */
}

.fade-out {
  font-size: 3em;
  opacity: 0;
}

.fade-in {
  font-size: 2em;
  opacity: 0;
}

.word {
  display: inline-block; /* Ensure words are inline within their parent */
  opacity: 0;
  animation: fadeInWord 1s forwards;
}

@keyframes fadeInWord {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
