@charset "UTF-8";

@font-face {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-weight: 400;
  src: local('IBM Plex Mono'), local('IBMPlexMono'), url(https://fonts.gstatic.com/s/ibmplexmono/v3/-F63fjptAgt5VM-kVkqdyU8n1i8q131nj-o.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: optional;
}

@font-face {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-weight: 700;
  src: local('IBM Plex Mono Bold'), local('IBMPlexMono-Bold'), url(https://fonts.gstatic.com/s/ibmplexmono/v3/-F6qfjptAgt5VM-kVkqdyU8n3pQPwlBFgsAXHNk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: optional;
}
:root {
  --highlight-color: orange;
  --primary-color: #000;
  --secondary-color: #333;
  --bg-color: #fff;
  --top-line-color: #000;
  --selection-color: #E0F7FA;
  --a-hover-color: #2a2a2a;
  --code-background-color: #E0F7FA;
  --code-color: #336699;
}

[data-theme="dark"] {
  --highlight-color: orange;
  --primary-color: #eee;
  --secondary-color: #aaa;
  --bg-color: #222;
  --top-line-color: orange;
  --selection-color: rgb(0, 80, 90);
  --a-hover-color: #2a2a2a;
  --code-background-color: rgb(97, 103, 104);
  --code-color: #cee7ff;
}

html, body {
  margin: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  background: var(--bg-color);
  color: var(--primary-color);
  font-family: 'IBM Plex Mono', monospace;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

.top-line {
  border-top: 8px solid var(--top-line-color);
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.container {
  padding-top: 50px;
}

::selection {
  background: var(--selection-color);
}

iframe {
  max-width: 100%;
}

/**********************
 * Copy
 **********************/
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
  font-family: 'IBM Plex Mono', monospace;
}

h1 a, h2 a, h3 a, h4 a, .sidebar a, .sidebar .sections button {
  text-decoration: none;
  color: var(--secondary-color);
}

h1 {
  font-size: 36px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 40px;
}

h2, h3 {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 900;
  position: relative;
}

h1, .header {
    display: inline-block;
}

ul.listing > h3 {
  color: var(--highlight-color);
  font-weight: 900;
  border-left: 16px solid var(--highlight-color);
  padding-left: 10px;
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 30px;
}

h2:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 6px;
  bottom: -10px;
  left: 0;
  border-bottom: 6px solid var(--highlight-color);
}

ul {
  margin: 0;
  padding: 0;
}



/**********************
 * Footer
 **********************/
.footer {
  padding: 50px 0;
  color: var(--highlight-color);
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 20px;
}

.footer > .thanks {
  letter-spacing: 2px;
  float: left;
}

.footer > span {
  vertical-align: middle;
}

.footer > .thanks .horns {
  text-decoration: none;
  font-size: 20px;
}

.footer > .twitter {
  float: right;
}

/**********************
 * Sidebar
 **********************/
.sidebar {
  position: fixed;
  margin-left: 50px;
  width: 150px;
}

.sidebar .avatar {
  border-radius: 50%;
}

.sidebar .avatar:hover {
  -webkit-animation: avatarzomg 0.9s infinite;
  -moz-animation: avatarzomg 0.9s infinite;
  animation: avatarzomg 0.9s infinite;
}

.sidebar a {
  color: var(--primary-color);
  border-bottom: none;
}

.sidebar .meta {
  margin-left: 24px;
  margin-top: 10px;
  height: 20px;
  min-width:130px;
}

.sidebar .meta .icon {
  margin-left: 2px;
  margin-right: 2px;
  font-size: 20px;
}

.sidebar .sections {
  margin: 10px 0 0 54px;
}

.sidebar .sections li {
  list-style: none;
  margin-bottom: 10px;
}

.sidebar .sections a {
  font-size: 14px;
  font-weight: bold;
}

.sidebar .sections button {
  background: none;
  border: none;
  box-shadow: none;
  outline:none;
  cursor: pointer;
  padding-left: 10px;
  font-size:20px;
  text-align: center;
}
/**********************
 * Posts
 **********************/
.content {
  max-width: 700px;
  margin: 0 20px 50px 250px;
}

.content p {
  margin-top: 0;
  margin-bottom: 1.2em;
  line-height: 1.5;
}

.content ul {
  margin-left: 20px;
  padding: 10px 0;
}

.content ul, .content ol {
  font-size: 16px;
}

.content li {
  margin-bottom: 10px;
  margin-left: 10px;
}

.content img:not(.emoji) {
  padding: 3px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.content hr {
  background-color: var(--highlight-color);
  border: 0px;
  margin: 50px auto;
  width: 50%;
  height: 5px;
  border-radius: 5px;
  max-width: 430px;
  color: var(--highlight-color);
  clear: both;
}

p.chunk {
  display: block;
  border-left: 8px solid #f4f3f3;
  padding: 10px 20px;
}

blockquote {
  background: #E0F7FA;
  margin: 30px 40px;
  padding: 14px 10px;
}

blockquote:before {
  color: var(--highlight-color);
  content: "\201C";
  font-family: Georgia;
  font-size: 80px;
  line-height: 0;
  vertical-align: -0.5em;
}

blockquote:after {
  content: "";
}
blockquote p {
  display: inline;
}

/**********************
* Posts lists
*********************/
.content .listing {
  margin: 10px 0 0 0;
  padding: 0;
}

.content .listing li {
  font-size: 15px;
  list-style: none;
  padding: 5px 3px;
  margin: 0;
  color: #777777;
}

.content .listing a {
  color: var(--primary-color);
  padding-bottom: 2px;
  border-bottom: 1px dotted #ddd;
  text-decoration: none;
  font-weight: normal;
}

.content .listing li span {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  float: right;
}

/*******************
* Glitch
/******************/

.sidebar .logo:hover
{
    animation: glitch .2s linear infinite;
}

@keyframes glitch
{
	0%
	{
		transform: translate3d(0, 0, 0);
		filter: hue-rotate(0deg);
	}
	10%
	{
		transform: translate3d(2px, 0, 0);
	}
	20%
	{
		transform: translate3d(-2px, 0, 0);
	}
	30%
	{
		transform: translate3d(2px, 0, 0);
	}
	40%
	{
		transform: translate3d(-2px, 0, 0);
	}
	50%
	{
		transform: translate3d(-2px, 0, 0);
	}
	60%
	{
		transform: translate3d(-2px, 0, 0);
	}
	70%
	{
		transform: translate3d(0, -2px, 0);
	}
	80%
	{
		transform: translate3d(-2px, -2px, 0);
	}
	81%
	{
		background-position: 0 0;
	}
	100%
	{
		background-position: 0 0;
		filter: hue-rotate(360deg);
	}
}

/* End glitch */

/**********************
 * Links
 *********************/
a {
  color: var(--highlight-color);
  transition: color .3s ease-in-out;
	-moz-transition: color .3s ease-in-out;
  text-decoration: underline;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip: ink;
  font-weight: bold;
}

/*ul.listing li a:hover {*/
    /*border-bottom: 1px transparent;*/
    /*border-right: 16px solid orange;*/
    /*padding-right: 10px;*/
    /*animation: blink-caret .75s infinite*/
/*}*/

ul.listing li a:hover {
    border-bottom: 1px transparent;
    border-right: 3px solid var(--highlight-color);
    background: var(--a-hover-color);
    color: var(--highlight-color);
    /* padding: 2px; */
    padding-right: 4px;
    animation: blink-caret .75s infinite
}

@keyframes blink-caret {
    0%, 49% { border-color: transparent }
    50%     { border-color: var(--highlight-color); }
}


/**********************
 * Code
 *********************/
code {
  background: var(--code-background-color);
  outline: 1px solid #3a3a3a;
  font-family: SourceCodePro,Consolas,Menlo,Monaco,Courier New,monospace;
  color: var(--code-color);
  font-size: 95%;
  font-weight: bold;
}

pre {
  background: #2a2a2a;
  /*background: #fafafa;*/
  outline: 1px solid #eeeeee;
  /*border-left: 5px solid #7BE4D5;*/
  border-left: 5px solid orange;
}

pre code {
  background: transparent !important;
  outline: none;
  color: var(--primary-color);
  font-weight: normal;
}
/* just the code blocks */
pre {
  padding: 0px;
  overflow-x: auto;
  overflow-y: hidden;
}

/* inline code */
code {
  line-height: 0.65;
  padding: 2px 3px;
}

pre code.language-text {
  padding-left: 10px;
}

h2 code {
  font-size: 30px;
}

/* post images */
.figure {
  margin-top: 1em;
  margin-bottom: 1em;
}

.figure img {
  display: block;
  max-width: 100%;
  /*width: 100%;*/
  height: auto;
  border-radius: 5px;
}

.figure span {
  text-align: center;
  display: block;
  font-size: 80%;
  font-style: italic;
  margin-top: 0.5em;
  line-height: 1.2em;
}

/* Toggle switch */

.theme-switch-wrapper {
  display: flex;
  align-items: center;

  em {
    margin-left: 10px;
    font-size: 1rem;
  }
}
.theme-switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 54px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 18px;
}

input:checked + .slider {
  background-color: orange;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.slider.round {
  border-radius: 26px;
}

.slider.round:before {
  border-radius: 50%;
}
