.note-editor-container {
    position: fixed;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: calc(100dvw - 220px - 2px);
    border: none;
    font-family: var(--sans-serif);
}

/* Remove intermittent focus outlines when programmatically focusing editor */
.note-editor-container:focus,
.note-editor:focus,
.note-md-render:focus,
.note-editor .cm-editor:focus,
.note-editor .cm-scroller:focus {
    outline: none !important;
    box-shadow: none !important;
}

.note-editor,
.note-md-render {
    resize: none;
    border: none;
    font-size: 14px;
    font-family: var(--serif);
    font-weight: 400;
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
    visibility: visible;
    height: calc(100dvh - 25px);
    width: calc(100dvw - 220px - 20px - 20px - 2px);
    right: 0;
    bottom: 0;
    position: fixed;
    overflow-y: scroll;
}

.note-editor {
    line-height: 26px;
    /* Let the scrollable area extend to the top; content padding handled in .cm-content */
    padding-top: 0;
    height: 100%;
    background: var(--WHITE);
    /* Override shared sizing/padding so the editor reaches the right edge and uses inner padding */
    width: calc(100vw - 220px - 2px);
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    /* let CodeMirror manage scrolling */
}

.note-editor.hidden {
    visibility: hidden;
}

.note-editor::-webkit-scrollbar,
.note-md-render::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    transition: all 0.5s;
    /* TODO: ^this transition doesn't actually seem to work */
}

.note-editor:hover::-webkit-scrollbar,
.note-md-render:hover::-webkit-scrollbar {
    width: 2.5px;
    height: 3px;
}

.note-editor::-webkit-scrollbar-thumb,
.note-md-render::-webkit-scrollbar-thumb {
    background: var(--GREEN);
}

.note-editor.unsaved::-webkit-scrollbar-thumb,
.note-md-render.unsaved::-webkit-scrollbar-thumb {
    background: var(--BLUE);
}

/*
 * BEGIN Mobile Styling 
 */
@media only screen and (max-width: 767px) {

    .note-editor-container {
        top: 110px;
        height: calc(100dvh - 110px);
        width: calc(100dvw);
    }

    .note-editor,
    .note-md-render {
        top: 110px;
        height: calc(100dvh - 110px - 25px);
        width: calc(100dvw - 20px - 20px);
    }
}

/*
 * END Mobile Styling
 */

/*
 * BEGIN Markdown rendering styling
 */

.note-md-render>div>* {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 19px;
}

/* Keep hover timestamps small even inside the render container */
.note-md-render .note-line-timestamp {
    font-size: 10px;
}

.note-md-render__content {
    position: relative;
    z-index: 1;
}

