
body {
    --width: 50rem; 
	--font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-secondary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-scale: 1.2em;
	--background-color: #2c2d32;
	--heading-color: #e3e9f0;
	--text-color: white;
	--link-color: white;
	--visited-color: #dfcc9e;
	--code-background-color: #000;
	--code-color: #c9d1d9;
	--blockquote-color: #c9d1d9;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: 50px auto;
    max-width: var(--width); 
    padding: 20px;
    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: var(--heading-color);
}

h1 {
    text-align: center;
}
    

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

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

a:hover {
     text-decoration: underline; 
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	display: flex;
	align-items: center;
	width: 100%;
	height: 80px;
	z-index: 999;
	backdrop-filter: blur(5px);
  	-webkit-backdrop-filter: blur(5px);
	background-image: url(images/4e154b5e2ea57f31.png);
	background-size: contain;
}

nav p {
	width: fit-content;
	padding: 0 20px;
	margin: 0 auto;
	text-align: center;
	background-color: rgba(0, 0, 0, .9)
}

nav a {
    margin-right: 15px;
  	font-size: 0.9em;
  	color: white;
}

button {
    margin: 0;
}

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

button {
	border: 0;
  	background-color: inherit;
  	text-decoration: underline;
  	color: var(--heading-color);
}

.title {
    text-decoration: none;
}

.title h1 {
    color: var(--link-color);
}

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

#blogchoser {
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 2%;
}

#blogchoser > div {
    border: gray 5px ridge;
}

.blog-preview {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.blog-preview > a {
    font-size: 1em;
    text-wrap: wrap;
    text-wrap-style: balance;
    margin: 0.2em;
}

.blog-preview > date {
    width: 100%;
    font-size: 0.9em;
    background-color: rgba(0,0,0,.2);
    height: fit-content;
}
