/* Third Party */
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  text-size-adjust: 100%; /* 3 */
  text-size-adjust: 100%; /* 3 */
}

/* Sections
     ========================================================================== */
/**
   * Remove the margin in all browsers (opinionated).
   */
body {
  margin: 0;
}

/**
   * Add the correct display in IE 9-.
   */
article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */
/**
   * Add the correct display in IE 9-.
   * 1. Add the correct display in IE.
   */
figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
   * Add the correct margin in IE 8.
   */
figure {
  margin: 1em 40px;
}

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */
/**
   * 1. Remove the gray background on active links in IE 10.
   * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
   */
a {
  background-color: transparent; /* 1 */
  text-decoration-skip: objects; /* 2 */
}

/**
   * Remove the outline on focused links when they are also active or hovered
   * in all browsers (opinionated).
   */
a:active,
a:hover {
  outline-width: 0;
}

/**
   * 1. Remove the bottom border in Firefox 39-.
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
   * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
   */
b,
strong {
  font-weight: inherit;
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font style in Android 4.3-.
   */
dfn {
  font-style: italic;
}

/**
   * Add the correct background and color in IE 9-.
   */
mark {
  background-color: #ff0;
  color: #000;
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Add the correct display in IE 9-.
   */
audio,
video {
  display: inline-block;
}

/**
   * Add the correct display in iOS 4-7.
   */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
   * Remove the border on images inside links in IE 10-.
   */
img {
  border-style: none;
}

/**
   * Hide the overflow in IE.
   */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
     ========================================================================== */
/**
   * 1. Change the font styles in all browsers (opinionated).
   * 2. Remove the margin in Firefox and Safari.
   */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
   *    controls in Android 4.
   * 2. Correct the inability to style clickable types in iOS and Safari.
   */
button,
html [type=button],
[type=reset],
[type=submit] {
  appearance: button; /* 2 */
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Change the border, margin, and padding in all browsers (opinionated).
   */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * 1. Add the correct display in IE 9-.
   * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
   * Remove the default vertical scrollbar in IE.
   */
textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10-.
   * 2. Remove the padding in IE 10-.
   */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type=search] {
  appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
   */
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */
/*
   * Add the correct display in IE 9-.
   * 1. Add the correct display in Edge, IE, and Firefox.
   */
details,
menu {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */
summary {
  display: list-item;
}

/* Scripting
     ========================================================================== */
/**
   * Add the correct display in IE 9-.
   */
canvas {
  display: inline-block;
}

/**
   * Add the correct display in IE.
   */
template {
  display: none;
}

/* Hidden
     ========================================================================== */
/**
   * Add the correct display in IE 10-.
   */
[hidden] {
  display: none;
}

/**
* xonokai theme for JavaScript, CSS and HTML
* based on: https://github.com/MoOx/sass-prism-theme-base by Maxime Thirouin ~ MoOx --> http://moox.fr/ , which is Loosely based on Monokai textmate theme by http://www.monokai.nl/
* license: MIT; http://moox.mit-license.org/
*/
code[class*=language-],
pre[class*=language-] {
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: normal;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 16px;
  color: #76d9e6;
  text-shadow: none;
}

pre > code[class*=language-] {
  font-size: 1em;
}

pre[class*=language-],
:not(pre) > code[class*=language-] {
  background: #2a2a2a;
}

pre[class*=language-] {
  padding: 15px;
  border-radius: var(--border-radius);
  border: 1px solid #e1e1e8;
  overflow: auto;
  position: relative;
}

pre[class*=language-] code {
  white-space: pre;
  display: block;
}

:not(pre) > code[class*=language-] {
  padding: 0.15em 0.2em 0.05em;
  border-radius: 0.3em;
  border: 0.13em solid #7a6652;
  box-shadow: 1px 1px 0.3em -0.1em #000 inset;
}

.token.namespace {
  opacity: 0.7;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6f705e;
}

.token.operator,
.token.boolean,
.token.number {
  color: #a77afe;
}

.token.attr-name,
.token.string {
  color: #e6d06c;
}

.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #e6d06c;
}

.token.selector,
.token.inserted {
  color: #a6e22d;
}

.token.atrule,
.token.attr-value,
.token.keyword,
.token.important,
.token.deleted {
  color: #ef3b7d;
}

.token.regex,
.token.statement {
  color: #76d9e6;
}

.token.placeholder,
.token.variable {
  color: #fff;
}

.token.important,
.token.statement,
.token.bold {
  font-weight: bold;
}

.token.punctuation {
  color: #bebec5;
}

.token.entity {
  cursor: help;
}

.token.italic {
  font-style: italic;
}

code.language-markup {
  color: #f9f9f9;
}

code.language-markup .token.tag {
  color: #ef3b7d;
}

code.language-markup .token.attr-name {
  color: #a6e22d;
}

code.language-markup .token.attr-value {
  color: #e6d06c;
}

code.language-markup .token.style,
code.language-markup .token.script {
  color: #76d9e6;
}

code.language-markup .token.script .token.keyword {
  color: #76d9e6;
}

/* Line highlight plugin */
.line-highlight.line-highlight {
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
}

.line-highlight.line-highlight:before,
.line-highlight.line-highlight[data-end]:after {
  padding: 0.2em 0.5em;
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
  height: 1em;
  line-height: 1em;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Global */
:root {
  /* Brand Colors */
  --color-primary: #222;
  --color-secondary: #7290fd;
  /* Background Colors */
  --color-bg: #fff;
  --color-bg-secondary: #f7f7f7;
  --color-bg-accent: #7290fd;
  --color-bg-hover: #f3f4f6cc;
  /* Text and Border Colors */
  --color-link: #23326a;
  --color-text: #222;
  --color-text-alt: #fff;
  --color-text-gray: #6b7280;
  --color-link-border: var(--color-link);
  --color-border: rgba(0, 0, 0, .1);
  --color-border-solid: var(--color-text-gray);
  /* Status Colors */
  --color-danger: #e03e3e;
  /* Typography */
  --font-family-base: InterVariable, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --font-family-heading: var(--font-family-base);
  /* Sizes */
  --site-width: 850px;
  --header-height: 66px;
  --header-height-lg: 76px;
  /* Z-index */
  --z-header: 10;
  /* Other */
  --border-radius: 12px;
  --border-radius-sm: 5px;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
  --color-secondary-dark: #23326a;
  --color-link-dark: #F5D98C;
  --color-bg-dark: #000;
  --color-bg-wrapper-bg-dark: rgb(24 24 27);
  --color-bg-secondary-dark: rgb(42 42 43);
  --color-bg-accent-dark: var(--color-secondary-dark);
  --color-bg-highlight-dark: #F5D98C;
  --color-title-dark: rgb(244 244 245);
  --color-text-dark: rgb(161 161 170);
  --color-bg-btn-dark: var(--color-bg-highlight-dark);
  --color-text-btn-dark: var(--color-bg-accent-dark);
  --color-link-border-dark: #D59C00;
  --color-border-dark: rgb(39, 39, 42);
}

/* Modified version of Sakura.css v1.3.1
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
/* Body */
html {
  scroll-padding-top: 100px;
  font-size: 62.5%;
  font-family: var(--font-family-base);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.618;
  color: var(--color-text);
  background-color: var(--color-bg);
}
:root[data-theme=dark] body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-dark);
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  border-width: 0;
  white-space: nowrap;
}

.wrapper-bg-wrapper {
  display: none;
}
:root[data-theme=dark] .wrapper-bg-wrapper {
  display: flex;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: -1;
  justify-content: center;
}
:root[data-theme=dark] .wrapper-bg-wrapper .wrapper-bg {
  width: calc(var(--site-width) + 100px);
  background-color: var(--color-bg-wrapper-bg-dark);
  border-right: 1px solid var(--color-bg-secondary-dark);
  border-left: 1px solid var(--color-bg-secondary-dark);
}

main {
  padding: var(--header-height) 13px 13px;
}
@media (min-width: 1024px) {
  main {
    padding-top: var(--header-height-lg);
  }
}

footer {
  margin-top: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-family: var(--font-family-heading);
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
}
h1:focus .header-anchor, h1:hover .header-anchor,
h2:focus .header-anchor,
h2:hover .header-anchor,
h3:focus .header-anchor,
h3:hover .header-anchor,
h4:focus .header-anchor,
h4:hover .header-anchor,
h5:focus .header-anchor,
h5:hover .header-anchor,
h6:focus .header-anchor,
h6:hover .header-anchor {
  border-bottom: none;
  opacity: 1;
}
:root[data-theme=dark] h1,
:root[data-theme=dark] h2,
:root[data-theme=dark] h3,
:root[data-theme=dark] h4,
:root[data-theme=dark] h5,
:root[data-theme=dark] h6 {
  color: var(--color-title-dark);
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

p {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

small,
sub,
sup {
  font-size: 75%;
}

hr {
  border: none;
  border-bottom: 2px solid var(--color-border);
}
:root[data-theme=dark] hr {
  border-color: var(--color-border-dark);
}

a {
  text-decoration: none;
  color: var(--color-link);
}
:root[data-theme=dark] a {
  color: var(--color-link-dark);
}
a:hover {
  color: var(--color-text-link);
  border-bottom: 2px solid var(--color-link-border);
}
:root[data-theme=dark] a:hover {
  color: var(--color-link-dark);
  border-color: var(--color-link-border-dark);
}

ul {
  padding-left: 1.4em;
  margin-top: 0;
  margin-bottom: 2.5rem;
}

li {
  margin-bottom: 0.4em;
}

blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid var(--color-primary);
  margin-bottom: 2.5rem;
  background-color: var(--color-bg-secondary);
}

blockquote h1,
blockquote h2,
blockquote h3,
blockquote h4,
blockquote h5,
blockquote h6 {
  margin: 0.4em 0;
}

blockquote p {
  margin-bottom: 0;
}

img,
video {
  height: auto;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 2.5rem;
}

/* Pre and Code */
pre {
  background-color: var(--color-bg-secondary);
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0;
  margin-bottom: 2.5rem;
}
:root[data-theme=dark] pre {
  background-color: var(--color-bg-secondary-dark);
}

code {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: var(--color-bg-secondary);
  white-space: pre-wrap;
}
:root[data-theme=dark] code {
  background-color: var(--color-bg-secondary-dark);
}

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
}

/* Tables */
table {
  text-align: justify;
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 0.5em;
  border-bottom: 1px solid var(--color-bg-secondary);
}

/* Buttons, forms and input */
input,
textarea {
  border: 1px solid var(--color-text);
}

input:focus,
textarea:focus {
  border: 1px solid var(--color-primary);
}

textarea {
  width: 100%;
  max-width: 100%;
  min-height: 35px;
}

.btn,
button,
input[type=submit],
input[type=reset],
input[type=button] {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-radius: 1px;
  cursor: pointer;
  box-sizing: border-box;
  font-weight: bold;
}
:root[data-theme=dark] .btn,
:root[data-theme=dark] button,
:root[data-theme=dark] input[type=submit],
:root[data-theme=dark] input[type=reset],
:root[data-theme=dark] input[type=button] {
  color: var(--color-text-btn-dark);
  background-color: var(--color-bg-btn-dark);
}
:root[data-theme=dark] .btn:hover,
:root[data-theme=dark] button:hover,
:root[data-theme=dark] input[type=submit]:hover,
:root[data-theme=dark] input[type=reset]:hover,
:root[data-theme=dark] input[type=button]:hover {
  color: var(--color-title-dark);
  background-color: var(--color-link-border-dark);
}

.btn[disabled],
button[disabled],
input[type=submit][disabled],
input[type=reset][disabled],
input[type=button][disabled] {
  cursor: default;
  opacity: 0.5;
}

.btn:focus:enabled,
.btn:hover:enabled,
button:focus:enabled,
button:hover:enabled,
input[type=submit]:focus:enabled,
input[type=submit]:hover:enabled,
input[type=reset]:focus:enabled,
input[type=reset]:hover:enabled,
input[type=button]:focus:enabled,
input[type=button]:hover:enabled {
  outline: 0;
}

textarea,
select,
input {
  color: var(--color-text);
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-secondary);
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  font-family: var(--font-family-base);
}
textarea:focus,
select:focus,
input:focus {
  border: 1px solid var(--color-primary);
  outline: 0;
}
:root[data-theme=dark] textarea,
:root[data-theme=dark] select,
:root[data-theme=dark] input {
  background-color: var(--color-bg-secondary-dark);
  border: 1px solid var(--color-bg-secondary-dark);
  color: var(--color-text-dark);
}

input[type=checkbox]:focus {
  outline: 1px dotted var(--color-primary);
}

label,
legend,
fieldset {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
:root[data-theme=dark] label,
:root[data-theme=dark] legend,
:root[data-theme=dark] fieldset {
  color: var(--color-title-dark);
}

.page-container {
  max-width: var(--site-width);
  margin-right: auto;
  margin-left: auto;
  padding: 1rem;
}
.page-container .post-img {
  display: flex;
  width: 100%;
  max-width: 700px;
  margin: 4rem auto;
}

.shadow {
  box-shadow: var(--shadow);
}

.gradient-text {
  background: linear-gradient(130deg, var(--color-bg-accent), #F5D98C 40.07%, #2552E6 66.05%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-secondary);
  color: var(--color-text);
  font-size: 14px;
  white-space: nowrap;
}
.btn:hover, .btn:focus {
  border: none;
  color: var(--color-secondary-dark);
  background-color: var(--color-link-dark);
}

.btn--sm {
  padding: 6px 8px;
  font-weight: normal;
}

.btn--outline {
  border: 1px solid var(--color-border-solid);
  background-color: var(--color-bg);
  color: var(--color-text);
}
:root[data-theme=dark] .btn--outline {
  border-color: var(--color-bg-secondary-dark);
  background-color: var(--color-bg-secondary-dark);
  color: var(--color-text-alt);
}
.btn--outline:hover, .btn--outline:focus {
  border: 1px solid var(--color-secondary-dark);
  filter: none;
  background-color: var(--color-bg);
  color: var(--color-secondary-dark);
}
:root[data-theme=dark] .btn--outline:hover, :root[data-theme=dark] .btn--outline:focus {
  border: 1px solid var(--color-bg-secondary-dark);
  background-color: var(--color-bg-wrapper-bg-dark);
  color: var(--color-title-dark);
}

.btn--danger {
  background-color: var(--color-danger);
  color: var(--color-text-alt);
}
:root[data-theme=dark] .btn--danger {
  background-color: var(--color-danger);
  color: var(--color-text-alt);
}

.btn--danger:hover,
.btn--danger:focus {
  border: none;
  background-color: var(--color-danger);
  color: var(--color-text-alt);
  filter: brightness(90%);
}
:root[data-theme=dark] .btn--danger:hover,
:root[data-theme=dark] .btn--danger:focus {
  color: var(--color-text-alt);
}

.header-anchor {
  float: left;
  font-size: 0.85em;
  padding-right: 0.23em;
  margin-top: 0.125em;
}
@media (min-width: 1024px) {
  .header-anchor {
    margin-left: -0.87em;
    opacity: 0;
  }
}

/* Layout */
.home-page {
  max-width: var(--site-width);
  margin: 0 auto 60px;
  padding: 0 20px 20px;
}
@media (min-width: 1024px) {
  .home-page {
    padding: 20px 40px;
  }
}

.home-page__bg-square {
  display: none;
}
@media (min-width: 1024px) {
  .home-page__bg-square {
    display: block;
    position: absolute;
    left: auto;
    top: 105px;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    max-height: 60%;
    max-width: 35%;
    min-width: 300px;
    border-radius: var(--border-radius);
    background-color: var(--color-bg-accent);
    z-index: -1;
  }
  :root[data-theme=dark] .home-page__bg-square {
    background-color: var(--color-bg-accent-dark);
  }
}

.hero {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-rows: auto auto;
  column-gap: 70px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 3fr 2fr;
    row-gap: 20px;
    margin: 50px auto;
  }
}

.hero__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__image {
  max-width: 300px;
  border-radius: var(--border-radius);
  transition: filter 0.4s ease-out;
}
@media (min-width: 1024px) {
  .hero__image {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    margin-top: 0;
    font-size: 3em;
  }
}

.hero__body {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2em;
}
.hero__body > *:first-child {
  margin-top: 0;
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
}
:root[data-theme=dark] .list-header {
  border-top: 1px solid var(--color-border-dark);
}

.list-header__title {
  margin: 0;
}

/* Article card */
.article-card {
  margin-top: 20px;
  padding: 4px 6px;
  border-radius: var(--border-radius);
}
.article-card:hover {
  color: var(--color-text);
  background-color: var(--color-bg-hover);
}
:root[data-theme=dark] .article-card:hover {
  background-color: var(--color-bg-secondary-dark);
}
.article-card--tags {
  border-bottom: 2px solid var(--color-border);
  border-radius: 0;
}
:root[data-theme=dark] .article-card--tags {
  border-bottom: 2px solid var(--color-border-dark);
}
.article-card--tags:last-child {
  border-bottom: none;
}
.article-card--tags:hover {
  background-color: transparent;
}
:root[data-theme=dark] .article-card--tags:hover {
  background-color: transparent;
}

.article-card__link {
  color: var(--color-text);
}
.article-card__link:hover {
  color: var(--color-text);
}
.article-card--tags .article-card__link:hover {
  color: var(--color-secondary);
}

.article-card__title {
  margin: 5px 0;
}

.article-card__summary {
  margin-bottom: 0;
  color: var(--color-text-gray);
}
:root[data-theme=dark] .article-card__summary {
  color: var(--color-text-dark);
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
}

.tag-list--no-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 0 30px;
  border-bottom: 2px solid var(--color-border);
}
@media (min-width: 1024px) {
  .tag-list--no-wrap {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

.tag-list__title {
  width: 100%;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 20px;
  line-height: 1.4em;
}
@media (min-width: 1024px) {
  .tag-list__title {
    margin-bottom: 0;
  }
}

.tag {
  margin: 10px 10px 0 0;
  padding: 6px 8px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-sm);
  color: var(--color-secondary);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}
.tag:hover {
  border: none;
}
.tag:first-child {
  margin-left: 0;
}
:root[data-theme=dark] .tag {
  background-color: var(--color-bg-secondary-dark);
  color: var(--color-link-dark);
}

/* Pagination */
.pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  list-style: none;
  gap: 25px;
}

.pagination__link {
  color: var(--color-text);
}
.pagination__link[aria-current] {
  color: var(--color-secondary);
}

.contact-form__submit {
  display: block;
}

.project-header {
  display: flex;
  align-items: center;
}
.project-header__titles {
  flex-grow: 1;
}
.project-header__links {
  display: flex;
  flex-flow: column;
}
.project-header__links a {
  margin-bottom: 0.5em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin: 40px 0;
}
@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  display: block;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 25px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-bg);
  box-shadow: var(--shadow);
}
:root[data-theme=dark] .project-card {
  background-color: var(--color-bg-secondary-dark);
}
.project-card h4 {
  margin-top: 1.5rem;
}

