@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-SemiBoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'titillium web';
    src: url('../font/TitilliumWeb-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

:root {
    --global-font-size: 14px;
    --global-font-color: #444;

    --mono-font-stack: titillium web, sans-serif;
    --font-stack: titillium web, sans-serif;
    --global-line-height: 1.5em;
    --page-width: 70em;
    --display-h1-decoration: 1;
    text-align: justify;
    text-justify: inter-word;
}

.label {
    font-family: var(--font-stack);
}

body {
    font-family: var(--font-stack);
    font-size: var(--global-font-size);
    background-color: var(--background-color);
    margin-bottom: 75px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-stack);
    clear: both;
}

h1 {
    margin-bottom: 150px;
}

.content-column-content p,
.content-column-content li {
    color: #666;
}

/* .btn-ghost {
    color: #666;
    background-color: transparent;
    border-color: #333;
    font-weight: 400;
    font-family: var(--font-stack);
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.55;
    border-radius: 0;
    margin-left: 0;
    margin-top: 5px;
} */

.content-column-content .command {
    color: #aaa;
}

p.social a {
    margin: 0 0 10px 0;
    color: #999999;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: none;
    line-height: 30px;
    font-size: 25px;
    text-align: center;
    vertical-align: bottom;
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.active a {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

.logo {
    font-weight: 600;
}

.terminal-menu li {
    margin-right: 30px;
}

.image-grid {
    display: grid;
    grid-template-rows: auto;
    display: grid;
    grid-gap: 1em;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit,
            minmax(calc(var(--page-width) / 4), 1fr));
}

.blog-list {
    position: relative;
    top: 0;
    text-align: justify;
    text-justify: inter-word;
}

.blog-view {
    margin-top: 56px;
}

.blog h1, .blog h2 {
    padding-top: 0;
    margin: 0;
    padding-bottom: 10px;
}

.blog-min h1, .blog-min h2 {
    padding: 0;
    margin: 0;
}

.blog-min p {
    padding: 0px;
    margin: 0px;
    margin-bottom: 10px;
}

.blog-view .header {
    font-size: 12px;
    padding: 10px 0px;
}

.blog-view .title {
    padding: 0px;
    font-weight: 400;
    font-size: 24px;
    color: var(--primary-color);
}

.blog-view h2 {
    font-size: 18px;
    padding: 0;
    margin: 15px 0px;
    font-weight: 600;
}

.blog-view h3 {
    font-size: var(--global-font-size);
    padding: 0;
    margin: 10px 0px;
    font-weight: 600;
}

.blog-list .date {
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 130px;
    z-index: 400;
    padding-top: 0px;
    margin-top: 0px;
}

strong {
    font-weight: 600; /* Adjust to your semi-bold font weight */
}

/* Monochrome override requested by user while preserving existing layout styles. */
:root {
    --light-background-color: #000;
    --dark-background-color: #000;
    --background-color: #000;
    --light-font-color: #fff;
    --dark-font-color: #fff;
    --font-color: #fff;
    --light-invert-font-color: #000;
    --dark-invert-font-color: #000;
    --invert-font-color: #000;
    --light-note-font-color: #fff;
    --dark-note-font-color: #fff;
    --note-font-color: #fff;
    --light-primary-color: #fff;
    --dark-primary-color: #fff;
    --primary-color: #fff;
    --secondary-color: #fff;
    --light-code-bg-color: #000;
    --dark-code-bg-color: #000;
    --code-bg-color: #000;
    --light-divider-color: #fff;
    --dark-divider-color: #fff;
    --divider-color: #fff;
    --error-color: #fff;
    --progress-bar-background: #000;
    --progress-bar-fill: #fff;
    --block-background-color: #000;
}

body,
.terminal,
.container {
    background-color: #000 !important;
    color: #fff !important;
}

p,
li,
.content-column-content p,
.content-column-content li,
.content-column-content .command {
    color: #fff !important;
}

a,
a:visited,
.site-name,
.logo a {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

a:hover,
a:focus,
.active a {
    color: #000 !important;
    background-color: #fff !important;
    font-weight: 700;
    text-decoration: underline !important;
}

mark {
    background-color: #fff;
    color: #000;
    font-weight: 700;
}

.text-image-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .text-image-container-bottom {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  
  .text-content {
    flex: 1;
    margin-right: 20px;
    text-align: justify;
    
  }

  .image-content {
    align-self: center;
  }
  
  .image-content img {
    max-width: 100%;
    height: auto;
  }
  

@media only screen and (max-width: 850px) {
    :root {
        --global-font-size: 12px;
        --global-line-height: 1.4em;
        --page-width: 70em;
    }

    .site-name {
        display: inline-block;
    }

    .terminal-menu ul {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        justify-content: left;
        margin-top: 0;
    }

    .terminal-menu li {
        margin-right: 20px;
    }

    .blog-list .date {
        width: 100px;
    }

    .blog-view h2 {
        font-size: 14px;
    }

    .blog-view h3 {
        font-size: 12px;
    }

    .text-image-container {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        margin: 0;
    }
}