.note-line-timestamp-overlay {
    position: absolute;
    left: 0;
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.note-line-timestamp {
    color: var(--MED-GREEN);
    font-family: var(--serif);
    white-space: nowrap;
    line-height: 1.2;
    padding-left: 2px;
    padding-right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.note-line-timestamp__primary {
    font-weight: 600;
    display: inline-flex;
}

.note-line-timestamp__meta {
    font-size: 10px;
    color: var(--GREY);
    display: inline-flex;
}

.note-line-timestamp__summary {
    font-size: 10px;
    color: var(--GREY);
    display: inline-flex;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-md-header {
    text-align: left;
    font-size: 14px;
    font-family: var(--serif);
}

.note-md-h1 {
    font-weight: 600;
    text-decoration: underline;
}

.note-md-h2 {
    font-weight: 500;
    text-decoration: none;
}

.note-md-h3 {
    font-weight: 500;
    color: var(--DARK-GREY);
}

.note-md-a {
    color: var(--BLUE);
}

.note-md-p {
    white-space: pre-wrap;
    margin-bottom: 10px;
}

.note-md-ul {
    margin-left: 20px;
}

.note-md-li {
    margin-top: 5px;
}

ul>.note-md-li {
    list-style: none;
}

ul>.note-md-li:before {
    content: "→ ";
}

ul>.note-md-li>ul>li::before {
    content: "↳ ";
}

.note-md-ol {
    margin-left: 30px;
}

/*
 * `+` is adjacent sibiling selector:
 * e.g. ul+p -> first `p` after a `ul`
 * */
.note-md-ul+.note-md-p,
.note-md-ul+.note-md-h1,
.note-md-ul+hr,
.note-md-ol+.note-md-p,
.note-md-ol+.note-md-h1,
.note-md-ol+hr {
    margin-top: 20px;
}

blockquote {
    border-left: solid 2px var(--LIGHT-BLACK);
    padding-left: 10px;
}

/*
  * END Markdown rendering styling
  */

/*
 * BEGIN CodeMirror styling 
 */

/* CodeMirror host fits same box as textarea (desktop-only path) */

.note-editor .cm-editor {
    height: 100%;
    background: var(--WHITE);
    /* Ensure CodeMirror uses our selection color */
    --selection-bg: var(--MED-YELLOW);
}

.note-editor .cm-scroller {
    font-family: var(--serif);
}

.note-editor .cm-content {
    /* Offset text below the invisible grab bar while keeping scrollbox full height */
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

/* strip down CodeMirror panels */
.note-editor .cm-panel {
    background: transparent;
    padding: 4px 20px;
    border-top: var(--GREY) dashed 1px;
    color: var(--GREY);
}

.ͼ2 .cm-panels-bottom {
    border-top: none;
}

.ͼ2 .cm-panels {
    background-color: var(--WHITE);
}

/* Remove focus border/outline when entering editor mode (CodeMirror) */
.note-editor .cm-editor,
.note-editor .cm-editor.cm-focused {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.note-editor .cm-scroller {
    outline: none;
    border: none;
    box-shadow: none;
}

/* Remove focus border/outline when entering editor mode (CodeMirror) */
.note-editor .cm-editor,
.note-editor .cm-editor.cm-focused {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* caret/cursor coloring (including vim fat cursor and drop cursor) */
.note-editor .cm-content {
    caret-color: var(--MED-GREEN);
}

.note-editor .cm-cursor,
.note-editor .cm-dropCursor {
    border-left-color: var(--MED-GREEN) !important;
    background-color: transparent;
}

.note-editor .cm-fat-cursor .cm-cursor {
    border: none !important;
    opacity: 1;
}

.note-editor .cm-fat-cursor-mark {
    background: var(--MED-GREEN) !important;
}

/* Mode-specific caret colors: normal=MED-GREEN, insert=BLUE, visual=MED-YELLOW */
.note-editor .cm-editor.vim-mode-insert .cm-content {
    caret-color: var(--BLUE);
}

.note-editor .cm-editor.vim-mode-insert .cm-cursor,
.note-editor .cm-editor.vim-mode-insert .cm-dropCursor {
    border-left: none !important;
    background-color: var(--BLUE) !important;
    width: 1.5px !important;
    margin-left: 0 !important;
}

.note-editor .cm-editor.vim-mode-visual .cm-content {
    caret-color: var(--MED-YELLOW);
}

.note-editor .cm-editor.vim-mode-visual .cm-cursor,
.note-editor .cm-editor.vim-mode-visual .cm-dropCursor {
    border-left-color: var(--MED-YELLOW) !important;
}

/* Override Vim default red fat cursor with theme colors (also when unfocused) */
.note-editor .cm-fat-cursor {
    background: var(--MED-GREEN) !important;
}

.note-editor .cm-editor:not(.cm-focused) .cm-fat-cursor {
    background: none !important;
    outline: solid 1px var(--MED-GREEN) !important;
}

.note-editor .cm-editor.vim-mode-insert .cm-fat-cursor {
    background: var(--BLUE) !important;
}

.note-editor .cm-editor.vim-mode-insert:not(.cm-focused) .cm-fat-cursor {
    outline-color: var(--BLUE) !important;
}

.note-editor .cm-editor.vim-mode-insert .cm-fat-cursor-mark {
    background: var(--BLUE) !important;
}

.note-editor .cm-editor.vim-mode-visual .cm-fat-cursor {
    background: var(--MED-YELLOW) !important;
}

.note-editor .cm-editor.vim-mode-visual .cm-fat-cursor .cm-cursor {
    background: var(--MED-YELLOW) !important;
    border: none !important;
}

.note-editor .cm-editor.vim-mode-visual:not(.cm-focused) .cm-fat-cursor {
    outline-color: var(--MED-YELLOW) !important;
}

.note-editor .cm-editor.vim-mode-visual .cm-fat-cursor-mark {
    background: var(--MED-YELLOW) !important;
}

/* Ensure selection is clearly highlighted */
.note-editor .cm-selectionBackground,
.note-editor .cm-content ::selection,
.note-editor .cm-content ::-moz-selection {
    background: var(--MED-YELLOW);
}

.note-editor .cm-selectionBackground {
    background: var(--MED-YELLOW) !important;
    opacity: 1 !important;
}

.note-editor .cm-editor:not(.cm-focused) .cm-selectionBackground {
    background: var(--MED-YELLOW) !important;
    opacity: 1 !important;
}

/*
 * END CodeMirror styling
 */

.notes-tree-file {
    font-weight: 400;
    margin-left: 20px;
    color: var(--GREY);
    transition: all 0.5s, border-bottom 0.07s ease-in-out;
    cursor: pointer;
    width: max-content; /* size to content */
    display: block;
    white-space: nowrap; /* no wrapping */
    padding-right: 5px; /* +5px gutter */
    /* margin-top: 5px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500; */
}

.notes-tree-file.active {
    color: var(--BLACK);
}

.notes-tree-file:hover {
    color: var(--BLACK);
}

.notes-tree-container:focus-within .notes-tree-file.selected {
    color: var(--BLACK);
    border-bottom: solid 1px var(--BLACK);
    width: calc(100% - 20px); /* stretch to container minus left indent */
    box-sizing: border-box;
}

.notes-tree-dir-container {
    padding-top: 0px;
    padding-left: 20px;
}

.notes-tree-dir-label {
    font-weight: 500;
    color: var(--GREY);
    transition: all 0.5s, border-bottom 0.07s ease-in-out;
    cursor: pointer;
    width: max-content; /* size to content */
    display: block;
    white-space: nowrap; /* no wrapping */
    padding-right: 5px; /* +5px gutter */
}

.notes-tree-dir-label::before {
    content: '⌵';
    position: relative;
    top: -4px;
    right: 5px;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    /* color: var(--BLACK); */
    transition: transform 0.5s;
    /* -webkit-text-stroke-width: 1px;   */
}

.notes-tree-dir-label.collapsed::before {
    top: -2px;
    transform: rotate(-90deg);
}

.notes-tree-dir-label:hover {
    color: var(--BLACK);
}

.notes-tree-container:focus-within .notes-tree-dir-label.selected {
    color: var(--BLACK);
    border-bottom: solid 1px var(--BLACK);
    width: calc(100% - 20px); /* stretch to container minus left indent */
    box-sizing: border-box;
}

.notes-tree-dir {
    transition: all 0.25s;
    opacity: 1;
    margin-top: 0px;
    visibility: visible;
}

.notes-tree-dir.collapsed {
    opacity: 0;
    margin-top: -20px;
    visibility: hidden;
    height: 20px;
}

.notes-tree-container {
    font-family: var(--sans-serif);
    height: calc(100vh - 80px - 10px);
    width: calc(100% - 10px);
    position: relative;
    left: 0;
    top: 0;
    padding-left: 10px;
    padding-top: 10px;
    overflow-y: scroll;
    overflow-x: auto; /* allow horizontal scroll within container; prevent bleed into editor */
    z-index: 1;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
}

.notes-tree-container:focus {
    outline: none;
}

.notes-tree-container.no-tag-panel {
    height: calc(100vh - 80px - 10px);
}

.notes-tree-loose-file-spacer {
    height: 10px;
}

.note-tree {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/*
 * BEGIN Mobile Styling 
 */
@media only screen and (max-width: 767px) {
    .notes-tree-container {
        height: 100%;
        width: 100dvw;
        padding-left: 0;
        padding-top: 0;
    }

    .note-tree {
        padding-bottom: 10px; /* Make space for drag handle */
    }
}

/*
 * END Mobile Styling
 */

.view-selector {
    position: absolute;
    top: 34px;
    font-size: 14px;
    font-weight: 400;
    color: var(--BLACK);
    margin: 0;
    cursor: pointer;
    z-index: 7;
}

.view-selector-label {
    width: 40px;
    display: inline-flex;
}

.view-selector-cur-mode,
.view-selector-dropdown {
    height: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--BLACK);
    text-transform: uppercase;
    transition: all 0.25s;
    font-family: var(--serif);
}

.view-selector-cur-mode {
    display: inline-flex;
    width: 80px;
    margin-left: 10px;
    /* border-bottom: solid 1px var(--LIGHT-BLACK); */
}

.view-selector-cur-mode:hover {
    border-bottom: solid 1px var(--BLACK);
}

.view-selector-cur-mode::after {
    content: '⌵';
    position: relative;
    top: -2px;
    left: 5px;
    display: inline-block;
    font-weight: 500;
    font-size: 12px;
    color: var(--BLACK);
    transition: transform 0.5s;
    -webkit-text-stroke-width: 1px;
}

.view-selector-dropdown {
    background: var(--FROSTED-WHITE);
    backdrop-filter: var(--BACKDROP-BLUR);
    width: 100px;
    margin-top: -2px;
    margin-left: 50px;
    border: solid 1px var(--BLACK);
    border-top: dashed 1px var(--BLACK);
    border-radius: 0 0 3px 3px;
    opacity: 1;
    transition: all 0.25s;
}

.view-selector-dropdown-option {
    color: var(--BLACK);
    padding-left: 10px;
    transition: all 0.25s;
}

.view-selector-dropdown-option:hover {
    background: var(--FROSTED-MED-GREY);
}

.view-selector-dropdown-option:active {
    color: var(--FROSTED-GREY);
}

.view-selector-dropdown.hidden {
    margin-top: -10px;
    opacity: 0;
    visibility: hidden;
}

.save-status-container {
    position: absolute;
    top: 18px;
    font-size: 14px;
    font-weight: 400;
    color: var(--BLACK);
    margin: 0;
}

.save-status-label {
    width: 40px;
    display: inline-flex;
}

.save-status {
    display: inline-flex;
    height: auto;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    text-transform: uppercase;
    font-family: var(--serif);
}

.save-status.saving {
    color: var(--BLUE);
    animation: pulse_opacity 0.5s ease-in-out infinite alternate;
}

.save-status.saved {
    color: var(--GREEN);
}

.connection-status-container {
    position: absolute;
    top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--BLACK);
    width: 124px;
    line-height: 18px;
    margin: 0;
}

.connection-status-label {
    width: 40px;
    display: inline-flex;
}

.connection-status {
    display: inline-flex;
    height: auto;
    font-size: 10px;
    font-weight: 500;
    line-height: 10px;
    margin-left: 10px;
    text-transform: uppercase;
    font-family: var(--serif);
    border: solid 1px var(--GREY);
    border-radius: 3px;
    padding: 1px 4px;
}

.connection-status.offline {
    color: var(--GREY);
}

.connection-status.online {
    color: var(--BLUE);
}

.conn-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-path {
    position: relative;
    display: inline-block;
}

.svg-animated-path {
    display: block;
}

.view-selector-panel {
    height: calc(80px);
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    border-bottom: solid 1px var(--GREY);
    z-index: 3;
}

.view-selector-container {
    opacity: 1;
    transition: all 0.25s;
    height: 48px;
    width: 150px;
    position: absolute;
    top: 20px;
    left: 14px;
    user-select: none;
}

.view-selector-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.view-selector-container>div {
    position: absolute;
    left: 8px;
}

.corner-monogram {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 86px;
    cursor: pointer;
    transition: all .25s;
}

.corner-monogram.centered {
    width: 110px;
    right: 50px;
}

.corner-monogram>div {
    position: absolute;
    top: 14px;
    width: 56px;
    height: 56px;
    opacity: 1;
    transition: all .25s;
    background-size: cover !important;
    z-index: -5;
    left: 18px;
}

.corner-monogram.centered>div {
    position: absolute;
    top: 4px;
    width: 72px;
    height: 72px;
}

.logo-charge {
    background: url(img/bois-green-transparent__n7PFI.gif);
}

.logo-charge.saving {
    background: url(img/bois-blue-transparent__Fgfrj.gif);
}

div.logo-monogram {
    background: none;
    opacity: 0;
}

.logo-monogram.saving {
    background: none;
}

div.logo-monogram:hover {
    opacity: 1;
}

div.logo-monogram:active {
    opacity: 0.5;
}

/*
 * BEGIN Mobile Styling
 */
@media only screen and (max-width: 767px) {
    .view-selector-panel {
        position: absolute;
        top: 5px;
        left: auto;
        right: 5px;
        width: 220px;
        height: 86px;
        border-bottom: none;
        border: solid 1px var(--GREY);
        border-radius: 5px;
        background: var(--FROSTED-WHITE);
        backdrop-filter: blur(1px);
    }

    .corner-monogram.centered>div {
        left: calc(100dvw - 130px);
        width: 150px;
        height: 150px;
    }
}
/*
 * END Mobile Styling
 */

.main-side-panel-container {
    height: 100%;
    width: 220px;
    position: fixed;
    left: 0;
    bottom: 0;
    border-right: solid 1px var(--GREY);
    background: var(--WHITE);
}

/*
 * BEGIN Mobile Styling 
 */
@media only screen and (max-width: 767px) {
    .main-side-panel-container {
        width: 100dvw;
        min-height: 110px;
        max-height: 80vh;
        top: 0;
        bottom: auto;
    }

    .mobile-drag-handle {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 10px;
        border-bottom: solid 2px var(--GREY);
        cursor: ns-resize;
        z-index: 2;
        transition: border-bottom 0.1s ease;
    }

    .mobile-drag-handle:hover,
    .mobile-drag-handle:active{
        border-bottom: solid 2px var(--BLACK);
    } 

    .mobile-drag-handle:after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 2px;
        border-radius: 2px;
        background: var(--GREY);
    }
}

/*
 * END Mobile Styling
 */

.main-view-container {
  width: 100%;
  height: 100%;
}

.invisible-window-grab-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100vw - 70px - 2px);
  height: 18px;
  z-index: 5;
  cursor: grab;
  
  -webkit-app-region: drag;
  -webkit-user-select: none;
}

.auth-container {
    height: 100vh;
    width: 100vw;

    -webkit-app-region: drag;
}

.auth-form-cover {
    z-index: 1;
    background-color: var(--WHITE)fff;
    height: 100%;
    left: 0;
    top: 0;
    transition: all .37s;
    -webkit-transition: all .37s;
    -moz-transition: all .37s;
    -o-transition: all .37s
}

.auth-form-container {
    width: 210px;
    height: 78px;
    margin: auto;
    border: 1px solid var(--BLACK);
    border-radius: 3px;
    filter: drop-shadow(var(--BLACK) 5px 5px 0);
    z-index: 5;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    position: fixed;
    background: var(--WHITE);

    -webkit-app-region: no-drag;
}

.auth-form-container>h2 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--BLACK);
}

