/* Galaxy canvas */
#galaxyCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Push behind content */
}

/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #f5f5f5;
    background-color: black;
    display: flex; /* Add flexbox layout to center content */
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
    align-items: center; /* Center the content horizontally */
    overflow-y: auto; /* Allow body to scroll */
    height: auto; /* Remove fixed height */
    min-height: 100vh; /* Ensure the body covers at least the full viewport height */
}

/* Home button */
.home-button {
    display: inline-block;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10; /* Ensure it's above canvas */
}

/* Container styles */
.container {
    width: 80%; /* Maintain original centered width */
    max-width: 800px; /* Keep max width */
    margin: 60px auto 0; /* Add top margin to prevent overlap */
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1; /* Ensure content is above canvas */
    display: flex; /* Flexbox for vertical alignment */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
    height: auto; /* Adjust height based on content */
}

/* Text styles */
h1, h2 {
    text-align: center;
    color: #FFD700;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
}

p {
    line-height: 1.6;
    text-align: center;
    margin-top: 10px;
}

.social-links {
    text-align: center;
    margin: 20px 0;
}

.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #FFD700;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    body {
        justify-content: flex-start; /* Align content to the top on mobile */
        padding: 10px; /* Adjust body padding on mobile */
    }

    .container {
        width: 95%; /* Slightly narrower on mobile */
        max-width: none; /* Remove fixed max-width for flexibility */
        margin-top: 10px; /* Ensure content is closer to top */
    }

    h1 {
        margin-top: 20px; /* Adjust title margin for mobile */
    }
}
