@font-face {
  font-family: 'Lexend';
  font-display: swap;
  src: local('Lexend'), url(https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap) format('woff2');
}

* {
  font-family: 'Lexend', monospace;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 100;
  overflow-x: hidden;
  height: 100vh;
}

ul {
  list-style: none;
  padding-left: 24px;
}

ul>li:before {
  content: "- ";
  margin-left: -18px;
  display: inline;
}

ul>li>ul>li:before {
  content: "+ ";
  margin-left: -18px;
}

ul li {
  margin-bottom: 8px;
  margin-top: 8px;
  padding-left: 10px;
  line-height: 24px;
}

h1 {
  font-size: 1.8em;
  line-height: 1.2em;
  counter-reset: first;
}

h2 {
  font-size: 1.4em;
  counter-increment: first;
  counter-reset: second;
}

h3 {
  font-size: 1.2em;
  counter-increment: second;
  counter-reset: third;
}

h4 {
  font-size: 1.05em;
  counter-increment: third;
}

h5 {
  font-size: 0.95em;
}

h6 {
  font-size: 0.6em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding-bottom: 5px;
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

.main blockquote {
  border-left: 3px solid #EEE;
  padding-left: 16px;
}

code {
  background: #FAFAFA;
  color: #cc6666;
  padding: 2px;
  border-radius: 3px;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 0.95em;
}

p>code,
li>code,
li>div>code {
  color: #000;
  font-weight: bold;
}

.skip code {
  background: none;
  color: initial;
  font-size: 1.0em;
  font-family: initial;
  padding: initial;
}

.hljs {
  background: none !important;
  overflow-x: hidden !important;
}

pre {
  background: #F8F8F8 !important;
  padding: 10px;
  border-radius: 3px;
  overflow-x: hidden !important;
}

pre>code {
  padding: 0 !important;
  margin: 0 !important;
  background: none;
}

pre code,
pre code * {
  font-size: 1.0em !important;
}

pre.math {
  background: transparent !important;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

code.math {
  background: transparent !important;
}

a {
  text-decoration: none;
  color: #AB2312;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  border-radius: 3px;
}

table {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #DDD;
}

table thead {
  background: #EFEFEF;
}

table thead th {
  padding: 8px;
  font-weight: bold;
}

table td {
  padding: 8px;
  margin: 0;
  border-bottom: 1px solid #EEE;
}

table tr:nth-last-child(1) td {
  border-bottom: none;
}

.container {
  height: calc(100vh - 210px);
  padding: 1% 1% 1% 25%;
  overflow-y: auto;
  box-sizing: border-box;
}

.main p {
  line-height: 150%;
}

.main p img {
  display: block;
  margin: auto;
}

.header {
  padding: 5px;
  color: #FFF;
  font-weight: bold;
  font-size: 22px;
  position: fixed;
  height: 35px;
}

.header .icon {
  margin-right: 10px;
}

.header::after {
  content: ".";
  visibility: hidden;
  clear: both;
}

.header span.header-link {
  height: 32px;
  line-height: 38px;
  display: inline-block;
  margin-left: 10px;
  color: #333;
}

.header .avatar {
  width: 32px;
  height: 32px;
  content: " ";
  display: inline-block;
  background: url(../img/avatar.svg) no-repeat center center;
  background-size: contain;
}

h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  color: #CCC;
  margin-left: -20px;
  margin-right: 10px;
  content: "#";
}

h2:before {
  content: counter(first) ".";
}

h3:before {
  content: counter(first) "."counter(second) ".";
}

h4:before {
  content: counter(first) "."counter(second) "."counter(third) ".";
}

.box-green {
  background: #F1F8E9 !important;
  border: 1px solid #C5E1A5;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-orange {
  background: #FFF3E0 !important;
  border: 1px solid #FFCC80;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-yellow {
  background: #FFFDE7 !important;
  border: 1px solid #FFF59D;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-red {
  background: #ffebee !important;
  border: 1px solid #ef9a9a;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-violet {
  background: #EDE7F6 !important;
  border: 1px solid #B39DDB;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-blue {
  background: #E1F5FE !important;
  border: 1px solid #81D4FA;
  border-radius: 3px;
  line-height: 1.4em;
}

.box-white {
  background: #FAFAFA !important;
  border: 1px solid #EEEEEE;
  border-radius: 3px;
  line-height: 1.4em;
}

.cover {
  margin-left: calc(-1 * ((50vw - 50%)));
  width: 99vw;
  transform: translateX(calc(50vw - 50%));
  clear: both;
  height: 75vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.cover-holder {}

.cover img {
  width: 100%;
  pointer-events: none;
}

@media print {

  .cover,
  .cover-holder,
  .header,
  .footer {
    display: none;
  }

  html,
  body {
    font-size: 16px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 15px 0 15px 0;
  }
}

::selection {
  background: #FFF5B8;
  display: block;
}

::-moz-selection {
  background: #FFF5B8;
  display: block;
}

.other-tags {
  padding: 10px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 8px;
  margin: 5px;
  background: #EEE;
}

.loading {
  padding: 30px;
  background: url(../img/loading.gif) no-repeat center center;
  display: block;
}

header h2::before,
header h4::before,
header h3::before {
  display: none;
  content: "";
}

header#user_top {
  position: relative;
  display: block;
  padding: 20px 0;
  text-align: center;
  background: #fafafa;
  box-sizing: border-box;
}

header#user_top h2 {
  text-transform: uppercase;
  font-size: 30px;
  line-height: 38px;
  color: #000;
  font-weight: 900;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 5px;
  margin-top: 10px
}

