@import url('https://fonts.cdnfonts.com/css/jetbrains-mono-2');

/* COLORS
You can edit these and use them! Use css color names (e.g. "red", "purple") or hex codes (e.g. #00ff00). */
:root {
    --main-bg-color: #07080c;
    --main-fg-color: azure;
    --main-highlight-color: #7cbdf179;
    --font-family: "JetBrains Mono", monospace;

    --line-height: 1.20rem;
    --border-thickness: 2px;

    --font-weight-normal: 500;
    --font-weight-medium: 600;
    --font-weight-bold: 800;

    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-variant-numeric: tabular-nums lining-nums;
    font-size: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #fff;
    --text-color-alt: #aaa;
    --background-color: #000;
    --background-color-alt: #111;
  }
}

/* A brief explanation of the layout:
HTML - Properties here affect the entire layout.
    BODY
    NAV - The bar containing links to the homepage, all posts, about, etc...
        OL - Container for an ordered list of the links.
            LI - Container for each individual link.
                A - A link to another page.
    MAIN - The main view, where each post appears.
        HEADER - Container for the title and date of each post.
    NAV #pagination - (Only on blog posts) Container for links to the next and previous post.
        SECTION .pageprev - A container for the previous post link.
        SECTION .pagenext - A container for the next post link.
    FOOTER - A container for various details.
        P - Contains site & author details.
        ADDRESS - Contains email details (if specified).
        ASIDE - Contains last updated & RSS link. */

/* CRT FILTER */
html::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0.1) 20%, rgba(0, 0, 0, 0.25) 30%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

#banner {
    background-color: #fff;
    color: black;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

html {
    scrollbar-color: var(--main-fg-color) #00000000;
    /* font-family: "MS Gothic", monospace; */
    
}

#nav_buttons {
    text-align: center; 
    /* align-items: center;  */
    margin: 1.5em 0px;
    
}

#nav_buttons ol, #nav_buttons li {
    padding: 0.5em 1em 0.5em;
    display: inline;
    border: #7cbdf179;
    border-style:solid;
    text-decoration: underline;
    
}

body {
    background-color: var(--main-bg-color);
    color: var(--main-fg-color);
    
    /* background: linear-gradient(rgba(18, 16, 16, 0.1) 20%, rgba(0, 0, 0, 0.25) 30%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); */
    /* font-family: 'Roboto', 'sans-serif'; */
    
}

nav {
    background-color: var(--main-bg-color);
    align-items: center;
    /* border-top-left-radius: 1rem;
    border-top-right-radius: 1rem; */
}

details {
    /* border: 2px solid var(--text-color); */
    border-style: solid;
    border-width: 1px; 
    padding: calc(var(--line-height) - var(--border-thickness)) 1ch;
    /* --border-thickness: 1px; */
    /* margin-top: var(--line-height); */
    margin-bottom: var(--line-height);
}

#pagination {
    display: flex;
    flex-direction: row;
}

main {
    background-color: var(--main-bg-color);
    color: var(--main-fg-color);
    margin: 0.6em 0px;
}

nav,
main,
footer {
    border: 1px solid var(--main-fg-color);
}

a {
  color: var(--main-fg-color);
}

/* mouse over link */
a:hover {
  color: rgb(150, 208, 255);
}
/*
nav, main {
    border-bottom: none;
}
*/
blockquote {
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--main-highlight-color);
}

code {
    background-color: var(--main-highlight-color);
    padding: 0.1rem;
}

pre:has(code) {
    background-color: var(--main-highlight-color);
}