/* Methodology is BEM */
/* Comments above declarations say why the declaration is there. */
/* Selectors are written like this: blockBlock_elementElement-modifierModifier . */
/* Custom properties are written like this: --customProperty . */
/* Declarations are sorted by the property name alphabetically with -- before - before letter. */
/* Declaration blocks are sorted by the name of the class of the target element alphabetically. */

@font-face {
    font-display: block;
    font-family: "Graphik";
    font-style: normal;
    font-weight: 400;
    src: url("font/Graphik-Regular-Cy-Gr-Web.woff2") format("woff2");
}

@font-face {
    font-display: block;
    font-family: "Graphik";
    font-style: italic;
    font-weight: 400;
    src: url("font/Graphik-RegularItalic-Cy-Gr-Web.woff2") format("woff2");
}

@font-face {
    font-display: block;
    font-family: "Graphik";
    font-style: normal;
    font-weight: 600;
    src: url("font/Graphik-Semibold-Cy-Gr-Web.woff2") format("woff2");
}

@font-face {
    font-display: block;
    font-family: "Graphik";
    font-style: italic;
    font-weight: 600;
    src: url("font/Graphik-SemiboldItalic-Cy-Gr-Web.woff2") format("woff2");
}

@font-face {
    font-display: block;
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    src: url("font/JetBrainsMono-Regular.woff2") format("woff2");
}

/* ########################################################################## */
/* Custom property */
/* ######################################################################### */

:root {
    /* base font size */
    --bfs: 16px;

    /* font color */
    --fc: hsl(0, 0%, 5%);

    /* golden ratio */
    --gr: calc((1 + sqrt(5)) / 2);

    /* header height */
    --hh: calc(3 * var(--vs));

    /* horizontal spacing */
    --hs: 16px;

    /* input border color */
    --ibc: hsl(0, 0%, 80%);

    /* max width */
    --mw: calc(36 * var(--hs));

    /* vertical spacing */
    --vs: 24px;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    background-color: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 2px solid var(--ibc);
    outline-offset: 2px;
}

.article {
    margin: 0 auto;
    max-width: var(--mw);
    padding: calc(2.5 * var(--vs)) var(--hs) calc(8 * var(--vs));
}

.article > :last-child {
    margin-bottom: 0;
}

.article > p > a {
    border-radius: 1px;
    text-decoration: underline;
}

.article > blockquote {
    display: none;
}

.article em {
    font-style: italic;
}

.article > h1 {
    font-size: calc(2 * var(--bfs));
    font-weight: 600;
    line-height: calc(2 * var(--vs));
    margin: 0 0 var(--vs);
}

.article > h2 {
    font-size: calc(1.5 * var(--bfs));
    font-weight: 600;
    line-height: calc(1.5 * var(--vs));
    margin: calc(2 * var(--vs)) 0 var(--vs);
}

.article > hr {
    display: none;
}

.article > ul > li {
    list-style: "• ";
    margin: calc(0.5 * var(--vs)) 0 calc(0.5 * var(--vs)) calc(1 * var(--hs));
}

.article > ul > li > li {
    display: none;
}

.article > p {
    margin: var(--vs) 0 var(--vs);
}

.article > p > img {
    display: block;
    margin: calc(1.5 * var(--vs)) 0 calc(1.5 * var(--vs));
    max-height: calc(2 / 3 * 100svh);
    max-width: 100%;
}

.article > pre {
    background: hsl(0, 0%, 96%);
    border-radius: calc(0.25 * var(--vs));
    font-family: monospace;
    font-size: calc(14 / 16 * var(--bfs));
    margin: calc(1.5 * var(--vs)) 0;
    overflow-y: scroll;
    padding: calc(0.5 * var(--vs)) calc(1 * var(--hs));
}

.article > strong {
    font-weight: 600;
}

.article > ul {
    margin: var(--vs) 0 0;
}

.body {
    color: var(--fc);
    font-family: sans-serif;
    font-family: "Graphik", sans-serif;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: var(--bfs);
    line-height: var(--vs);
    overflow-y: scroll;
}

