body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #BFBF99; /* Beige background color */
    color: #333; /* Darker text color for contrast */
    text-align: center; /* Center-align text */
}

.header {
    background-color: #BFBF99; /* Beige background colour */
    padding: 50px 20px;
}

}

.tagline {
    font-style: italic;
    margin-top: 10px;
}

.nav {
    background-color: #4B0082; /* Purple background */
    padding: 25px 0; /* Vertical padding */
    width: 100%; /* Full width */
    margin: 0; /* Remove default margin */
    position: sticky; /* Optional: Stick to the top when scrolling */
    top: 0; /* Position at the top */
    z-index: 1000; /* Keep it above other content */
}


.nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center-align navigation items */
}

.nav ul li {
    display: inline;
    margin: 0 15px;
}

.nav a {
    color: #f4f4f4;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
}

h2 {
    color: #ffcc00;
}

.header-image {
    width: 100%; /* Full width of the container */
    max-width: 100%; /* Prevent overflow */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Set a max height to prevent excessive height */
    object-fit: contain; /* Ensure the entire image is visible without distortion */
    margin: 20px auto; /* Center the image horizontally with space above and below */
    border-radius: 10px; /* Optional: Rounded corners */
}


form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center form elements */
    justify-content: center; /* Vertically center form elements */
}

form input {
    margin: 5px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 80%; /* Set width for input fields */
}

form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: white;
    cursor: pointer;
    width: 80%; /* Set width for the button */
}

form button:hover {
    background-color: #6a0dad;
}

.footer {
    text-align: center;
    text-color: white;
    padding: 15px 0;
    background-color: #2c2c2c;
}
