/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * 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
   ========================================================================== */
/**
 * 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
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 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 */
}

/**
 * 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 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
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 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;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * 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;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 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 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
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] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-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 {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

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

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

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

/* PrismJS 1.19.0
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+docker+elixir+git+go+graphql+java+nginx+objectivec+plsql+jsx+tsx+ruby+rust+scss+scala+sql+swift+typescript+yaml */
/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 */
code[class*=language-],
pre[class*=language-] {
  color: #f8f8f2;
  background: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*=language-] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
  border-radius: 0.3em;
}

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

/* Inline code */
:not(pre) > code[class*=language-] {
  padding: 0.1em;
  border-radius: 0.3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #f8f8f2;
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f92672;
}

.token.boolean,
.token.number {
  color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #a6e22e;
}

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

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #e6db74;
}

.token.keyword {
  color: #66d9ef;
}

.token.regex,
.token.important {
  color: #fd971f;
}

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

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

.token.entity {
  cursor: help;
}

h1 {
  font-size: 32px;
  font-weight: bold;
}

p {
  font-weight: normal;
}

a {
  color: var(--text-color);
}

/** screens >= 600px in width */
@media screen and (min-width: 600px) {
  p {
    font-size: 18px;
  }
  ul li,
  ol li {
    font-size: 18px;
  }
}
/** screens <= 599px in width */
@media screen and (max-width: 599px) {
  p {
    font-size: 16px;
  }
  ul ul li {
    font-size: 16px;
  }
}
input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  border-radius: 3px;
  background-color: white;
  display: block;
  height: 30px;
  padding-left: 5px;
}

.main-header {
  background-color: var(--secondary-color);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), 0 100%);
  text-align: center;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.main-header h2 {
  margin: 0;
}
.main-header p {
  margin-top: 8px;
}
.main-header a {
  margin-left: 5px;
  margin-right: 5px;
}

.main-footer {
  text-align: center;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: 0;
  width: 100%;
}
.main-footer .subscribe-container {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.main-footer .subscribe-container .subscribe-btn {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  text-decoration: underline;
}
.main-footer .subscribe-container .subscribe-btn:hover {
  cursor: pointer;
}
.main-footer .subscribe-container .subscribe-btn:disabled {
  color: #999;
}
.main-footer .subscribe-container input {
  width: 100%;
  margin: auto;
}
.main-footer .subscribe-container input[type=email] {
  margin-top: 8px;
}
.main-footer .subscribe-container input[type=submit] {
  margin-top: 4px;
}
.main-footer .follow-container {
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 8px;
}
.main-footer .follow-container p {
  font-size: 12px;
  margin-bottom: 4px;
}
.main-footer .follow-container p a {
  font-size: 12px;
}
.main-footer span {
  font-size: 13px;
}
.main-footer .subscribe-confirmation-container {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 200px;
  height: 200px;
  padding: 8px;
  background-color: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.main-footer .subscribe-confirmation-container a {
  color: #333;
}
.main-footer .hidden {
  display: none;
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}
.fullscreen-overlay .close-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  z-index: 3;
  font-size: 0;
  background-color: unset;
  border: none;
}
.fullscreen-overlay .close-overlay:hover {
  opacity: 1;
  cursor: pointer;
}
.fullscreen-overlay .close-overlay:before, .fullscreen-overlay .close-overlay:after {
  position: absolute;
  left: 21px;
  content: " ";
  height: 33px;
  width: 2px;
  top: 6px;
  background-color: white;
}
.fullscreen-overlay .close-overlay:before {
  transform: rotate(45deg);
}
.fullscreen-overlay .close-overlay:after {
  transform: rotate(-45deg);
}
.fullscreen-overlay .overlay-image {
  max-width: 90vw;
  max-height: 90vh;
  height: auto;
  width: auto;
  margin: auto;
}
.fullscreen-overlay .overlay-image[src$="-diagram.svg"] {
  background-color: white;
}

.entries-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entries-center-wrapper {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
}
.entries-center-wrapper .entry-item {
  margin-top: 32px;
  width: 100%;
}
.entries-center-wrapper .entry-item h2 {
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 4px;
}
.entries-center-wrapper .entry-item .publish-date {
  display: block;
  font-size: 13px;
  margin: 0 2px;
  opacity: 0.6;
}
.entries-center-wrapper .entry-item .desc {
  margin: 6px 2px;
  font-size: 15px;
}

.entry-container .entry-title {
  text-align: center;
}
.entry-container .entry {
  width: 100%;
  padding: 16px 0;
  text-align: left;
  box-sizing: border-box;
  line-height: 1.6;
  hyphens: auto;
}
.entry-container .entry ul {
  font-weight: normal;
  padding-left: 24px;
}
.entry-container .entry ul li + li {
  margin-top: 4px;
}
.entry-container .entry a {
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
}
.entry-container .entry a:hover {
  background-color: var(--text-color);
  color: var(--secondary-color);
}
.entry-container .entry blockquote {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary-color);
  margin: 0;
  padding: 8px 12px;
  border-radius: 3px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.entry-container .entry blockquote ::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  content: "";
  width: 4px;
  background-color: var(--text-color);
}
.entry-container .entry blockquote p:first-child {
  margin-top: 0;
}
.entry-container .entry blockquote p:last-child {
  margin-bottom: 0;
}
.entry-container .entry blockquote ul {
  margin-bottom: 0;
}
.entry-container .legend-center {
  display: block;
  text-align: center;
  width: 100%;
}
.entry-container img {
  max-width: 100%;
  display: block;
  margin: auto auto;
  border-radius: 2px;
}
.entry-container img[src$="-diagram.svg"] {
  background-color: white;
}

