/* styles.css */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    margin-top: 5%;
}

#header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

#header nav {
    display: flex;
    justify-content: center; /* Center menu text on normal view */
    align-items: center;
}

#header nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center; /* Center menu items vertically */
}

#header nav ul li {
    margin-right: 20px;
}

#header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
}

/* Styles for the mobile hamburger menu */
@media only screen and (max-width: 600px) {
    .mobile-menu-icon {
        display: block;
        order: 2; /* Move hamburger icon to the end */
    }
    
    #header nav {
        justify-content: flex-end; /* Align menu to the right on mobile view */
    }

    #header nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        background-color: #333; /* Background color for mobile menu */
        position: absolute;
        top: 40px; /* Adjust according to your header height */
        left: 0;
        right: 0;
    }

    #header nav ul.open {
        display: flex;
    }

    #header nav ul li {
        margin: 10px 0;
    }

    #header nav ul li a {
        color: #fff;
        font-size: 18px;
    }
}

/* WordPress-like styling */
#footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
    text-align: center;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#footer ul li {
    display: inline;
}

#footer ul li a {
    color: #fff;
    text-decoration: none;
}

/* Homepage button styling */
.container {
    text-align: center;
    margin-top: 100px;
    padding: 20px 40px;
}

h1 {
    font-size: 24px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.button:hover {
    background-color: #45a049;
}

/* Mobile view button styling */
@media only screen and (max-width: 600px) {
    .container {
        margin-top: 50px; /* Adjust margin top for smaller screens */
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .button {
        font-size: 16px;
        padding: 8px 16px; /* Adjust padding for smaller screens */
    }

    /* Display the hamburger menu icon */
    .mobile-menu-icon {
        display: block;
    }

    #header nav,
    #header nav ul {
        width: 91%;
    }


}