.project-card__title {
  color: var(--color-text);
}
:root[data-theme=dark] .project-card__title {
  color: var(--color-title-dark);
}
:root[data-theme=dark] .project-card__title:hover {
  color: var(--color-link-dark);
  border-color: var(--color-link-dark);
}

.project-card__tag {
  background-color: var(--color-secondary);
  color: var(--color-text);
}
:root[data-theme=dark] .project-card__tag {
  background-color: var(--color-bg-accent-dark);
  color: var(--color-text-alt);
}
.project-card__tag:hover {
  background-color: var(--color-bg-accent-dark);
  color: var(--color-text-alt);
}
:root[data-theme=dark] .project-card__tag:hover {
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-text);
}

.project-card__emoji {
  margin-right: 8px;
}

.profile-links {
  display: flex;
}
.profile-links a {
  width: 3rem;
  margin-right: 1.2rem;
}
.profile-links a:hover {
  text-decoration: none;
  border: 0;
}
.profile-links img {
  margin: 0;
}
.profile-links .sr-only:hover {
  text-decoration: none;
  border: 0;
}
:root[data-theme=dark] .profile-links img {
  filter: invert(100%);
}

/* Components */
.site-header {
  position: fixed;
  width: 100%;
  border-top: 3px solid var(--color-secondary);
  z-index: var(--z-header);
}
:root[data-theme=dark] .site-header {
  border-color: var(--color-bg-accent-dark);
}

