body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: url("https://www.astronomy.com/wp-content/uploads/2024/06/iss-space-walk-1200x1200.jpeg")
    no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

h1,
#spaceCard,
button,
.buttons {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px #000;
}

button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #ff6f61;
  color: #fff;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

button:hover {
  transform: scale(1.1);
  background-color: #ff3b2e;
}

#spaceCard {
  margin-top: 30px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  text-align: left;
  display: none; /* Initially hidden */
}

img,
iframe {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 10px;
}

p {
  line-height: 1.5;
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }
  button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  #spaceCard {
    padding: 15px;
  }
}
