/**
 * Reset some basic elements
 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
hr,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

/**
 * Basic styling
 */
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Courier New", monospace;
  color: #E8E8E8;
  background-color: #121212;
  overflow-x: hidden;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-grow: 1;
  padding: 3em;
}

.column {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 33.3%;
  justify-content: space-between;
  padding: 1em;
  box-sizing: border-box;
}

.blog-post {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  padding: 1em;
  border: 1.75px solid #eeeeee;
  background: black;
  min-width: 250px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.blog-post:hover {
  transform: scale(1.01);
  border-color: #d33939;
}
.blog-post pre,
.blog-post code {
  font-size: 13.5px;
  border: 1px solid #484848;
  border-radius: 3px;
  background-color: #121212;
}
.blog-post img {
  max-width: 45%;
  height: auto;
  margin-right: 1em;
  padding: 0.33em;
  filter: grayscale(30%);
  /* Make images grayscale */
  transition: filter 0.2s ease;
  /* Smooth transition for the filter */
}
.blog-post:hover img {
  filter: grayscale(0%);
  /* Restore color on hover */
}
.blog-post p {
  font-size: 18px;
}
.blog-post h2 {
  padding-top: 0.75em;
}
.blog-post a {
  margin-top: 0;
  margin-bottom: 0.5em;
  padding-top: 0.75em;
}
.blog-post a {
  color: #d33939;
  text-decoration: none;
  font-size: 19.8px;
}
.blog-post a:hover {
  color: #ffffff;
}

.post-preview {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

/* Default clamp to 3 lines for small screens or when JS is disabled */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 3 lines */
  -webkit-line-clamp: 3;
}

/* Clamp to 5 lines */
.truncate-5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 3 lines */
  -webkit-line-clamp: 5;
}

/* Clamp to 8 lines */
.truncate-8 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 3 lines */
  -webkit-line-clamp: 8;
}

.visualization {
  height: 100%;
  width: calc(33.33% - 2em);
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .visualization {
    display: none;
  }
  .container {
    height: auto; /* Allow the container to grow with the content */
    padding: 1em;
    flex-direction: column;
  }
  .column {
    flex-direction: column; /* Stack items vertically on smaller screens */
  }
  .blog-post {
    flex-direction: column; /* Stack image and text vertically in each post */
    width: 100%; /* Full width for smaller screens */
  }
  .blog-post img {
    max-width: 100%; /* Allow image to fill the container */
    max-height: 200px; /* Limit the height on smaller screens */
  }
}
/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
ul,
ol,
dl,
figure,
.highlight {
  margin-bottom: 0.25em;
}

/**
 * `main` element
 */
main {
  display: block;
  /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 15.75px;
}

/**
 * Lists
 */
ul,
ol {
  margin-left: 1em;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #d33939;
  text-decoration: none;
}
a:visited {
  color: #c62c2c;
}
a:hover {
  color: #E8E8E8;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #888;
  border-left: 4px solid #eeeeee;
  padding-left: 0.5em;
  font-size: 20.25px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 16.875px;
  border: 1px solid #484848;
  border-radius: 3px;
  background-color: #121212;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800 - (1em * 2));
  max-width: calc(800 - 1em * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1em;
  padding-left: 1em;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800 - (1em));
    max-width: calc(800 - (1em));
    padding-right: 0.5em;
    padding-left: 0.5em;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #888;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 1em;
  width: 100%;
  text-align: left;
  color: white;
  border-collapse: collapse;
  border: 1px solid #eeeeee;
}
table tr:nth-child(even) {
  background-color: #fdfdfd;
}
table th,
table td {
  padding: 0.33em 0.5em;
}
table th {
  background-color: #f6f6f6;
  border: 1px solid #e4e4e4;
  border-bottom-color: #cfcfcf;
}
table td {
  border: 1px solid #eeeeee;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #484848;
  border-bottom: 1px solid #eeeeee;
  min-height: 1.865em;
  position: relative;
}

.site-title {
  font-size: 29.25px;
  font-weight: 300;
  line-height: 60.75px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: #484848;
}

.site-nav {
  float: right;
  line-height: 60.75px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #E8E8E8;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 0.5em;
    background-color: #121212;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: #484848;
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    padding: 5px 10px;
    margin-left: 20px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  padding: 1em 0;
}

.footer-heading {
  font-size: 20.25px;
  margin-bottom: 0.5em;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 16.875px;
  color: #888;
  margin-left: -0.5em;
}

.footer-col {
  float: left;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}

.footer-col-1 {
  width: -webkit-calc(35% - (1em / 2));
  width: calc(35% - 1em / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (1em / 2));
  width: calc(20% - 1em / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (1em / 2));
  width: calc(45% - 1em / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (1em / 2));
    width: calc(50% - 1em / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (1em / 2));
    width: calc(100% - 1em / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (1em / 2));
    width: calc(100% - 1em / 2);
  }
}
/**
 * Page content
 */
.page-content {
  flex: 1;
}

.page-heading {
  font-size: 36px;
}

.post-list-heading {
  font-size: 31.5px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 1em;
}

.post-meta {
  font-size: 15.75px;
  color: #888;
}
.post-meta span {
  color: #c62c2c;
}
.post-meta .p-group {
  color: #bbbbbb;
}

.post-link {
  display: block;
  font-size: 27px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 1em;
}

.post-title {
  font-size: 50.85px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 40.5px;
  }
}

.blog-post-column {
  flex: 1;
  flex-grow: 1;
  width: 66.6%;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  margin: 1em auto;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 768px) {
  .blog-post-column {
    width: 100%;
  }
}
.post-content {
  display: flex;
  flex-direction: column;
  font-size: 21.15px;
}
@media screen and (max-width: 800px) {
  .post-content {
    font-size: 20.25px;
  }
}
.post-content p img {
  display: block;
  margin: 0 auto;
  padding: 1em;
  max-width: 100%;
  height: auto;
}
.post-content h2 {
  padding-top: 0.5em;
  font-size: 31.5px;
  text-emphasis: ".";
  text-emphasis-color: #b22727;
  text-shadow: 0.5px 0.5px 0.5px #d33939;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 31.5px;
  }
}
.post-content h3 {
  font-size: 28.8px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 24.75px;
  }
}
.post-content h4 {
  font-size: 22.5px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 20.25px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/*# sourceMappingURL=main.css.map */