.auth-key {
    font-family: var(--serif);
    color: var(--BLACK);
    border: 1px solid var(--BLACK);
    border-radius: 3px;
    width: 180px;
    padding: 3px 3px 3px 4px;
    text-align: center;
    margin-top: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    transition: border 0.1s;
}

.auth-key.failed {
    border: 1px solid var(--RED);
}


.auth-submit {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 10px;
    cursor: pointer;
    border: 1px solid var(--BLACK);
    border-radius: 3px;
    color: var(--BLACK);
    background-color: var(--WHITE);
    width: 70px;
    margin-top: 7px;
    font-size: 11px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    filter: drop-shadow(var(--BLACK) 1px 1px 0);
    transition: all .37s;
}

.auth-submit:hover {
    color: var(--WHITE);
    background-color: var(--MED-BLACK);
}

.auth-submit:active {
    color: var(--WHITE);
    background-color: var(--BLACK);
    transform: translate(calc(-50% + 1px), 1px);
}

.auth-logo {
    position: fixed;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    opacity: 1;
    background-size: cover !important;
    left: calc(50% - 2px);
    top: calc(40% - 294px);
    background: url(img/flowers__AiflR.svg);
    width: 384px;
    height: 384px;
    z-index: 3;
}

#root {
  width: 100%;
  height: 100%;
}

