/* Style.css */
/* root */
@font-face {
  font-family: "icomoon";
  src: url("/fonts/icomoon.eot?n8tazz");
  src: url("/fonts/icomoon.eot?n8tazz#iefix") format("embedded-opentype"),
    url("/fonts/icomoon.ttf?n8tazz") format("truetype"),
    url("/fonts/icomoon.woff?n8tazz") format("woff"),
    url("/fonts/icomoon.svg?n8tazz#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-thought:before {
  content: "\e900";
}
.icon-bulb:before {
  content: "\e901";
}
.icon-lamp:before {
  content: "\e901";
}
.icon-idea1:before {
  content: "\e901";
}
.icon-pencil:before {
  content: "\e905";
}
.icon-folder:before {
  content: "\e92f";
}
.icon-calendar:before {
  content: "\e953";
}
.icon-bubble:before {
  content: "\e96b";
}
/* roboto-regular - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("/roboto-v29-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/roboto-v29-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 400;
  src: local(""), url("/roboto-v29-latin-italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("/roboto-v29-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("/roboto-v29-latin-700.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */ url("/roboto-v29-latin-700.woff")
      format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src: local(""), url("/roboto-v29-latin-900.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */ url("/roboto-v29-latin-900.woff")
      format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
:root {
  --title-color: #505050;
  --nav-color: black;
  --pre-background: #f0f8ff;
  --border-color: black;
  --background-color: white;
  --text-color: rgba(0, 0, 0, 0.774);
  --base-font-size: 16px;
  --base-font: "Roboto", sans-serif;
  --title-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-small: 0.85rem;
  --font-medium: 0.85rem;
  --font-large: 1.2rem;
  --font-extra-large: 1.5rem;
  --secondary-color: #343a40;
}
@media (prefers-color-scheme: dark) {
  :root {
    --title-color: white;
    --nav-color: white;
    --text-color: white;
    --background-color: #212121;
    --border-color: white;
    --pre-background: #303030;
    --secondary-color: #adb5bd;
  }
}
html,
body {
  scroll-padding-top: 100px;
}
/* --------------------Table------------------ */
.table-wrapper {
  overflow-x: auto;
}
table {
  max-width: 100% !important;
  border-collapse: collapse;
}
tr,
td,
th {
  border: 1px solid;
  padding-left: 20px;
  padding-right: 20px;
}
/* End table */
kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
    Liberation Mono, monospace;
  line-height: 10px;
  color: var(--color-fg-default);
  vertical-align: middle;
  background-color: transparent;
  color: var(--text-color);
  border: solid 1px var(--border-color);
  border-bottom-color: var(--border-color);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 var(--border-color);
}
body {
  background-color: var(--background-color);
  max-width: 42rem;
  color: var(--text-color);
  font-family: var(--base-font);
  font-size: 1.2em;
  padding: 0 auto;
  margin: 0 auto;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  display: block;
}

a {
  color: var(--text-color);
  text-decoration: underline;
}
a:hover {
  transition: 0.5s !important;
  color: #ef722f !important;
}
nav {
  font-weight: bold;
  margin-top: 20px;
}
nav a {
  font-weight: 400;
  text-decoration: none !important;
}
.blog_title {
  font-size: 32px;
  float: left;
  width: 100%;
}
.blog_slogan {
  float: left;
  width: 100%;
}
nav a {
  font-size: 15px;
  color: var(--text-color);
  margin-right: 10px;
}
@media screen and (max-width: 786px) {
  body {
    max-width: 90%;
  }

  .article-title {
    float: left;
  }
  .single-content img {
    height: 300px;
  }
  svg {
    float: left;
    max-width: 100%;
  }
}
@media screen and (max-width: 480px) {
  article {
    float: left;
    flex-direction: column;
  }
}
@media screen and (max-width: 1280px) {
  .toc-hide-mobile {
    display: none !important;
  }
}
/* Article */
main {
  margin-top: 20px;
}

.article-date,
.article-category,
.article-title {
  font-family: var(--base-font);
}
.article-title {
  float: left;
  font-size: 1.125rem;
  line-height: 1.75;
  margin-left: 0px;
  font-weight: 500;
  color: var(--title-color);
}
.article-category a {
  float: right;
  padding: 5px;
  font-size: 14px !important;
  border-radius: 5px;
  color: black !important;
  border: 1px solid black;
  font-weight: 400 !important;
}
.article-date {
  /* margin-right: 20px; */
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-color);
  display: block;
  min-width: 12.2rem;
  margin-right: -4.5rem;
}
article {
  margin-top: 20px;
  display: flex;
  width: 100%;
  line-height: 1.25rem;
  margin-top: 1rem;
  align-items: baseline;
}
.article-category a {
  color: #343a40;
  font-size: 16px;
  text-decoration: none;
}

