:root {
    /** Matching Gradient https://mycolor.space/?hex=%23FFFBFE&sub=1 **/
    --snow: #fffbfeff;
    --light-gray: #dcd9e3;
    --gray: #dcd9e3;
    /*--background: #565254ff;*/
    --white: #ffffffff;
    --page-background: #fffbfeff;
    --container-background: #fffbfeff;
    --navbar-title: #5b8285;
    --navbar-links: #3f665a;
    --navbar-links-hover-background: #dff0ff;
    --navbar-background: #fffbfeff;
    --post-title: #000;
    --post-meta: #5b8285;
    --headings-underline: #5b8285;
}

html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 1px;
    background-color: var(--page-background);
}

body {
    text-rendering: optimizeLegibility;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

body {
    line-height: 1.5;
}

.navbar {
    position: fixed;
    top: 0;
    background-color: var(--navbar-background);
    color: var(--white);
    padding: 20px;
    height: 80px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid black;
    opacity: 95%;
}

/* for internal links: */
article > h2, h3 {
    scroll-margin-top: 80px; /* should be height of the header */
}

.navbar-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--navbar-title);
    margin-right: 20px; /* Add margin-right to create spacing */
}

.navbar-links {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Add margin-left to create spacing */
}

.navbar-links a {
    margin-left: 10px;
    text-decoration: none;
    color: var(--navbar-links);
    font-size: 16px;
    font-weight: 400;
}

.navbar-links a:hover {
    background-color: var(--navbar-links-hover-background);
}

.container {
    max-width: 900px;
    padding: 20px;
    /* Adjust the margin-top value to account for navbar height */
    margin: 60px auto 0;
    background-color: var(--container-background);
}


.container img {
    max-width: 100%; /* The image will never exceed the container's width */
    height: auto; /* Maintain the aspect ratio of the image */
    display: block; /* Remove any extra space below the image */
}

.footer {
    margin-top: 100px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 0.6em;
}

.profile {
    float: left;
    width: 20%;
    padding: 5px 20px 20px;
}

article {
    padding: 30px 50px;
    width: auto;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
}

article > * {
    margin-bottom: 20px !important;
}

article p {
    white-space: pre-line;
}

article > p > code {
    line-break: anywhere;
}

article p code {
    background-color: #f8fff0d1;
}

article blockquote p a {
    line-break: anywhere;
}

article a {
    word-wrap: break-word;
}

.index-list li {
    margin-bottom: 20px;
}

details.toc-container {
    background-color: beige;
    padding-left: 5px;
    border: 1px solid black;
    box-shadow: 6px 6px rgba(0, 0, 0, .15);
    padding-bottom: 15px;
    padding-top: 5px;
}

.table_of_contents li {
    list-style: none;
}

.table_of_contents-indent-2 {
    padding-left: 10px;
}

.table_of_contents-indent-3 {
    padding-left: 15px;
}

.table_of_contents ul {
    margin-top: 5px;
}

.post-title {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--post-title)
}

.post-meta {
    font-size: 14px;
    color: var(--post-meta);
    margin-bottom: 20px;
}

article h1 {
    font-size: 2em;
    padding-bottom: 5px;
}

article h2 {
    font-size: 1.6em;
    padding-bottom: 5px;
    border-bottom: 3px var(--headings-underline) solid;
    padding-top: 20px;
    margin-bottom: 10px;
}

h3, h4 {
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 1px var(--headings-underline) solid;
}

ul {
    padding-left: 25px;
}

ol {
    padding-left: 30px; /* Adjust the padding as desired */
    list-style-type: decimal; /* Change the list style type */
    padding-top: 5px;
    padding-bottom: 10px;
}

li {
    margin-bottom: 5px; /* Adjust the margin between list items */
}

blockquote {
    quotes: "\201C" "\201D" "\2018" "\2019";
    font-style: italic;
    border-left: 1px solid black;
    padding-left: 20px;
}

blockquote p {
    white-space: pre-wrap;

}


@media only screen and (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .navbar-title {
        font-size: 20px;
    }

    article {
        padding: 20px 10px;
    }

    .profile {
        float: left;
        width: 40%;
        padding: 5px 0 0;
        margin-right: 5px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: var(--container-background);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: var(--navbar-background); /* Header background color */
    color: var(--navbar-title); /* Header text color */
}

thead th {
    padding: 12px; /* Extra padding for header cells */
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid var(--light-gray); /* Distinct bottom border for headers */
}

tbody tr:nth-child(even) {
    background-color: var(--light-gray); /* Alternating row background color */
}

tbody td {
    padding: 10px;
    border: 1px solid var(--light-gray); /* Border for table cells */
    text-align: left;
}

tbody tr:hover {
    background-color: var(--navbar-links-hover-background); /* Hover effect on table rows */
}