.site-header__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 3px 12px 0;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-bg);
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .site-header__container {
    max-width: var(--site-width);
    margin: 3px auto 0;
  }
}
:root[data-theme=dark] .site-header__container {
  background-color: var(--color-bg-secondary-dark);
}

.site-header__logo-container {
  margin: 0;
  font-weight: 700;
}

.site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 30px;
  padding: 6px 8px;
  border-radius: var(--border-radius-sm);
  color: var(--color-text);
}
.site-header__logo img {
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .site-header__logo {
    width: 80px;
    height: 40px;
  }
}
.site-header__logo:hover {
  border-bottom: none;
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-secondary);
}
:root[data-theme=dark] .site-header__logo:hover {
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-title-dark);
}
:root[data-theme=dark] .site-header__logo {
  background-color: var(--color-bg-wrapper-bg-dark);
  color: var(--color-title-dark);
}

.site-header__nav {
  display: none;
  width: 100%;
  margin-top: 15px;
}
@media (min-width: 1024px) {
  .site-header__nav {
    display: block;
    width: auto;
    margin-top: 0;
  }
}

.site-header__items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__item {
  margin: 0 6px;
  font-weight: 500;
  font-size: 14px;
}
@media (min-width: 1024px) {
  .site-header__item {
    margin-right: 15px;
    font-size: 15px;
  }
}

