body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #faf6f0;
    color: #2b2b2b;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    line-height: 1.6;
}

a {
    color: #7a4a2b;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #e0d6c8;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: .5rem;
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
}

nav a {
    margin-left: 1rem;
    text-decoration: none;
}

.poem {
    margin-bottom: 2.5rem;
}

.poem h2 {
    margin-bottom: .2rem;
}

.meta {
    font-size: .85rem;
    color: #8a7d6d;
    margin-bottom: .8rem;
}

.poem-body {
    white-space: pre-wrap;
}

form {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    max-width: 480px;
}

label {
    font-weight: bold;
}

input, textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: .5rem;
    border: 1px solid #c9bda8;
    border-radius: 4px;
}

textarea {
    min-height: 220px;
    white-space: pre-wrap;
}

button {
    align-self: flex-start;
    background: #7a4a2b;
    color: #fff;
    border: none;
    padding: .6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}

.error {
    color: #a1222b;
}

.empty {
    color: #8a7d6d;
}
