body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.form-row {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="date"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

input:invalid,
textarea:invalid,
select:invalid {
    border-color: red;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
    border-color: red;
}
.header {
    text-align: center;
    margin-bottom: 10px;
    padding:10;	
}

.header h1 {
    font-size: 2em;
    color: #2c3e50; /* Change to your preferred color */
}

.header h2 {
    font-size: 1.5em;
    color: #008000;
}

.header h3 {
    font-size: 1.2em;
    color: #228b22;
}
.header h1, .header h2, .header h3 {
    line-height: 1.2; /* Adjust this value to your preference; lower means less space */
    margin: 5px 0; /* Minimized margin for tighter spacing */
}
