:root {
   --width: 691px;
   --font-main: "Menlo", monospace;
   --font-secondary: "Menlo", monospace;
   --font-scale: 1em;
   --background-color: #1e1e2e;
   --heading-color: #cdd6f4;
   --text-color: #cdd6f4;
   --link-color: #89b4fa;
   --visited-color: #89b4fa;
   --code-background-color: #313244;
   --code-color: #cdd6f4;
   --blockquote-color: #cdd6f4;
   --shade-color: #02333f;
}

body {
   font-family: var(--font-secondary);
   font-size: var(--font-scale);
   margin: auto;
   padding: 20px;
   max-width: var(--width);
   text-align: left;
   background-color: var(--background-color);
   word-wrap: break-word;
   overflow-wrap: break-word;
   line-height: 1.5;
   color: var(--text-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-main);
   color: #bd93f9; /* old = var(--heading-color);  */
}

a {
   color: var(--link-color);
   cursor: pointer;
   text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

nav a {
   margin-right: 8px;
}

strong,
b {
   color: var(--heading-color);
}

button {
   margin: 0;
   cursor: pointer;
}

time {
   font-family: monospace;
   font-style: normal;
   font-size: 15px;
}

main {
   line-height: 1.6;
}

table {
   width: 100%;
}

hr {
   border: 0;
   border-top: 1px dashed;
}

img {
   max-width: 100%;
}

code {
   font-family: monospace;
   padding: 2px;
   background-color: var(--code-background-color);
   color: var(--code-color);
   border-radius: 3px;
}

blockquote {
   border-left: 1px solid #999;
   color: var(--code-color);
   padding-left: 20px;
   font-style: italic;
}

footer {
   padding: 25px 0;
   text-align: center;
}

.title:hover {
   text-decoration: none;
}

.title h1 {
   font-size: 1.5em;
}

.inline {
   width: auto !important;
}

.highlight,
.code {
   padding: 1px 15px;
   background-color: var(--code-background-color);
   color: var(--code-color);
   border-radius: 3px;
   margin-block-start: 1em;
   margin-block-end: 1em;
   overflow-x: auto;
}

/* blog post list */
ul.blog-posts {
   list-style-type: none;
   padding: unset;
}

ul.blog-posts li {
   display: flex;
}

ul.blog-posts li span {
   flex: 0 0 130px;
}

ul.blog-posts li a:visited {
   color: var(--visited-color);
}

/* Navigation */
nav {
   margin-bottom: 40px;
   line-height: 3;
   font-family: var(--font-secondary);
}

nav a {
   margin-right: 7px;
   padding: 12px 10px;
   font-size: 0.9em;
   color: var(--link-color);
   border: 2px solid;
   border-color: var(--link-color);
   border-radius: 15px;
   text-decoration: none;
}

nav a:hover {
   background: var(--code-background-color);
}

/* blog.html styling */
.blog-page ul {
   list-style-type: none;
   padding: 0;
   max-width: var(--width);
}

.blog-page li {
   display: flex;
   gap: 10px;
   align-items: flex-start;
   font-family: var(--font-main);
   color: var(--text-color);
}

.blog-page span {
   min-width: 100px;
   font-weight: normal;
   color: var(--text-color);
}

.blog-page a {
   flex: 1;
   text-decoration: none;
   color: var(--link-color);
   font-family: var(--font-main);
}

.blog-page a:visited {
   color: var(--visited-color);
}
.blog-page a:hover {
   text-decoration: underline;
}
/* notes.html styling */
.note {
   background-color: var(--code-background-color);
   border-left: 4px solid var(--link-color);
   padding: 15px;
   margin-bottom: 20px;
}

.note-date {
   color: var(--text-color);
   font-family: monospace;
   font-size: 1em;
   margin-bottom: 10px;
}

footer {
   font-size: 14px; /* Set to your desired size */
}

.footnotes {
   font-size: smaller; /* Relative to parent element */
}
h1 a {
   color: #ff79c6 !important;
}
hr {
   border: none;
   height: 2px;
   background-color: #ff79c6;
}