/*
 * FONTS
 */
@font-face {
    font-family: "Avenir Next";
    src: url(font/AvenirNext-Regular__xAKCo.ttf);
    font-weight: 300
}

@font-face {
    font-family: "Avenir Next";
    src: url(font/AvenirNext-Medium__5ytlJ.ttf);
    font-weight: 400
}

@font-face {
    font-family: "Avenir Next";
    src: url(font/AvenirNext-DemiBold__ETE3d.ttf);
    font-weight: 500
}

@font-face {
    font-family: "Roboto Mono";
    src: url(font/RobotoMono-Light__faR+3.ttf);
    font-weight: 300
}

@font-face {
    font-family: "Roboto Mono";
    src: url(font/RobotoMono-Regular__RzE3I.ttf);
    font-weight: 400
}

@font-face {
    font-family: "Roboto Mono";
    src: url(font/RobotoMono-Medium__5yJSa.ttf);
    font-weight: 500
}

@font-face {
    font-family: "Roboto Mono";
    src: url(font/RobotoMono-Bold__NYT1B.ttf);
    font-weight: 600
}

/*
 * GLOBALS
 */
:root {
    --WHITE: #ffffff;
    --GREY: #c3c6d0;
    --BLACK: #000;
    --BLUE: #006eff;
    --GREEN: #00aa4d;
    --RED: #dc0000;
    --YELLOW: #ffec00;
    --PINK: #df96ed;
    --PAPER: #e5d9bf;

    --LIGHT-GREY: #f6f7f9;
    --LIGHT-BLACK: rgba(0, 0, 0, 0.10);
    --LIGHT-BLUE: rgba(0, 110, 255, 0.10);
    --LIGHT-GREEN: rgba(0, 170, 77, 0.10);
    --LIGHT-RED: rgba(221, 0, 0, 0.10);
    --LIGHT-YELLOW: rgba(255, 236, 0, 0.10);
    --LIGHT-PINK: rgba(194, 139, 200, 0.08);
    --LIGHT-PAPER: #fdfaf1;

    --MED-GREY: #e7e9ef;
    --MED-BLACK: rgba(0, 0, 0, 0.50);
    --MED-BLUE: rgba(0, 110, 255, 0.50);
    --MED-GREEN: rgba(0, 170, 77, 0.50);
    --MED-RED: rgba(221, 0, 0, 0.50);
    --MED-YELLOW: rgba(255, 236, 0, 0.30);
    --MED-PINK: rgba(223, 150, 237, 0.4);
    --MED-PAPER: #f8f2e6;

    --DARK-GREY: #5d5d64;

    --FROSTED-WHITE: rgba(255, 255, 255, 0.8);

    --SHADOW-1: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);


    --serif: "Roboto Mono", monospace;
    --sans-serif: "Avenir Next", Avenir, sans-serif;
}

