:root,
textarea {
    color-scheme: light dark;
    box-sizing: border-box;
    font-family: sans-serif;
}
.wrapper {
    padding: 0 10px;
    margin: 0 auto;
    margin-bottom: 50px;
    max-width: 800px;
}
h1 {
    text-align: center;
    margin-bottom: 10px;
}
span {
    display: inline-block;
    width: auto;
}
h3 {
    margin: 0;
}
.subtitle {
    text-align: center;
    margin-top: 0;
    margin-bottom: revert;
}
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}
.underlined {
    text-decoration: underline;
    text-underline-offset: 10px;
}
a {
    color: inherit;
    text-decoration: none;
}
p {
    margin-top: 0;
    white-space: pre-line;
}
.quote {
    margin-top: 12px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quote a {
    padding: 5px;
    margin: -5px;
}
.quote svg {
    width: 14px;
    height: 14px;
}
form {
    display: flex;
    flex-direction: column;
    align-items: justify;
}
label,
input[type='submit'] {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
input,
textarea {
    padding: 10px;
    resize: none;
}
.msg {
    overflow: hidden;
    background: #eee;
    font-style: italic;
    color: gray;
    animation: infocard 5s linear forwards;
    transform-origin: top;
}
.empty {
    text-align: center;
    opacity: .5;
    margin-top: 50px;
    font-style: italic;
}
@keyframes infocard {
    0% {
        max-height: 0;
        padding: 0 20px;
        transform: scaleY(0);
    }
    2% {
        max-height: 50px;
        padding: 10px 20px;
        transform: scaleY(1);
    }
    98% {
        max-height: 50px;
        padding: 10px 20px;
        transform: scaleY(1);
    }
    100% {
        max-height: 0;
        padding: 0 20px;
        transform: scaleY(0);
    }
}
