body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

 /*Fixed background image */
.background-image {
    background-image: url('../images/backgroundImage.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 

    /* Make sure the container covers the entire viewport */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Position it behind the form content */
}

/* Container for the form and message area */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center the content */
    height: 100vh;
    position: relative;
    z-index: 1; /* Ensure it's above the background image */
}

#message-area {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    position: absolute; /* Position message area absolutely */
    top: 10px; /* Align to the top of the form container */
    width: calc(100% - 40px); /* Full width with padding adjustment */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* Ensure it's above the form */
}

form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    z-index: 1; /* Ensure the form is below the message area */
    /* Removed margin-bottom */
}

input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
