body {
    background-image: url('images/blackhole.png');
    background-size: cover; /* Ensures the image covers the entire screen */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center center; /* Centers the image */
    color: #ffffff;
    padding-bottom: 50px; /* Adjust for footer height */
    min-height: 100vh; /* Ensures content extends to at least the height of the viewport */
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: #ffffff;
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1.2rem;
}

section {
    max-width: 250px; /* Limit the width of the text */
    margin: 0 auto; /* Center the section element */
    text-align: left; /* Ensure natural reading flow */
    padding: 1rem;
    line-height: 1.6; /* Improve readability */
}

section h2 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}



@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    nav a {
        font-size: 1rem;
        margin: 0 0.5rem;
    }

    section {
        padding: 1rem;
    }

    #about {
        flex-direction: column; /* Stack content on smaller screens */
        text-align: center; /* Center align for better mobile aesthetics */
    }

    #about div {
        padding: 1rem 0;
    }
}

a:link {
    color: rgb(0, 195, 255); /* Default color for unvisited links */
}

a:visited {
    color: rgb(253, 102, 228); /* Color for visited links */
}


header .header-link:link {
    color: white;
}

header .header-link:visited {
    color: lightgray;
}

header .header-link:hover {
    color: lightblue;
}

header .header-link:active {
    color: darkgray;
}
header .header-link.current {
color: lightblue;
}