.site-header__link {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--border-radius-sm);
  color: var(--color-text);
}
.site-header__link:hover {
  border-bottom: none;
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-bg-accent-dark);
}
:root[data-theme=dark] .site-header__link:hover {
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-bg-accent-dark);
}
.site-header__link[aria-current] {
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-bg-accent-dark);
}
:root[data-theme=dark] .site-header__link[aria-current] {
  background-color: var(--color-bg-highlight-dark);
  color: var(--color-bg-accent-dark);
}
:root[data-theme=dark] .site-header__link {
  color: var(--color-title-dark);
}
.site-header__link--theme-switch {
  border: none;
  background: none;
}
:root[data-theme=dark] .site-header__link--theme-switch {
  background: none;
}

.site-header__mobile-nav {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}
.site-header__mobile-nav:hover {
  opacity: 0.8;
}
.site-header__mobile-nav svg {
  width: 20px;
  height: auto;
}
@media (min-width: 1024px) {
  .site-header__mobile-nav {
    display: none;
  }
}
:root[data-theme=dark] .site-header__mobile-nav {
  color: var(--color-title-dark);
  background-color: var(--color-bg-secondary-dark);
}

.site-header__mobile-nav-label {
  margin-right: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 1024px) {
  .site-footer {
    padding: 15px 30px;
  }
}

