/* 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: rgb(238, 238, 238);
    --main-fg-color: rgb(15, 15, 15);
    --main-highlight-color: #efff08;
}

/* A brief explanation of the template's 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. */

html {
    scrollbar-color: var(--main-fg-color) #00000000;
}

body {
    background-color: var(--main-bg-color);
    padding: 2rem;
    font-family: 'Chivo', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
}

nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--main-fg-color);
}

nav a, nav a.visited {
    text-decoration: none;
    color: var(--main-fg-color);
}

.ibm-plex-mono-bold {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: normal;
}


main {
    color: var(--main-fg-color);
    font-weight: 200;
    font-size: 1rem;
    line-height: 1.2rem;
    max-width: 44rem;
}

main a, main a.visited {
    text-decoration: underline;
    color: var var(--main-fg-color);
}

nav,
main,
footer {
}


nav, main {
    /* border-bottom: none; */
}

footer {
    font-size: .75rem; 
    margin-top: 4rem;
    color: var(--main-fg-color);
}

footer a, footer a.visited {
    color: var(--main-fg-color);
}

#latest_posts {
    list-style-type: none;
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 0;
}

#latest_posts a, #latest_posts a.visited {
    text-decoration: none;
}

#latest_posts a:hover, #latest_posts a:active {
    text-decoration: underline;
}

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);
}

@media (max-width: 440px) {
  body {
    padding: 1rem;
  }

}