header#user_top h3 {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #6e6e6e;
  font-weight: 300;
  max-width: 450px;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 5px;
  padding-left: 10px;
  padding-right: 10px
}

header#user_top h4 {
  margin: 0;
  font-size: 14px;
  color: #777;
  font-weight: 700;
  max-width: 450px;
  margin: 0 auto;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-left: 10px;
  padding-right: 10px;
  text-transform: uppercase
}

ul#user_links {
  clear: both;
  display: block
}

ul#user_links li {
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 10px
}

ul#user_links li a {
  display: inline-block;
  border: 1px solid #e4e4e4;
  padding: 4px 18px 4px 18px;
  border-radius: 30px;
  line-height: 20px;
  color: #8c8c8c;
  font-weight: 400;
  font-size: 14px;
  transition-property: all;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.63, 0.14, 0.82);
  -moz-transition-timing-function: cubic-bezier(0.165, 0.63, 0.14, 0.82);
  -ms-transition-timing-function: cubic-bezier(0.165, 0.63, 0.14, 0.82);
  -o-transition-timing-function: cubic-bezier(0.165, 0.63, 0.14, 0.82);
  transition-timing-function: cubic-bezier(0.165, 0.63, 0.14, 0.82)
}

ul#user_links li a:hover {
  background-color: #000;
  color: #fff;
  font-weight: 400
}

figure#user_logo {
  width: 110px;
  height: 110px;
  display: block;
  background-color: transparent;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased
}

figure#user_logo a {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  text-indent: -9999px;
  margin-top: 5px;
  background-size: 100%;
  margin-top: -300px;
  -webkit-font-smoothing: antialiased
}

figure#user_logo.active a {
  margin-top: 5px
}

header#user_top.small {
  margin-top: 70px;
  padding-bottom: 30px;
  margin-bottom: 0px
}

header#user_top.small h2 {
  font-size: 25px;
  margin-bottom: 0px
}

header#user_top.small h3 {
  font-size: 18px;
  margin-bottom: 15px;
  display: none
}

header#user_top h3 a {
  color: #6e6e6e;
}

header#user_top.small ul#user_links {
  margin-top: 10px;
  list-style: none;
}

header#user_top.small figure#user_logo {
  width: 50px;
  height: 50px;
  border-width: 3px
}

header#user_top.small figure#user_logo a {
  width: 44px;
  height: 44px;
  margin-top: -300px
}

header#user_top.small figure#user_logo.active a {
  margin-top: 3px
}

header ul#user_links li::before {
  content: "" !important;
  display: none !important;
}

header#user_top.small ul#user_links li a {
  line-height: 16px
}

figure.avatar a,
figure#user_logo a,
figure#user_foot a,
nav#overlord.user_top figure#logo_top a,
figure.kudo.complete div.filling {
  background-image: url('../img/avatar.svg')
}

figure.kudo.activated div.filling,
figure.kudo.complete div.filling {
  background-color: #021216;
}

figure.kudo.activated a,
figure.kudo.complete a {
  border-color: #021216;
}