.drawer {
  display: none;
}

.drawer__overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: opacity;
  background-color: #000;
  user-select: none;
}

.drawer__header {
  padding: 2.5rem;
  padding-right: 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
:root[data-theme=dark] .drawer__header {
  border-bottom: 1px solid var(--color-border-dark);
}

.drawer__close {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  color: var(--color-text);
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
:root[data-theme=dark] .drawer__close {
  color: var(--color-text-dark);
  background-color: transparent;
}

.drawer__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  max-width: 340px;
  z-index: 9999;
  overflow: auto;
  transition: transform 0.3s;
  will-change: transform;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transform: translate3d(103%, 0, 0); /* extra 3% because of box-shadow */
  box-shadow: 0 2px 6px #777;
}
:root[data-theme=dark] .drawer__wrapper {
  background-color: var(--color-bg-wrapper-bg-dark);
  box-shadow: none;
}

.drawer__content {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  flex-grow: 1;
}

.drawer--left .drawer__wrapper {
  left: 0;
  right: auto;
  transform: translate3d(-100%, 0, 0);
}

.drawer.is-active {
  display: block;
}

.drawer.is-visible .drawer__wrapper {
  transform: translate3d(0, 0, 0);
}

.drawer.is-visible .drawer__overlay {
  opacity: 0.5;
}

.drawer__nav {
  padding-left: 0;
  list-style: none;
}

.drawer__nav-item {
  margin: 0;
  padding: 0;
  border-bottom: 2px solid var(--color-border);
  font-size: 1.75em;
  font-weight: 700;
}
.drawer__nav-item:hover {
  border-color: var(--color-secondary);
}
:root[data-theme=dark] .drawer__nav-item {
  border-bottom: 1px solid var(--color-border-dark);
}
:root[data-theme=dark] .drawer__nav-item:hover {
  border-color: var(--color-link-dark);
}
.drawer__nav-item a {
  display: inline-block;
  padding: 2rem 3rem;
  width: 100%;
}
.drawer__nav-item a:hover {
  border: none;
}
