/* Reset some default styles */
body, h1, form {
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center; /* Center-align the text */
    margin-bottom: 20px; /* Add some margin below the header */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px black; /* Add text shadow */
}

/* Set a background color and center the form */
body {
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Ensure header and form are in a column layout */
    align-items: center;
    height: 100vh; /* Adjust height to fit the screen */
}

/* Style the form container */
form {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 400px; /* Set a maximum width for the form */
    margin: 0 auto; /* Center-align the form */
}

/* Style the form heading */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Style labels and input fields */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Style radio buttons and checkboxes */
input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}

/* Style the submit button */
input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #555;
}

/* Style the "Other" explanation input */
#other_explanation {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Add some spacing to checkboxes */
input[type="checkbox"] + input[type="text"] {
    margin-left: 10px;
}

/* Profile image styles */
.profile-image {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive styling for smaller screens */
@media (max-width: 600px) {
    form {
        width: 90%;
    }
}
