/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header styling */
header {
    background-color:whitesmoke;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* Navigation menu */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 5px;
    flex: 1 1 200px; /* Makes sure the buttons wrap nicely on smaller screens */
}

/* Navigation buttons */
nav ul li a.button {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a.button:hover {
    background-color: #004494;
}

/* Main content */
main {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
}

h2 {
    color: #333;
}

h3 {
    margin-top: 20px;
    color: #0056b3;
}

/* Harvey-Bradshaw Index form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

label {
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 20px;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

#result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    background-color: #e0f7fa;
    border-radius: 5px;
}
 .responsive-table {
            width: 100%;
            max-width: 800px;
            margin: auto;
            border-collapse: collapse;
            font-family: Arial, Helvetica, sans-serif;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .responsive-table th, .responsive-table td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: left;
        }

        .responsive-table th {
            background-color: #777;
            color: white;
            font-size: 16px;
        }

        .responsive-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .responsive-table tr:hover {
            background-color: #f1f1f1;
        }

        @media (max-width: 600px) {
            .responsive-table th, .responsive-table td {
                padding: 8px;
                font-size: 14px;
            }
        }

/* Media query for screens less than 600px wide */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav ul li {
        flex: none;
    }

    nav ul li a.button {
        padding: 15px;
        font-size: 16px;
    }

    form {
        padding: 10px;
    }

    button {
        font-size: 18px;
    }

/* Footer styling */
footer {
    background-color: transparent; /* Transparent background to blend with the page */
    color: black; /* Black color for the text */
    text-align: center; /* Center the content */
    padding: 20px 0;
    width: 100%;
    margin-top: 20px;
	font-size: 10px;
}

footer p {
    margin: 0;
    font-size: 10px; /* Smaller text for the footer */
    color: black; /* Ensure text is black */
}

/* Styling for the About link */
footer a.about-link {
    color: black; /* Black text */
    text-decoration: none;
    font-size: 10px; /* Small font size */
}

footer a.about-link:hover {
    text-decoration: underline;
    color: #333; /* Slightly darker color on hover */
}

/* Larger screens (desktops) */
@media (min-width: 768px) {
    footer {
        padding: 20px 0;
        font-size: 10px;
        margin-top: 20px;
    }
    
    footer p {
        font-size: 10px;
    }

    footer a.about-link {
        font-size: 10px; /* Keep it small on desktop */
    }

	
}
	
}
