body {
    background: radial-gradient(circle, #0b0c25, #000);
    color: #e0e0ff;
    font-family: 'Times New Roman', serif;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, #1a1a40, #0b0c25);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    color: #ffcc00;
    text-shadow: 0px 0px 10px #ffcc00;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffcc00;
    font-weight: bold;
}

nav ul li a:hover {
    text-shadow: 0px 0px 10px #fff;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

footer {
    text-align: center;
    padding: 10px;
    background: #0b0c25;
    color: #e0e0ff;
    font-size: 0.9em;
}

/* Hidden sections initially */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible sections when scrolled into view */
section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Canvas covering the entire background */
canvas#starryBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place behind content */
    background: black;
}

.parallax {
    background-image: url('your-image.jpg'); /* Replace with your background image */
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
