/* General Body Style */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000; /* Fallback background color */
    color: #fff; /* Ensure text is white */
    font-family: 'Orbitron', sans-serif;
}

/* Wrapper to Center Content and Limit Width */
.container {
    max-width: 700px; /* Set maximum width for the content */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Add some padding on the sides */
}

/* Wrapper to Center Content and Limit Width */
.index_container {
    max-width: 1000px; /* Set maximum width for the content */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Add some padding on the sides */
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

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

nav {
    margin-top: 10px;
}

nav a {
    color: #fff; /* Default link color (white) */
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
}

/* Highlighting active link */
.nav-link.active {
    color: #bf66ff; /* Highlighted link color */
    font-weight: bold; /* Optional: make it bold */
}

/* Link Hover Effect */
nav a:hover {
    color: #bf66ff; /* Purple color on hover */
}

/* Main Content */
main {
    margin-top: 130px; /* Increased to ensure the main content starts below the header */
    padding: 20px;
    padding-bottom: 20px;
    background-color: #111; /* Slightly different shade to distinguish content area */
    font-family: 'Roboto', sans-serif; /* Apply more readable font to main content */
    line-height: 1.6; /* Improved line height for readability */
    color: #e0e0e0; /* Lighter text color for better contrast */
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative; /* Changed to relative from fixed */
    font-size: small;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Responsive Image */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Media Queries for Smaller Screens */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em; /* Smaller header font size for small screens */
    }

    nav a {
        font-size: 1em; /* Smaller navigation link size for small screens */
    }

    main {
        margin-top: 150px; /* Increased space for header on small screens */
    }
}

/* Button Styling */
button {
    background-color: #00ffcc; /* Initial button color */
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Button Hover Effect */
button:hover {
    background-color: #bf66ff; /* Purple color on hover */
    color: white; /* Change text color to white on hover */
}

/* Button Box Shadow for Hover */
button:active {
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.5); /* Add a subtle shadow when the button is clicked */
}
