body {
  background-image: url('spacebg.gif');
  background-repeat: repeat;
  background-size: auto;
  color: white;
  font-family: Playfair Display;
}

.content {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

h1 {
  text-align: center;
}

h1 img {
  width: 60%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sound-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px 0;
}

.sound-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  width: 220px;
  text-align: center;
}

.sound-card h3 {
  margin: 0 0 8px 0;
}

.sound-card p {
  font-size: 0.9em;
  margin: 0 0 12px 0;
}

.full-desc {
  display: none;
}

.sound-card.expanded .short-desc {
  display: none;
}

.sound-card.expanded .full-desc {
  display: block;
}

.card-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.sound-btn {
  background-color: white;
  color: black;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.sound-btn:hover {
  background-color: #ddd;
}

.expand-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85em;
  text-decoration: underline;
  padding: 4px;
}

.expand-btn:hover {
  color: #ccc;
}