*,
::after,
::before {
    box-sizing: border-box
}

blockquote,
body,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
p {
    margin: 0
}

ol[role=list],
ul[role=list] {
    list-style: none
}

html:focus-within {
    scroll-behavior: smooth
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    line-height: 1.5
}

a:not([class]) {
    text-decoration-skip-ink: auto
}

img,
picture {
    max-width: 100%;
    display: block
}

button,
input,
select,
textarea {
    font: inherit
}

@media (prefers-reduced-motion:reduce) {
    html:focus-within {
        scroll-behavior: auto
    }

    *,
    ::after,
    ::before {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important
    }
}

body {
    background-color: #142d4c;
    font-family: sans-serif;
    color: #ececec;
    padding: 10px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.link-btn {
    padding: 10px;
    color: #ececec;
    display: block;
    background-color: #385170;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 1px 1px 1px #000;
    cursor: pointer;
    border-radius: 10pc;
    transition: all 0.25s ease-in;
}

.link-btn:hover,
.link-btn:active,
button:hover,
button:active {
    box-shadow: 1px 1px 5px #000;
}

.editor .link {
    padding: 5px 0;
}

.editor button {
    text-transform: lowercase;
}

input,
textarea {
    padding: 10px;
    display: block;
    max-width: 100%;
    min-width: 100%;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #aaa;
    margin-bottom: 2px;
}

textarea {
    min-height: 100px;
    font-size: small;
}

button {
    padding: 5px 10px;
    display: block;
    width: 100%;
    background-color: #555;
    border: none;
    color: white;
    cursor: pointer;
}

h1,
h2 {
    padding: 10px 0px;
    line-height: 1.1;
}

.main-wrapper {
    font-size: large;
}

.main-wrapper p {
    font-size: medium;
    white-space: pre-wrap;
    line-height: 1.2;
}

.main-wrapper pre,
.main-wrapper li {
    text-align: left;
}

a {
    color: white;
}

.main-wrapper .footer a {
    color: #888;
    font-size: small;
}

.flex-h {
    display: flex;
    align-items: center;
}

.flex-h input {
    min-width: auto;
}

a.remove {
    font-weight: bold;
    background-color: transparent;
    padding: 10px;
    width: 40px;
    text-align: center;
    cursor: pointer;
    display: block;
}

.section {
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #555;
    padding-bottom: 3px;
    font-size: medium;
    margin: 10px 0;
}

@media screen and (min-width: 700px) {
    .two-cols {
        display: flex;
    }

    .two-cols>div:first-of-type {
        flex: 1;
        margin-right: 20px;
    }

    .two-cols>div:last-of-type {
        width: 50%;
    }

    body {
        max-width: 1000px;
    }
}

*:disabled {
    opacity: 0.5;
}

small {
    display: inline-block;
    line-height: 1.2;
    padding: 5px 0;
}

input:read-only {
    background-color: #aaa;
    border: none;
}

[v-cloak] {
    display: none;
}

.editor div>label {
    text-align: left;
    display: block;
}

.editor div>label .clr-field {
    display: block !important;
    margin-top: 5px;
}

.editor .preset {
    display: flex;
    overflow-y: scroll;
    width: 100%;
    max-width: 470px;
    cursor: pointer;
    margin-bottom: 10px;
}

.editor .preset>div {
    padding: 5px 10px;
    margin-right: 3px;
    border: 1px solid #555;
    font-size: small;
}

.editor .preset>div.active {
    border-color: #fff;
}

.editor .preset>div a {
    padding: 5px 10px;
    border-radius: 10px;
    display: block;
    margin-top: 10px;
}

.editor .editor-colour label {
    width: 50%;
    float: left;
    font-size: small;
    padding: 5px;
}

.editor .editor-colour input {
    display: block;
    font-size: medium;
    font-family: monospace;
    background-color: #aaa;
}

#clr-color-value {
    display: none;
    /* bug: misplaced */
}

.editor .editor-body>div {
    background-color: #fff;
}

.avatar {
    height: 300px;
    border-radius: 100%;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    background-position: 50% 50%;
    background-size: cover;
}