/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden], template {
  display: none;
}
a {
  background: 0 0;
}
a:active, a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b, strong {
  font-weight: 700;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button, select {
  text-transform: none;
}
button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled], html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  height: auto;
}
input[type=search] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: 700;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td, th {
  padding: 0;
}
/* cyrillic */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url(./assets/nunito-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url(./assets/nunito-cyrillic-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url(./assets/nunito-latin-400-normal.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;
}
/* latin-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url(./assets/nunito-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  src: url(./assets/nunito-vietnamese-400-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* cyrillic */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url(./assets/nunito-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url(./assets/nunito-cyrillic-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url(./assets/nunito-latin-700-normal.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;
}
/* latin-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url(./assets/nunito-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* vietnamese */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  src: url(./assets/nunito-vietnamese-700-normal.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
header {
  display: flex;
  height: 65px;
  align-items: center;
  justify-content: center;
}
header nav {
  display: flex;
  width: 1140px;
  max-width: 100%;
  padding: 0 35px;
  margin: auto;
  align-items: center;
}
header a {
  text-decoration: none;
  color: inherit;
}
header .brand img {
  vertical-align: middle;
  height: 30px;
}
header .brand .name {
  font-weight: 600;
  margin-left: 2px;
}
header .nav-links {
  flex: 1;
  text-align: right;
}
header .nav-links a {
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  padding: 8px;
}
header .nav-links a.active {
  border-bottom: 3px solid var(--color-accent);
}
header .color-mode-toggler {
  margin-left: 15px;
}
header .color-mode-toggler a {
  cursor: pointer;
}
header #mobile-nav-icon {
  margin-right: 10px;
  display: none;
}
header #mobile-nav-closer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
header #mobile-nav-closer.open {
  display: block;
}
.mode-light .color-mode-toggler a:first-child {
  display: none;
}
.mode-dark .color-mode-toggler a:last-child {
  display: none;
}
footer {
  padding: 40px 0;
}
footer .container {
  display: flex;
  width: 1140px;
  max-width: 100%;
  padding: 0 35px;
  margin: auto;
  align-items: center;
}
footer .social {
  flex: 1;
}
footer .social a {
  text-decoration: none;
  margin-right: 8px;
  color: inherit;
}
footer .social a:hover {
  color: var(--color-accent);
}
footer nav a {
  margin-left: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  padding: 8px;
  text-decoration: none;
  color: inherit;
}
footer .nav-lang {
  margin-left: 25px;
  position: relative;
}
footer .nav-lang .lang-label {
  cursor: pointer;
}
footer .nav-lang #lang-selector {
  opacity: 0;
  transition: 0.2s;
  width: 200px;
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--color-background-box);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 15px;
  transform: translateY(25px);
  pointer-events: none;
  padding: 20px;
  z-index: 1;
}
footer .nav-lang #lang-selector a {
  display: block;
  color: inherit;
  padding: 4px 10px;
  text-decoration: none;
  transition: 0.3s;
}
footer .nav-lang #lang-selector a:hover {
  transform: scale(1.02);
}
footer .nav-lang #lang-selector a.active {
  font-weight: 600;
  color: var(--color-accent);
}
footer .nav-lang #lang-selector a .bull {
  margin-left: 4px;
}
footer .nav-lang #lang-selector.open {
  pointer-events: initial;
  opacity: 1;
  transform: translateY(0px);
}
footer .nav-lang #lang-selector.open a {
  height: initial;
}
footer .nav-lang #lang-selector-closer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
footer .nav-lang #lang-selector-closer.open {
  display: block;
}
.post-box, .comments-box, .newsletter-box {
  padding: 30px 50px;
  margin-bottom: 40px;
  background: var(--color-background-box);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
}
.post-box .featured-image {
  display: block;
  width: 100%;
  border-radius: var(--box-radius);
  margin-bottom: 2rem;
}
.post-box h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
  position: relative;
  display: table;
}
.post-box h1:after {
  position: absolute;
  content: "";
  top: 100%;
  margin-top: 3px;
  left: 0;
  width: 100px;
  max-width: 100%;
  height: 3px;
  background: var(--color-accent);
}
.post-box .post-content {
  line-height: var(--line-height);
}
.post-box .post-content a:not([class]) {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--color-accent);
}
.post-box .post-content p {
  margin: 1rem 0;
}
.post-box .post-content h1, .post-box .post-content h2, .post-box .post-content h3, .post-box .post-content h4, .post-box .post-content h5, .post-box .post-content h6 {
  line-height: 1.25em;
  margin-top: 2.5rem;
  margin-bottom: 0;
  text-rendering: optimizeLegibility;
}
.post-box .post-content h1 {
  font-size: 2rem;
  text-indent: -1px;
  margin-top: 3.5rem;
}
.post-box .post-content h2 {
  font-size: 1.7rem;
  text-indent: -1px;
  margin-top: 3.2rem;
}
.post-box .post-content h3 {
  font-size: 1.4rem;
}
.post-box .post-content h4 {
  font-size: 1.2rem;
}
.post-box .post-content h5, .post-box .post-content h6 {
  font-size: 1.1rem;
  font-weight: 500;
}
.post-box .post-content ol, .post-box .post-content ul {
  font-family: var(--font-secondary);
  margin: 1rem 0;
  padding-left: 2em;
}
.post-box .post-content ol ol, .post-box .post-content ol ul, .post-box .post-content ul ol, .post-box .post-content ul ul {
  margin: 0;
}
.post-box .post-content li p {
  margin: 5px;
}
.post-box .post-content hr {
  display: block;
  height: 1px;
  margin: 4rem;
  padding: 0;
  background: var(--color-background-contrast);
  border: 0;
}
.post-box .post-content blockquote {
  font-family: var(--font-secondary);
  margin: 2rem 0;
  padding: 1em 1.5em;
  border-left: 0.25em solid var(--color-accent);
}
.post-box .post-content blockquote > :first-child {
  margin-top: 0;
}
.post-box .post-content blockquote > :last-child {
  margin-bottom: 0;
}
.post-box .post-content figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  border-radius: var(--box-radius);
}
.post-box .post-content figcaption {
  position: relative;
  color: var(--color-text-content-secondary);
  margin: auto;
  font-size: 0.9em;
  line-height: 2em;
  padding: 0.5rem;
  text-align: center;
}
.post-box .post-content figure {
  margin: 2em 0;
}
.post-box .post-content aside {
  display: flex;
  padding: 1em;
  border-radius: var(--box-radius);
  margin: 2rem 0;
}
.post-box .post-content aside span {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}
.post-box .post-content pre {
  padding: 1rem 0;
  border-radius: var(--box-radius);
  font-size: 0.85rem;
}
.post-box .post-content pre .line {
  padding: 1px 1rem;
}
.post-box .post-content pre .line-number {
  margin-right: 1rem;
}
.post-box .post-content pre code {
  display: block;
  width: max-content;
  min-width: 100%;
}
.post-box .post-content a.bookmark {
  color: inherit;
  display: flex;
  margin: 2rem 0;
  text-decoration: none;
  box-shadow: var(--box-shadow);
  border-radius: var(--box-radius);
  overflow: hidden;
}
.post-box .post-content a.bookmark .bookmark-details {
  padding: 1rem 1.5rem;
  flex: 2;
}
.post-box .post-content a.bookmark .bookmark-details .bookmark-title {
  font-weight: 600;
}
.post-box .post-content a.bookmark .bookmark-details .bookmark-description {
  color: var(--color-text-content-secondary);
  font-size: 0.9rem;
  margin: 5px 0;
}
.post-box .post-content a.bookmark .bookmark-details .bookmark-domain {
  font-size: 0.8rem;
  font-weight: 600;
}
.post-box .post-content a.bookmark .bookmark-thumbnail {
  flex: 1;
}
.post-box .post-content a.bookmark .bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 640px) {
  .post-box .post-content a.bookmark {
    flex-direction: column-reverse;
  }
}
.post-box .post-content :not(pre) code {
  background-color: var(--inline-code-bg);
  color: var(--inline-code-color);
  border-radius: 3px;
  font-size: 0.8rem;
  padding: 0.2em 0.4em;
  font-family: monospace;
}
.post-box .post-content mark {
  background-color: #fffbd4;
}
.post-box .post-tags {
  margin-top: 20px;
}
.comments-box h3, .newsletter-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.comments-box h3:after, .newsletter-box h3:after {
  position: absolute;
  content: "";
  top: 100%;
  margin-top: 2px;
  left: 0;
  width: 100px;
  max-width: 100%;
  height: 2px;
  background: var(--color-accent);
}
.posts-loop a.article {
  display: flex;
  padding: 30px;
  background: var(--color-background-box);
  margin-bottom: 30px;
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: inherit;
  transition: 0.1s box-shadow;
}
.posts-loop a.article .left {
  flex: 1;
}
.posts-loop a.article .left h2 {
  margin: 0;
  font-size: 22px;
  line-height: 24px;
}
.posts-loop a.article .left p.description {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--color-text-content-secondary);
}
.posts-loop a.article .left .date {
  font-size: 0.8rem;
  margin-top: 8px;
}
.posts-loop a.article .left .post-tags {
  margin-top: 10px;
}
.posts-loop a.article .right {
  padding-left: 25px;
}
.posts-loop a.article .right img {
  width: 300px;
  border-radius: var(--box-radius);
}
.posts-loop a.article:hover {
  box-shadow: var(--box-shadow), 0 0 20px rgba(0, 0, 0, 0.05);
}
nav.pagination {
  text-align: center;
  margin: 30px 0;
}
nav.pagination .pagination-info {
  color: var(--color-text-content-secondary);
  vertical-align: middle;
}
nav.pagination a {
  margin: 0 3px;
  padding: 10px;
  display: inline-block;
  color: var(--color-accent);
  transition: 0.3s transform ease-out;
}
nav.pagination a.hidden {
  visibility: hidden;
}
nav.pagination a:hover {
  transform: scale(1.5);
}
.author-page .author-image img, .author-page .author-image .avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.author-page .author-image .avatar-placeholder {
  display: inline-block;
  background-color: var(--color-background-contrast);
}
.author-page .social a {
  display: inline-block;
  color: var(--color-accent);
  margin: 10px 4px;
}
.author-page .posts-count, .tag-page .posts-count {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
}
@media only screen and (max-width: 640px) {
  .post-box {
    padding: 40px 20px;
  }
  footer .container {
    flex-direction: column-reverse;
    padding: 0;
  }
  footer .container nav {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer .container .nav-lang {
    margin-left: 0;
    text-align: center;
  }
  footer .container .nav-lang #lang-selector {
    transform: translateY(25px) translateX(50%);
    right: 50%;
  }
  footer .container .nav-lang #lang-selector.open {
    transform: translateY(0) translateX(50%);
  }
  header .nav-links-inner {
    display: flex;
    position: absolute;
    top: 60px;
    width: 200px;
    right: 40px;
    flex-direction: column;
    background: var(--color-background-box);
    border-radius: var(--box-radius);
    box-shadow: var(--box-shadow);
    transition: 0.2s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-25px);
    z-index: 100;
    padding: 20px;
    text-align: left;
  }
  header .nav-links-inner.open {
    pointer-events: initial;
    opacity: 1;
    transform: translateY(0px);
  }
  header .nav-links-inner a.active {
    border-bottom: none;
    color: var(--color-accent);
  }
  header #mobile-nav-icon {
    display: inline-block;
    cursor: pointer;
  }
  .posts-loop a.article {
    flex-direction: column-reverse;
  }
  .posts-loop a.article .right {
    padding-left: 0;
  }
  .posts-loop a.article .right img {
    margin-bottom: 25px;
    width: 100%;
  }
}
* {
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  background-color: var(--color-background-body);
  color: var(--color-text-content);
}
main {
  width: 720px;
  max-width: 100%;
  margin: 40px auto auto;
}
.page-data {
  margin-bottom: 40px;
  text-align: center;
}
.page-data .page-title {
  font-weight: 600;
  font-size: 2rem;
}
.page-data .page-description {
  color: var(--color-text-content-secondary);
  margin: 5px 0;
  font-size: 1.2rem;
}
.global-tag {
  text-decoration: none;
  padding: 4px 15px;
  display: inline-block;
  background-color: var(--color-tag-bg);
  color: var(--color-tag-fg);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.global-scaling-link {
  display: inline-block;
  transition: 0.3s transform;
}
.global-scaling-link:hover {
  transform: scale(1.035);
}
.global-post-authors {
  margin-top: 10px;
  font-size: 0.85rem;
}
.global-post-authors img, .global-post-authors .avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  vertical-align: middle;
}
.global-post-authors img:not(:first-child), .global-post-authors .avatar-placeholder:not(:first-child) {
  margin-left: -25px;
}
.global-post-authors .avatar-placeholder {
  display: inline-block;
  background-color: var(--color-background-contrast);
}
.global-post-authors span {
  vertical-align: middle;
}
.global-post-authors .author-names {
  margin-left: 5px;
  font-weight: 600;
}
.global-post-authors .authors {
  margin-bottom: 20px;
}
.global-post-authors .authors .author {
  margin-right: 10px;
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}
.global-post-authors .authors .author .author-name {
  margin-left: 3px;
}
