:root {
    --color-primary: #00154A;
    --color-secondary: #FDFCE4;
    --color-tertiary: #832829;
    --color-text: #000;
    --color-text-light: #FDFCE4;
    --color-background: #b5f3f0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
    form > button:hover {
        transform: scale(1) !important;
    }
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.2em;
    line-height: 1.5em;
}

body,
ul,
li {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
a {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height: 1.2em;
}

h1 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

small {
    display: block;
    line-height: 1em;
}

.wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin:auto;
    max-width: 1000px;
    padding: 0 25px;
    width: 100%;
}

.wrap-column {
    flex-direction: flex-start;
    flex-direction: column;
}

.wrap-center {
    align-items: center;
}

.wrap-left {
    align-items: flex-start;
}

.header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px 25px;
}

.header-logo {
    height: auto;
    width: 100px;
}

nav > ul {
    display: flex;
    justify-content: space-between;
}

nav > ul > li {
    list-style-type: none;
    margin-left: 20px;
}

nav > ul > li > a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

nav > ul > li > a:visited {
    color: var(--color-primary);
}

nav > ul > li > a:hover {
    color: var(--color-tertiary);
    text-decoration: underline;
}

section {
    padding: 50px 0;
}

.intro {
    align-items: center;
    display: flex;
    flex-direction: column;
    color: var(--color-secondary);
    background-color: var(--color-primary);
}

.intro-image {
    height: auto;
    width: 100%;
}

.intro-text {
    margin-top: 8px;
    max-width: 100%;
    text-align: left;
}

.find-out-more {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: left;
    color: var(--color-primary);
    background-color: var(--color-secondary);
}

.text-anchor:hover {
    text-decoration: none;
}

.text-anchor:visited {
    color: var(--color-primary);
}

form {
    border: solid 1px #aaa;
    border-radius: 5px;
    min-width: 500px;
    padding: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
}

fieldset > div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

fieldset > div > div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

fieldset legend {
    margin-bottom: 5px;
}

label {
    margin-bottom: 5px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-tertiary);
}

input,
textarea {
    padding: 10px 15px;
}

form > button {
    background-color: var(--color-primary);
    border: solid 1px var(--color-primary);
    border-radius: 5px;
    color: var(--color-text-light);
    padding: 10px 20px;
    cursor: pointer;
    outline-offset: 5px;
    transition-property: background-color, border, transform;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

form > button:hover {
    background-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
    color: var(--color-text-light);
    transform: scale(1.25);
}

footer {
    background-color: #00154A;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
}

footer a {
    color: var(--color-text-light);
}

footer a:visited {
    color: var(--color-text-light);
}