* {
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%; /* Ensure the body takes the full height */
  background-color: #000;
  overflow: hidden;
  margin: 0;
}

.title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Center vertically within the viewport */
  position: relative; /* Ensures the buttons are positioned relative to the title */
  z-index: 10; /* Higher z-index for the title */
}

.title h1 {
  font-size: 65px; /* Increase the font size for a bigger appearance */
  font-family: 'Lato', sans-serif;
  color: #ffffff;
  display: block;
  position: relative;
  z-index: 3;
  margin: 0; /* Remove margin to prevent pushing */
  margin-bottom: 20px;
}

.button-container {
  margin-top: 50px; /* Increase the distance between the title and the buttons */
  display: flex;
  justify-content: center;
  gap: 60px; /* Increase the spacing between the buttons */
  opacity: 0;
  animation: fadeIn 2s forwards; /* Adjust the duration as needed */
  position: relative; /* Ensures z-index applies */
  z-index: 9999; /* Very high z-index to place above all other elements */
}

.button-container button {
  padding: 20px 40px; /* Larger padding for much bigger buttons */
  font-size: 20px; /* Increase font size for more prominent buttons */
  border: none;
  border-radius: 4px; /* Squared off edges */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Translucent background */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Light border for a futuristic touch */
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s; /* Smooth hover effect */
  backdrop-filter: blur(10px); /* Glass-like blur effect */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow for more depth */
}

/* Hover effect for buttons */
.button-container button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Slightly more opaque on hover */
  border-color: rgba(255, 255, 255, 0.4); /* Highlight border on hover */
  transform: translateY(-3px); /* Slight lift effect on hover */
}

.stars, .twinkling, .clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
}

.stars {
  background: #000 url(stars.png) repeat top center;
  z-index: 0;
}

.twinkling {
  background: transparent url(twinkling.png) repeat top center;
  z-index: 1;
  animation: move-twink-back 200s linear infinite;
}

.clouds {
  background: transparent url(clouds.png) repeat top center;
  z-index: 2;
  opacity: .4;
  animation: move-clouds-back 200s linear infinite;
}

@keyframes move-twink-back {
  from {background-position: 0 0;}
  to {background-position: -10000px 5000px;}
}

@keyframes move-clouds-back {
  from {background-position: 0 0;}
  to {background-position: 10000px 0;}
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(20px); /* Slightly move up for the fade-in effect */
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 600px) {

  body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: hidden; /* Prevents scrolling */
  }

  .stars, .twinkling, .clouds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%; /* Ensure full width */
    height: 100%; /* Ensure full height */
    background-size: cover; /* Makes sure background images cover the entire viewport */
    background-repeat: no-repeat;
    z-index: 0;
}

  .title {
      text-align: center;
      padding: 30px;
  }

  .title h1 {
      font-size: 2em; /* Larger font size for mobile */
  }

  .button-container {
      display: flex;
      flex-direction: column;
      gap: 15px; /* Increase space between buttons */
  }

  .button-container button {
      font-size: 1.2em; /* Larger font size for buttons */
      padding: 15px 25px; /* Increase button padding */
      width: 100%; /* Full width buttons */
  }
}
