@font-face {
    font-family: "Seaford";
    src: url("/fonts/public-seaford.eot");
    src: url("/fonts/public-seaford.eot?#iefix") format("embedded-opentype"),
    url("/fonts/public-seaford.woff") format("woff"),
    url("/fonts/public-seaford.woff2") format("woff2"),
    url("/fonts/public-seaford.ttf") format("truetype"),
    url("/fonts/public-seaford.svg#Seaford") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Seaford', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    min-height: 100vh;
    position: relative;
}

.top {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    margin: 0;
}

.top-margin {
    margin-top: 14em;
}

.main-header {
    background-color: #333;
    color: #eab771;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 1em 0;
}

.main-header img {
    height: 10em;
}

body.scrolled1 .main-header img {
    height: 5em;
}

body.scrolled2 .main-header img {
    height: 6em;
}

body.scrolled3 .main-header img {
    height: 7em;
}

body.scrolled4 .main-header img {
    height: 8em;
}

body.scrolled5 .main-header img {
    height: 9em;
}

nav {
    background-color: #555;
    padding: 0.25em 0;
    text-align: center;
}

nav a {
    color: #eab771;
    text-decoration: none;
    padding: 0.5em 0.3em;
    margin: 0.5em;
    display: inline-block;
}

section {
    padding: 2em;
}

section a {
    color: #eab771;
    text-decoration: none;
}

section a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: #eab771;
    text-align: center;
    padding: 0.5em 0;
    font-size: small;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer a {
    background-color: #333;
    color: #eab771;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 0.3em;
}

input,
textarea {
    width: 100%;
    padding: 1em;
    margin-bottom: 16px;
    box-sizing: border-box;
}

button {
    background-color: #333;
    color: #eab771;
    padding: 1em 2em;
    border: none;
    cursor: pointer;
    font-size: large;
}