blockquote,
a blockquote,
div#readnext:hover span.flank_title,
div#foot_more:hover a,
div#foot_userbar a#bottom_tagline span:hover,
article.linked h1.article_title a:hover,
a.continue_button:hover,
article p a:hover,
ul#lightning_drop,
figure#user_logo,
figure#user_foot,
ul#user_links li a:hover,
ul#foot_links li a:hover,
a.buttonize:hover,
button.buttonize:hover,
a.buttonize.outline:hover,
button.buttonize.outline:hover,
nav.pagination span.next a:hover,
nav.pagination span.prev a:hover,
section#readnext:hover p span,
nav#overlord.user_top figure#logo_top {
  border-color: #021216;
}

figure.avatar,
nav#overlord.user_top figure#logo_top a,
ul#user_links li a:hover,
ul#foot_links li a:hover,
a.buttonize:hover,
button.buttonize:hover,
a.buttonize.outline:hover,
button.buttonize.outline:hover,
nav.pagination span.next a:hover,
nav.pagination span.prev a:hover {
  background-color: #021216;
}

h6.separator_title.read_first,
header#user_top h2 a,
footer#blog_foot h5 a,
article.post h1 a:hover,
div.preview strong,
nav#overlord h2#nav_title.user_top a,
section#readnext:hover h3,
section#readnext:hover p span {
  color: #021216;
}

@keyframes titlePulse {
  0% {
    color: #000000;
  }

  50% {
    color: #021216;
  }

  100% {
    color: #000000;
  }
}

@-moz-keyframes titlePulse {
  0% {
    color: #000000;
  }

  50% {
    color: #021216;
  }

  100% {
    color: #000000;
  }
}

@-webkit-keyframes titlePulse {
  0% {
    color: #000000;
  }

  50% {
    color: #021216;
  }

  100% {
    color: #000000;
  }
}

.padding-15 {
  padding: 15px;
}

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

@media only screen and (max-width: 768px) {

  pre,
  pre code {
    overflow-x: auto !important;
  }

  .hljs {
    background: none !important;
    overflow-x: auto !important;
  }
}

::-webkit-scrollbar-track {
  background-color: #eeeeee;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #cccccc;
}

::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border: none;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  word wise {
    display: none;
  }
}

p.special {
  line-height: 2.0em !important;
}

p.special word {
  position: relative;
  text-align: center;
  display: inline-block;
}

p.special word wise {
  font-family: 'Inconsolata', monospace !important;
  position: absolute;
  top: -0.8em;
  font-size: 0.7em;
  line-height: 16px !important;
  left: 0%;
  width: 100%;
  color: #888;
  font-weight: 100;
  font-style: normal;
  border-bottom: 1px dashed #CCC;
}

.mjx-mo,
.mjx-line {
  color: #e74c3c;
}

:target {
  background: #FFF5B8;
}

.pluginConnectTextDark a {
  color: #333;
}

.toc h2 {
  counter-reset: toc;
  counter-increment: toc;
  margin: 5px 0;
}


.toc h2:before {
  content: "≡";
}

.toc ul {
  padding-left: 20px;
  margin: 0;
}

.toc ul li {
  counter-increment: toc-li;
  padding: 0;
  margin: 0;
}

.toc ul li:before {
  content: counter(toc-li) ".";
  color: #BBB;
}

.bigquote {
  margin: 50px;
  padding-left: 50px;
  font-size: 1.5em;
  color: #555;
  line-height: 32px;
  position: relative;
}

.bigquote::before {
  content: "“";
  position: absolute;
  left: 10px;
  top: 5px;
  font-size: 3.0em;
  opacity: 0.2;
}

.bigquote .quotecite {
  font-size: 0.7em;
  opacity: 0.5;
  text-align: right;
}

.read-percentage,
.home-date-indicator {
  color: #595959;
  margin-right: 10px;
}

.home-list-item {
  margin-bottom: 12px;
  font-size: 0.8em;
  position: relative;
}

.home-list-item a {
  font-size: 1.3em;
}

.home-counter {
  font-size: 1.1em;
}

.header-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #222;
  color: #888;
  padding: 10px;
  text-align: left;
}

.header-top a {
  color: #EEE;
  text-decoration: none;
}

.header-top a:hover {
  color: #FFF;
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

  figure#user_logo {
    width: 55px;
    height: 55px;
  }

  figure#user_logo a {
    width: 50px;
    height: 50px;
  }
  .container {
    padding: 1% 1% 1% 25%;
    height: calc(100vh - 155px);
  }

}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

  figure#user_logo {
    width: 55px;
    height: 55px;
  }

  figure#user_logo a {
    width: 50px;
    height: 50px;
  }
  .container {
    margin: 0;
    width: 100%;
    padding: 3%;
    height: calc(100vh - 155px);
  }

}