/* General Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #2a2a2a; /* Dark background */
    color: white;
}

/* Header Bar (Title) */
.header-bar {
    position: fixed; /* Fix it at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000; /* Black background */
    color: #FFCC00; /* Yellow text */
    text-align: center;
    padding: 20px;
    font-size: 2.5em;
    z-index: 10; /* Ensure it is above other content */
    font-weight: bold;
}

/* Floating Menu Bar */
.menu-bar {
    position: fixed; /* Fix it at the top */
    top: 80px; /* Position it below the header */
    left: 0;
    width: 100%;
    background-color: #111; /* Dark menu background */
    z-index: 5;
    padding: 10px 0;
    text-align: center;
}

.menu-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center the menu items */
}

.menu-bar li {
    padding: 15px;
}

.menu-bar a {
    color: #FFCC00; /* Yellow text for links */
    text-decoration: none;
    font-size: 1.2em;
}

.menu-bar a:hover {
    color: #FFFFFF; /* White text on hover */
}

/* Background Image */
.headerimage {
    margin-top: 160px; /* Space for the fixed menu */
    width: 100%;
}

.headerimage img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content Area */
.main-content {
    padding: 20px;
    text-align: center;
    color: white;
    z-index: 1; /* Make sure it is below the menu */
}

/* Content Container */
.content-container {
    margin-top: 50px;
    text-align: center;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    /* Stack the menu vertically on small screens */
    .menu-bar ul {
        flex-direction: column;
    }

    .menu-bar li {
        padding: 10px;
    }

    /* Adjust header font size */
    .header-bar {
        font-size: 2em;
        padding: 10px;
    }

    /* Adjust content for smaller screens */
    .main-content {
        padding: 10px;
    }

    .content-container {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    /* For very small screens */
    .header-bar {
        font-size: 1.5em;
    }

    .menu-bar a {
        font-size: 1em;
    }

    .menu-bar li {
        padding: 8px;
    }

    .main-content {
        padding: 5px;
    }

    .content-container {
        padding: 5px;
    }
}
