body {
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 10px;
    font-size: 1rem;
    color: #333
}

a {
    color: #333
}

header {
    padding: 20px 0 30px
}

header h1 {
    margin: 20px 0 0;
    display: inline-block
}

header h2 {
    font-weight: 400;
    font-size: 16px;
    margin: 0
}

header a {
    color: #333;
    text-decoration: none
}

header a:hover {
    text-decoration: none
}

textarea#note_raw,
textarea#note-text,
textarea#note_contents,
input#note_link_input,
.link-box {
    display: block;
    width: 100%;
    padding: 3px 5px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    border: #333 1px solid;
    border-radius: 5px;
    margin: 0 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent;
    color: inherit;
}

p.info {
    font-size: 13px;
    color: #737373
}

p.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem
}

p.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb
}

.btn {
    font-size: 18px;
    cursor: pointer;
    background: #eee;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #ddd;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.links {
    padding: 0 0 0 20px
}

.links a {
    font-size: 13px
}

footer {
    font-size: 13px;
    text-align: center;
    padding: 20px 0
}

footer p:nth-child(2n) a {
    color: #d0d0d0
}

footer p:nth-child(2n) a:hover {
    color: #333
}

footer p a:hover {
    text-decoration: none
}

.hidden {
    display: none !important;
}

.link-box {
    font-family: monospace;
    word-break: break-all;
    background-color: #f0f0f0;
    user-select: all;
    margin-bottom: 10px;
}

#note-body {
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
    background: #fff;
}
