/* Ensure no interfering styles on parent elements */
body, html {
    margin: 0;
    padding: 0;
}

/* Basic styles for the menu */
nav {
    /* Sticky Menu */
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures the menu stays on top */
    background-color: #333; /* Move background color here */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    background-color: #575757;
}

nav ul li a.active {
    background-color: #4CAF50;
    font-weight: bold;
}

   /* Basic styles for the form */
   form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1em;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form div {
    margin-bottom: 1em;
}

label {
    margin-bottom: .5em;
    color: #333333;
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    border: 1px solid #CCC;
    padding: .5em;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 0.7em;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: #555;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        text-align: center;
        padding: 10px;
    }
}