@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "DM Sans", serif;
  margin: 0;
  /* padding: 0 0 80px 0; */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header {
  background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
  padding: 20px;
  width: 100%;
}

h1 {
  color: #4e78f1;
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: #4e78f1;
  font-weight: 900;
}

main {
  max-width: 800px;
  width: 800px;
  padding: 20px;
  background-color: #1e1e1e;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  margin: 20px;
}

p {
  font-size: 1.1rem;
  color: #bdbdbd;
}

/* Updated Universe Widget Styling */
.universe-widget {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .universe-widget {
    width: 100%;
  }
}

footer {
  background: #181818;
  padding: 10px;
  width: 100%;
  bottom: 0;
  text-align: center;
  color: #757575;
}

/* Retro 3D Keyboard Key Style for the Toggle Button */
#learn-more-toggle {
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #ffffff4f;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
  
#learn-more-toggle:hover {
  background-color: #131212; 
}
  
#learn-more-toggle:active {
  transform: translateY(2px);
}

/* Collapsible Content Styling */
#learn-more-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #1e1e1e;
  padding: 0 20px; /* No vertical padding when collapsed */
  text-align: left;
}

#learn-more-content.expanded {
  max-height: 1000px; /* Increased max-height to ensure all content is visible */
  padding: 20px;
  margin-bottom: 20px; /* Adds space between the expanded text and the widget */
  text-align: left;
}