/** Reading Page */
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  position: relative;
  padding: 8px;
}
.spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--progress-bar-color);
  border-bottom-color: var(--progress-bar-color);
  animation: spinner 0.8s ease infinite;
}

.book-list {
  width: 100%;
  padding-bottom: 32px;
}
.book-list .book-item {
  display: flex;
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: var(--secondary-color);
}
.book-list .book-item:hover {
  z-index: 2;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
  will-change: background-color, box-shadow;
}
.book-list .book-item img {
  width: 100%;
  max-width: 70px;
  height: 100%;
}
.book-list .book-item .book-data {
  padding-top: 8px;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}
.book-list .book-item .book-data a {
  font-weight: bold;
}
.book-list .book-item .book-data span {
  margin-top: 8px;
}

:root {
  --primary-color: #0f2438;
  --secondary-color: #20364c;
  --text-color: #cfd2d6;
  --progress-bar-color: #cfd2d6;
  --code-bg: #333;
}

* {
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  font-family: "Fira Sans", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  position: relative;
  height: 100%;
  transition: color 0.5s;
}
html input[type=submit],
body input[type=submit] {
  color: var(--text-color);
}

.main-container {
  min-height: 100vh;
  overflow: hidden;
  display: block;
  position: relative;
}

.flex-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.max-width-wrapper {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 16px 64px 16px;
}
.max-width-wrapper img:hover {
  cursor: pointer;
}

.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#theme-switcher {
  position: fixed;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background-image: url("/assets/images/moon.svg");
  background-position: center;
  background-repeat: no-repeat;
  background: unset;
  transition: all 0.4s;
}
#theme-switcher:hover {
  cursor: pointer;
}

.light-mode {
  --primary-color: #ffffff;
  --secondary-color: #f3efec;
  --text-color: #222222;
  --progress-bar-color: #f0d2bd;
  --code-bg: #c4ab99;
}

.about-me p {
  margin: 8px 0 8px 0;
  width: 100%;
  text-align: center;
}

.me {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.22) 0 0 16px 1px;
}

.work h1 {
  margin-top: 30px;
  text-align: left;
}

.job-item {
  margin-top: 24px;
  /** screens >= 600px in width */
}
@media screen and (min-width: 600px) {
  .job-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .job-item:nth-child(odd) img {
    order: -1;
  }
}
.job-item h2 {
  margin-bottom: 5px;
  text-align: center;
}
.job-item .date {
  font-size: 14px;
  opacity: 0.8;
}
.job-item img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: auto;
  border-radius: 4px;
}
.job-item:last-child {
  margin-bottom: 50px;
}

.not-found {
  text-align: center;
  margin: 32px 8px 32px 8px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.courses {
  padding-bottom: 30px;
}

/** Custom Prism settings */
/** support my custom font and size  */
code.highlighter-rouge,
code.highlighter-rouge.language-plaintext {
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  background-color: var(--code-bg);
  color: white;
  padding: 0 8px;
  border-radius: 3px;
  line-height: 1.3;
}

.particles-canvas {
  opacity: 0.8;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -10;
}

#progress-bar {
  background-color: var(--progress-bar-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  z-index: 99;
}

/*# sourceMappingURL=styles.css.map */