:root {
    --bg-color: #FFF9F0;
    --text-color: #3a3a3a;
    --link-color: #3a3a3a;
    --link-hover-color: #5a6d8a;
    --border-color: #4e4e4e;
    --blockquote-border-color: #7c8495;
    --date-color: #6a6a6a;
    --link-underline-color: #c5c1c8;
    --selection: #e5e5e5;
    --content-width: 45em; 
    --color-1: #e6194b; 
    --color-2: #3cb44b;
    --color-3: #ffe119;
    --color-4: #4363d8;
    --color-5: #f58231;
    --color-6: #911eb4;
} 

h1 {
    font-size: 24px;
    font-weight: bold;
}

.post-title span {
    white-space: pre
}
h2 {
    font-size: 20px;
    font-weight: bold;
}

h3 {
    font-size: 18px;
    font-weight: bold;
}

h4 {
    font-size: 16px;
    font-weight: bold;
}

h5 {
    font-size: 15px;
    font-weight: bold;
}

h6 {
    font-size: 14px;
    font-weight: bold;
}



/* @media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #2E1A47;
        --text-color: #c5c1c8;
        --link-color: #c5c1c8;
        --link-hover-color: #a3b5d2;
        --border-color: #b1b1b1;
        --blockquote-border-color: #838b9c;
        --date-color: #959595;
        --link-underline-color: #3a3a3a;
        --selection: #1a1a1a;
        --color-1: #ff5370;
        --color-2: #c3e88d;
        --color-3: #ffcb6b;
        --color-4: #82aaff;
        --color-5: #f78c6c;
        --color-6: #c792ea;

    }
} */




.ascii-background {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    /* pointer-events: none; */
    /* z-index: -100; */
}


.ascii-char {
    opacity: 0.8;
    animation: fadeIn 1s ease forwards;
    font-size: 20px;
    font-family: "apple color emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;
    /* z-index: -90; */
    cursor: not-allowed;
    transition: color 0.2s, transform 0.2s, text-shadow 0.2s, opacity 2s ease;
}



.color-1 {
    color: var(--color-1);
}

.color-2 {
    color: var(--color-2);
}

.color-3 {
    color: var(--color-3);
}

.color-4 {
    color: var(--color-4);
}

.color-5 {
    color: var(--color-5);
}

.color-6 {
    color: var(--color-6);
}

body {
    font-family: GeistMono-Regular, Consolas, monaco, monospace;
    line-height: 20px;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
}

#content {
    width: 80ch;
}

a {
    background-color: rgba(168, 168, 168, 0.2);
    color: black;
}

a:hover {
    background-color: #5cff3b;
}

.site-header {
    display: flex;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.site-title a {
    font-size: 1.25em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1em;
} 

.flex-container { 
    display: flex;
    flex-direction: column;
}


.post-list,
.list-of-posts {
    display: flex;
    flex-direction: column
}


.flex-container {
    position: relative;
    border: 2px solid black;

    /* border line */
    margin: 20px;
    padding: 20px;
}

.card-header,
.post-title {
    position: absolute;
    top: -1ch;
    /* adjust to overlap the border */
    left: 50%;
    transform: translateX(-50%);
    background-color: #f4f4f4;
    /* background to "cut" the  border line */
    padding: 0 10px;
    /* space around text */
    font-size: 14px;
    /* adjust size */
}

.card-body {
    padding: 10px;
    margin: 10px;
}

body {
    font-family: monospace;
    background-color: #f4f4f4;
}

ol {
    list-style-type: none;  
    margin: 0;  
    padding: 0;
    position: relative;
} 


ol li:last-child ol::before {
    content: "";
}

.ongoing-posts,
.regular-posts {
    position: relative;
    border: 2px solid black;
    /* border line */
    margin: 15px;

}




.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.post-item,
.post-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ongoing-posts,
.regular-posts {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.divider {
    background: linear-gradient(to right, transparent, #ccc, transparent);
    height: 14px;
    margin-top: 20px;
}

.message {
    background-color: rgb(224, 224, 224);
    box-shadow: inset 2px 0 0 0 black, inset -2px 0 0 0 black, inset 0 -2px 0 0 black;

    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
}

.post-date,
.post-status {
    color: var(--date-color);
}

blockquote {
    border-left: 2px solid var(--blockquote-border-color);
    padding-left: 1em;
    margin-block-end: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    #content {
        width: 90%;
        min-width: unset;
        margin: 1em;
    }

    .site-header,
    .post-list {
        padding: 16px;
    }
}

.blur-hover {
    transition: filter 1s ease;
}

.blur-hover:hover {
    filter: blur(3px);
}

.ascii-diagram-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.ascii-diagram {
    font-family: monospace;
    white-space: pre;
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
}

::selection {
    background: var(--selection);
}

/* .blur-load {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s ease, filter 0.7s ease;

}

.blur-load.loaded {
    opacity: 1;
    filter: blur(0);
} */


/*
*/

/* .list-of-posts {
    backdrop-filter: blur(15px) brightness(1.2);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

/*
*/