/* single.html */
.single-title {
  font-weight: 700;
  font-family: var(--base-font);
  color: var(--title-color);
  font-size: 2rem;
  line-height: 1.25;
}
.single-date {
  font-size: 14px;
  color: var(--secondary-color);
  font-family: var(--base-font);
}

/* Single */
.single-info a {
  color: var(--text-color);
  font-family: var(--base-font);
  font-weight: 500;
}

.toc {
  position: fixed;
  float: right;
  margin-top: 30px !important;
}
.single-content {
  width: 100%;
  margin-top: 30px;
  font-family: var(--base-font);
  color: var(--text-color) !important;
  /* font-family: CustomSerif, Georgia, Cambria, "Times New Roman", serif; */
  color: #333333;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1.58;
}

.single-summary {
  color: var(--text-color);
  margin-top: 15px;
  font-weight: 500;
}
.single-content a {
  color: var(--text-color);
  font-size: 18px;
}
.single-content img {
  float: left;
  object-fit: cover;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  border: 1px solid var(--border-color);
}
.single-category {
  float: left;
  width: 100%;
}
.single-tag a {
  color: var(--text-color);
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
pre {
  overflow: auto;
  padding: 5px;
  font-size: 14px;
  background-color: --pre-background;
}
code {
  font-family: monospace;
  border-radius: 3px;
}
/* Taxonomy */
.taxonomy {
  list-style: none;
  font-weight: 16px;
}
.terms li {
  list-style: none;
}
.list-group-item {
  position: relative;
  display: block;
  margin: 5px;
  color: #212529;
  text-decoration: none;
}
.terms a {
  float: left;
  text-decoration: underline;
  font-size: 16px;
  margin-right: 5px;
}
.count {
  font-size: 15px;
  float: left;
  margin-right: 5px;
  color: #e3e3e3a4;
}
.terms-header {
  font-size: 16px;
  font-weight: bold;
}
.list-group-item {
  float: left;
  width: 100%;
  margin-top: -10px;
}
.caption {
  float: left;
  width: 100%;
  font-size: 0.85em;
  text-align: center;
}
footer {
  float: left;
  width: 100%;
  font-size: var(--base-font-size);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
/* Info shortcode */

.info-header {
  border-left: 5px solid var(--border-color);
  color: var(--text-color);
  font-size: var(--base-font-size);
  font-weight: 500;
  width: 100%;
}
.info-header span {
  margin-left: 15px;
}
.info-content {
  font-size: var(--base-font-size);
  border-left: 5px solid var(--border-color);
  background-color: transparent;
  padding-left: 20px;
  padding-right: 10px;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

blockquote {
  border-left: 5px solid var(--border-color);
  padding-left: 10px !important;
  font-size: var(--base-font-size);
  font-weight: 400;
  margin-bottom: 20px;
  width: 100%;
  margin: 0px !important;
  float: left;
  font-style: italic;
}
.twitter-tweet {
  color: var(--text-color) !important;
}
/* Author info */
.author_info--container {
  display: flex;
  float: left;
  width: 100%;
  padding-bottom: 20px;
}

.author_avatar {
  margin-top: 20px;
  max-width: 100px;
  max-height: 100px;
  border-radius: 5px;
  object-fit: cover;
  border-radius: 50% !important;
}
.author_info {
  float: left;
  padding-left: 20px;
  margin-top: 30px;
}
.author_name {
  float: left;
  width: 100%;
}
.author_quote {
  font-size: 15px;
  color: var(--secondary-color);
}
@media screen and (max-width: 780px) {
  .author_info--container {
    flex-direction: column;
    align-items: center !important;
  }
  .author_info {
    align-items: center;
    text-align: center;
  }
}
/* Table of content */

.active a {
  font-weight: bold;
}
/* Toc container */
.toc {
  border-left: 1px solid var(--border-color);
  right: 0;
  top: 0 !important;
  font-size: 14px;
  width: 250px;
}
.toc a {
  transition: all 100ms ease-in-out;
}
.toc li {
  list-style: none;
}
.toc h3 {
  background-color: pink;
}
html {
  scroll-behavior: smooth;
}
