body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #d7edd7;
    color: #f5f5dc;
}

div#container {
    width: 70%;
    min-height: 100vh;
    margin: auto;
    background-color: #246424;
    padding: 2rem;
    box-sizing: border-box;
    color: #f5f5dc;
}

header, main {
    padding: 2rem;
}

header {
    background-color: #1e3d1e;
    color: #f5f5dc;
}

fieldset {
    display: none;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 2px solid #f5f5dc;
    border-radius: 8px;
    background-color: #3b703b;
    color: #f5f5dc;
}

fieldset.active {
    display: block;
}

h1, h2, legend {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    color: #f5f5dc;
}

h1 {
    font-size: 3.75rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.25rem;
}

legend {
    font-size: 1.1rem;
}

label, input, select {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

input[type="checkbox"], input[type="checkbox"] + label {
    display: inline-block;
    width: auto;
}

label {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

input[type="text"], input[type="date"], select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f5f5dc;
    color: #000;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="date"]:focus, select:focus {
    border-color: #f5f5dc;
    outline: none;
}

input[type="text"]::placeholder,
input[type="date"]::placeholder,
select:invalid {
    color: #999;
}

p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

a.button, input[type="submit"] {
    background-color: #f5f5dc;
    color: #1e3d1e;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    width: auto;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    text-align: center;
}

a.button:hover, input[type="submit"]:hover {
    background-color: #e0e0c0;
}

ul#overview {
    margin-top: 1rem;
    line-height: 120%;
}

ul#overview li {
    list-style: disc inside;
}

ul#overview span {
    font-weight: bold;
}

#feedback {
    font-weight: bold;
    margin-top: 1rem;
    color: rgb(201, 237, 201);
}

#previous {
    font-size: 0.75rem;
    color: #d3d3b3;
    font-style: italic;
}

#thank-you {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: rgb(223, 249, 223);
}