/*
 * GLOBAL STYLES
 */

html, 
body {
    overscroll-behavior: none;
}  

body,
h1,
h2,
h3 {
    color: var(--BLACK);
}

h1,
h2,
h3 {
    text-align: center
}

a {
    color: var(--BLUE);
}

small {
    color: var(--BLACK);
}

a:hover {
    text-decoration: underline
}

* {
    margin: 0;
    padding: 0;
    letter-spacing: normal;
    /* letter-spacing: 1px; */
    text-rendering: optimizeLegibility;
    /* -webkit-font-smoothing: antialiased; */
    /* -moz-osx-font-smoothing: grayscale; */
}

pre {
    letter-spacing: normal;
}

body {
    height: 100%;
    width: 100%
}

body,
h2 {
    font-family: var(--sans-serif);
    /* font-family: var(--serif); */
    line-height: 1.6;
    /* font-weight: 400; */
    font-weight: 300;
}

h1,
h1 strong,
h2,
h3 {}

h1 {}

h2 {}

h3 {}

small {
    font-size: 14px;
    display: block;
    margin-left: 2%;
    margin-right: 2%;
}

a {
    -moz-transition: color .15s ease-in-out, opacity .15s ease-in-out;
    -o-transition: color .15s ease-in-out, opacity .15s ease-in-out;
    -webkit-transition: color .15s ease-in-out, opacity .15s ease-in-out;
    transition: color .15s ease-in-out, opacity .15s ease-in-out
}

input {
    /* font-family: var(--sans-serif); */
    font-family: var(--serif);
    border-radius: 0
}

a:focus,
input:focus,
input[type=image],
textarea:focus {
    outline: 0
}

::placeholder {
    opacity: .5
}

hr {
    border: none;
    border-top: 2px solid var(--LIGHT-BLACK);
    padding-bottom: 15px;
}


/*
 * GLOBAL ANIMATIONS
 */

@-webkit-keyframes pulse_opacity {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.5;
    }
}

