@font-face {
    font-family: "Outfit";
    src: url("/static/Outfit.ttf");
}

html {
    color: #f1f1f1;
    background-color: #1f1f1f;
    font-family: "Outfit", sans-serif;
}

body {
    margin: 3em;
}

@media (min-width: calc(768px + 6em)) {
    body {
        margin: 3em auto;
        max-width: 768px;
    }
}

input, textarea, button {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: .5em;
    padding: 1em;
    color: #f1f1f1;
    font-family: "Outfit", sans-serif;
    font-size: 1em;
    background-color: transparent;
    border: 2px solid #3f3f3f;
    border-radius: .5em;
    outline: none;
    transition: color 200ms ease, border-color 200ms ease;
}

input:focus, textarea:focus {
    border: 2px solid #ffa500;
}

textarea {
    resize: none;
}

button {
    display: flex;
    align-items: center;
    gap: 1em;
    width: auto;
    padding: .5em 1em;
    color: #1f1f1f;
    background-color: #ffa500;
    border: 2px solid #ffa500;
    cursor: pointer;
}

button:hover {
    background-color: #ff7600;
    border: 2px solid #ff7600;
}

button svg {
    fill: currentColor;
}

a {
    color: #ffa500;
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: #ff7600;
}

a h1, a:hover h1 {
    color: #f1f1f1;
}

hr {
    height: 2px;
    background-color: #3f3f3f;
    border: none;
}

.input-group {
    width: 100%;
}

.input-group label {
    display: flex;
    font-size: .8em;
    margin-bottom: .5em
}

.reverse {
    display: flex;
    flex-direction: row-reverse;
}

.roars {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.roar {
    padding: 1em;
    background-color: #3f3f3f;
    border-radius: 1em;
}

.roar .roar-author {
    font-weight: bolder;
    margin-bottom: .5em;
}

.roar .roar-text {
    margin-bottom: .5em;
}

.roar .roar-date {
    font-size: .8em;
    color: #afafaf;
    text-align: right;
}

.error-message {
    margin-bottom: 1em;
    padding: 1em;
    background-color: #f4503e30;
    border: 2px solid #f4503e;
    border-radius: 1em;
}

.success-message {
    margin-bottom: 1em;
    padding: 1em;
    background-color: #4cbb1730;
    border: 2px solid #4cbb17;
    border-radius: 1em;
}

.success-message.active {
    display: block;
}

.flex {
    display: flex;
}

.space-around {
    justify-content: space-around;
}