.button {
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.button-imageUpload {
    margin: calc(0.5 * var(--vs)) 0 0;
}

.button-logOut {
    margin: var(--vs) 0 0;
}

.console {
    margin: 0 auto;
    max-width: var(--mw);
    padding: calc(2.5 * var(--vs)) var(--hs) calc(8 * var(--vs));
}

.console > a {
    border-radius: 1px;
    text-decoration: underline;
}

.console > h1 {
    font-size: calc(2 * var(--bfs));
    font-weight: 600;
    line-height: calc(2 * var(--vs));
}

.console > h2 {
    font-size: calc(1.5 * var(--bfs));
    font-weight: 600;
    line-height: calc(1.5 * var(--vs));
    margin: calc(2 * var(--vs)) 0 0;
}

.console > h3 {
    font-size: calc(1.25 * var(--bfs));
    font-weight: 600;
    line-height: calc(1.25 * var(--vs));
    margin: calc(1.5 * var(--vs)) 0 0;
}

.console > p {
    margin: calc(1 * var(--vs)) 0 0;
}

.console_image {
    margin: var(--vs) 0 0;
}

.console_imageA {
    border-radius: 1px;
    text-decoration: underline;
}

.consoleHeader_a {
    border-radius: 1px;
    text-decoration: underline;
}

.consoleHeader_dashboardBar {
    align-items: center;
    border-bottom: 1px solid hsl(0, 0%, 80%);
    display: flex;
    height: calc(2 * var(--vs));
    justify-content: space-between;
    padding: 0 var(--hs);
}

.consoleHeader_title {
    align-items: center;
    border-bottom: 1px solid hsl(0, 0%, 80%);
    display: flex;
    font-weight: 600;
    height: calc(2 * var(--vs));
    padding: 0 var(--hs);
}

.pageList_page {
    margin: calc(0.5 * var(--vs)) 0 0;
    border-radius: 1px;
    text-decoration: underline;
    display: block;
    width: fit-content;
}

.pageList_page-first {
    margin: var(--vs) 0 0;
}

.createPage_label {
    display: block;
    margin: calc(1 * var(--vs)) 0 0;
    width: fit-content;
}

.createPage_inputMessage {
    margin: calc(0.25 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.createPage_formMessage {
    margin: calc(1 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.createPage_input {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    margin: calc(0.25 * var(--vs)) 0 0;
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px);
}

.createPage_button {
    margin: calc(1 * var(--vs)) 0 0;
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.createPage_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.deletePage_label {
    display: block;
    margin: calc(1 * var(--vs)) 0 0;
    width: fit-content;
}

.deletePage_inputMessage {
    margin: calc(0.25 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.deletePage_formMessage {
    margin: calc(1 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.deletePage_input {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    margin: calc(0.25 * var(--vs)) 0 0;
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px);
}

.deletePage_button {
    margin: calc(1 * var(--vs)) 0 0;
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.deletePage_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.dialog {
    background: hsl(0, 0%, 100%);
    border-radius: calc(0.25 * var(--vs));
    left: 50%;
    max-width: calc(16 * var(--hs));
    padding: calc(1 * var(--vs)) var(--hs);
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 4 * var(--hs));
}

.dialog::backdrop {
    background: hsla(0, 0%, 0%, calc(pow(var(--gr), -1)));
    /* backdrop-filter: blur(2px); */
}

.dialog_action {
    display: flex;
    gap: calc(0.5 * var(--hs));
    justify-content: flex-end;
    margin: var(--vs) 0 0;
}

.dialog_image {
    display: block;
    margin: var(--vs) 0 0;
    max-height: calc(5 * var(--vs));
    max-width: calc(5 * var(--vs));
}

.editPage_button {
    margin: var(--vs) 0 0;
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.editPage_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.editPage_textareaMessage {
    margin: calc(0.25 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.editPage_formMessage {
    margin: var(--vs) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.editPage_textarea {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    display: block;
    height: calc(10 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
    resize: vertical;
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px);
}

.article-hidden {
    display: none;
}

.orderPage_textarea {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    display: block;
    height: calc(5 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
    resize: vertical;
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px);
    margin: calc(0.25 * var(--vs)) 0 0;
}

.orderPage_label {
    margin: var(--vs) 0 0;
    display: block;
    width: fit-content;
}

.orderPage_button {
    margin: var(--vs) 0 0;
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.orderPage_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.orderPage_formMessage {
    margin: var(--vs) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;
    
    @starting-style {
        opacity: 0;
    }
}

.header {
    align-items: center;
    border-bottom: 1px solid hsl(0, 0%, 80%);
    display: flex;
    height: var(--hh);
    justify-content: space-between;
    padding: 0 var(--hs);
}

.header_logo {
    display: block;
    pointer-events: none;
}

.header_logo-selbstheilraum {
    height: calc(pow(var(--gr), 1) * var(--vs));
    width: calc(pow(var(--gr), 1) * var(--vs));
}

.header_logoA-selbstheilraum {
    border-radius: 50%;
}

.header_navButton {
    border-radius: calc(0.25 * var(--vs));
    box-sizing: content-box;
    display: block;
    height: 16px;
    margin: 0 calc(-1 * 0.25 * var(--vs)) 0 0;
    padding: calc(0.25 * var(--vs));
    width: 20px;
}

.header_navButton:hover {
    cursor: pointer;
}

.header_navIcon {
    display: block;
    height: 16px;
    pointer-events: none;
    width: 20px;
}

.image_delete {
    margin: calc(0.5 * var(--vs)) 0 0;
}

.image_fileName {
    margin: calc(0.5 * var(--vs)) 0 0;
}

.image_form {
    margin: var(--vs) 0 0;
}

.image_image {
    margin: calc(2.5 * var(--vs)) 0 0;
}

.image_img {
    display: block;
    max-height: calc(5 * var(--vs));
    max-width: calc(5 * var(--vs));
}

.image_button {
    margin: var(--vs) 0 0;
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.image_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.image_input {
    width: 100%;
}

.image_input::file-selector-button {
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    height: calc(var(--vs) + 2 * 0.125 * var(--vs) + 2 * 1px);
    padding: 0 calc(0.5 * var(--hs));
}

.image_input::file-selector-button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.inputText {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    margin: calc(1.5 * var(--vs)) 0 0;
    padding: calc(0.25 * var(--vs)) calc(0.5 * var(--hs));
    resize: vertical;
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px -  2 * var(--hs));
}

.orderPage_textareaMessage {
    margin: calc(0.25 * var(--vs)) 0 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    white-space: pre-wrap;

    @starting-style {
        opacity: 0;
    }
}

.login_message {
    margin: calc(0.25 * var(--vs)) 0 0;
    white-space: pre-wrap;
}

.login_button {
    background: hsl(0, 0%, 95%);
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    margin: calc(1 * var(--vs)) 0 0;
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
}

.login_button:hover {
    background: hsl(0, 0%, 90%);
    cursor: pointer;
}

.login_label {
    display: block;
    margin: calc(1 * var(--vs)) 0 0;
    width: fit-content;
}

.login_input {
    border: 1px solid var(--ibc);
    border-radius: calc(0.25 * var(--vs));
    margin: calc(0.25 * var(--vs)) 0 0;
    padding: calc(0.125 * var(--vs)) calc(0.5 * var(--hs));
    resize: vertical;
    width: calc(100% - 2 * 0.5 * var(--hs) - 2 * 1px);
}

.nav {
    background: hsl(0, 0%, 100%);
    display: none;
    position: absolute;
    top: calc(var(--hh) + 1px);
    width: 100%;
}

.nav-open {
    display: block;
}

.nav_a {
    border-radius: 1px;
    text-decoration: underline;
}

.nav_li {
    margin: calc(0.5 * var(--vs)) 0 0;
}

.nav_li-firstSecondary {
    margin: calc(2 * var(--vs)) 0 0;
}

.nav_ul {
    margin: 0 auto;
    max-width: var(--mw);
    padding: calc(2.5 * var(--vs)) var(--hs) calc(8 * var(--vs));
}

.page_a {
    border-radius: 1px;
    text-decoration: underline;
    margin: calc(1 * var(--vs)) 0 0;
    display: block;
    width: fit-content;
}
