/* 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: #f5f1ed;
    --main-fg-color: #352c24;
    --main-highlight-color: #e4e4e4;
}

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Chivo+Mono:ital,wght@0,100..900;1,100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* 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. */

body {
    background-color: #beb5ad;
}

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

nav {
    background-color: var(--main-bg-color);
}

main {
    background-color: var(--main-bg-color);
    color: var(--main-fg-color);
}

nav,
main,
footer {
    border: 2px solid var(--main-fg-color);
}

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

footer {
    background-color: #352c24;
    color: white;
    font-family: 'inconsolata', 'courier';
    font-weight: bold;
}

a:link { color: #287880; }
a:visited { color: #6d33cd; }
a:link:active, :visited:active { color: #a5222e; }

header, h2, h1, h3, h4 {
    font-family: 'courier prime';
    letter-spacing: 2px;
    padding: 0px;
    margin: 0px 0px;
}

@font-face {
  font-family: "inconsolata";
  src: url("/blog/assets/fonts/Inconsolata-Regular.woff");
}

@font-face {
  font-family: "courier prime";
  src: url("/blog/assets/fonts/CourierPrime-Regular.ttf");
}

@font-face {
  font-family: "atkinson hyperlegible";
  src: url("/blog/assets/fonts/atkinson-hyperlegible-v12-latin-regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "atkinson hyperlegible";
  src: url("/blog/assets/fonts/atkinson-hyperlegible-v12-latin-700.ttf");
  font-weight: 700;
}

@font-face {
  font-family: "atkinson hyperlegible";
  src: url("/blog/assets/fonts/atkinson-hyperlegible-v12-latin-700italic.ttf");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "atkinson hyperlegible";
  src: url("/blog/assets/fonts/atkinson-hyperlegible-v12-latin-italic.ttf");
  font-weight: 400;
  font-style: italic;
}

main p, ul, ol {
    font-family: 'atkinson hyperlegible', 'tahoma';
    text-indent: 4px;
}

nav {
    font-weight: bold;
    letter-spacing: 2px;
    font-variant: small-caps;
    font-family: 'ubuntu', 'trebuchet ms';
}
