@font-face {
    font-family: 'Vulf Mono';
    font-weight: 400;
    font-style: normal;
    src: url('/static/assets/fonts/vulf-mono/VulfMonoDemo-Regular.otf');
}

@font-face {
    font-family: 'Vulf Mono';
    font-weight: 400;
    font-style: italic;
    src: url('/static/assets/fonts/vulf-mono/VulfMonoDemo-Italic.otf');
}

@font-face {
    font-family: 'Vulf Mono';
    font-weight: 700;
    src: url('/static/assets/fonts/vulf-mono/VulfMonoDemo-BoldItalic.otf');
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

html,
body,
div,
input,
label,
textarea,
blockquote,
code,
pre {
    box-sizing: border-box;
}

h1,
h2,
h3,
p {
    color: #333;
}

p,
li {
    line-height: 1.5em;
}

p.warning {
    font-style: italic;
    color: #777;
}

code, pre {
    font-family: 'Dank Mono', 'Menlo', 'Monaco', monospace;
    background: #e3e3e3;
    border-radius: 4px;
    font-size: 1em;
    padding: 6px 8px;
}

pre {
    overflow-x: auto;
}

pre code {
    padding: 0;
}

code {
    padding: 0 5px 2px 5px;
}

body {
    font-family: system-ui, 'Helvetica', 'Segoe UI', sans-serif;
    background: #f8f8f8;
}

main {
    margin: 24px auto;
    width: 60%;
    max-width: 700px;
}

a {
    color: #333;
}

a:hover {
    opacity: .6;
}

input[type="checkbox"] {
    width: auto;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-family: 'Vulf Mono', 'Helvetica', sans-serif;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

header p {
    text-align: right
}

header p a {
    color: #333;
    position: relative;
}

header p a::after {
    content: attr(title);
    display: block;
    opacity: 0;
    color: #333;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    transform: translate(0, -6px);
    white-space: nowrap;
    background: #fff;
    border-radius: 4px;
    padding: 4px 6px;
    box-shadow: 0px 3px 8px -1px rgba(0, 0, 0, .3);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}

header p a:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

label {
    color: #333;
    font-weight: bold;
    margin: 8px 0;
}

input,
button,
textarea {
    padding: 6px 12px;
    width: 100%;
    outline: none;
    background: #fff;
    font-size: 16px;
    border: 0;
    border-left: 2px solid #aaa;
    font-family: 'Vulf Mono', 'Menlo', 'Monaco', 'Courier', monospace;
    font-weight: 400;
    box-shadow: none;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

input:focus,
textarea:focus {
    border-left: 2px solid #333;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header,
input,
textarea {
    width: 100%;
}

.inputGroup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 16px;
    flex-grow: 1;
}

.inputGroup.submit {
    margin-left: 16px;
    width: 180px;
    flex-grow: 0;
}

textarea {
    resize: vertical;
    min-height: 400px;
}

button,
input[type="submit"] {
    padding: 6px 12px;
    background-color: #5e21d9;
    background-image: linear-gradient(-90deg, #5e21d9, #12a5e2);
    color: #fff;
    cursor: pointer;
    font-style: italic;
    display: block;
    transition: opacity .2s;
    border: 0;
}

button:hover,
input[type="submit"]:hover,
input[type="submit"]:focus {
    opacity: .7;
}

.hidden {
    visibility: hidden;
}

blockquote {
    border-left: 2px solid #333;
    padding-left: 12px;
}

p a {
    color: #333;
}

img {
    max-width: 100%;
}

.orMark {
    color: #333;
    font-weight: bold;
    text-align: center;
    margin: 12px 0;
    font-family: 'Vulf Mono', 'Helvetica', 'Arial', sans-serif;
}

#expandNoteButton {
    margin: 8px 0;
    width: auto;
}

.inputHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.ribbon {
    padding: 0;
    margin: 0;
    height: 20px;
    width: 100%;
    border: 0;
    background-color: #5e21d9;
    background-image: linear-gradient(-90deg, #5e21d9, #12a5e2)
}

.ornament {
    margin: auto;
    height: 140px;
}

@media only screen and (max-width: 700px) {
    main {
        width: 90%;
        max-width: unset;
    }
}
