html.dark {
  background: #1f1f1f;
}

body {
  background: #ffffff;
  font-family: 'Fira Mono', monospace;
}

h1 {
  font-size: 2em;
  line-height: 1.4;
}

h3 {
  font-family: 'Fira Mono', monospace;
  line-height: 1.4em;
}

h2 {
  font-family: 'Fira Mono', monospace;
  font-size: 1.5em;
}

main article {
  font-size: 18px;
  margin-bottom: 4em;
}

main article header h3 {
  font-size: 1.22222em;
  margin-top: 1em;
}

main article header h3 em {
  font-style: normal;
  /* color: #ffa8ff; */
}

main article header h1 em {
  font-style: normal;
  /* color: #ffa8ff; */
}

a {
  color: #1f1f1f;
}

.bio a {
  color: inherit;
  box-shadow: none;
}

.bio a:focus,
.bio a:hover {
  color: #a2b34d;
}

.gatsby-highlight {
  margin-bottom: 1.75rem;
}

.gatsby-highlight-code-line {
  display: block;
  background: #b0722c1c;
  margin: 0px -15px;
  padding: 0px 15px;
}

/* :not(pre) > code[class*='language-'],
pre[class*='language-'] {
  box-shadow: 0px 0px 40px 0px #0000008f inset, 0px 3px;
  background: linear-gradient(180deg, #3a2b54 75%, #2a223a);
} */

:not(pre) > code.language-text {
  background: none;
  box-shadow: none;
  text-shadow: none;
  color: #a2b34d;
  padding: 0px;
  font-size: 0.95em;
}

.dependencies {
  border-top: 4px solid #221b2e;
  padding-top: 0.8rem;
  padding: 10px 4px;
  margin-bottom: 1.75rem;
  display: none;
}

.dependencies > p:last-child {
  margin-bottom: 0px;
}

.dependencies .dep {
  display: inline-block;
  background: #f3efff;
  padding: 0px 9px;
  margin-bottom: 7px;
  border-radius: 4px;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.85em;
}

.dependencies .dep a {
  box-shadow: none;
}

hr {
  background: #221b2e;
  height: 4px;
}

article {
  margin-bottom: 5em;
}

article header h1 a.editPostLink {
  color: inherit;
  box-shadow: none;
  position: absolute;
  transform: translateX(calc(-100% - 20px));
  font-size: 1.5em;
  line-height: 0.9;
}

.party-box {
  position: absolute;
  transform: translateX(calc(-100% - 100px));
  font-size: 8em;
  width: 300px;
  height: 300px;
  border: 1px solid #979797;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.party-box .inset-box {
  transform: translate(20px, 20px);
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px groove #979797;
}

.party-box-wrapper:active {
  transform: translate(5px, 5px);
}

.party-box-wrapper:active .inset-box {
  transform: translate(15px, 15px);
}

nav ul li a em {
  font-style: normal;
}

.tags {
  margin-top: -1.75rem;
  margin-bottom: 1.75rem;
}

.tags:not(:empty) {
  margin-top: -1.5rem;
  margin-bottom: 1.75rem;
}

.tags .tag {
  color: #888;
  text-shadow: 0px 1px #ffffff5e;
  padding: 3px 6px;
  border-radius: 4px;
  margin-right: 6px;
  background: #dadada;
  font-size: 0.85em;
  font-weight: 100;
}

.sidenote {
  padding: 2em;
  border-left: 4px solid #a2b34d;
  background: #a2b34d33;
  margin: 1.75rem 0px;
}

.sidenote > *:first-child {
  margin-top: 0px;
}

.sidenote > *:last-child {
  margin-bottom: 0px;
}

.gatsby-resp-image-image {
  box-shadow: none !important;
}

header h3 {
  color: #aaa;
}

.imageWrapper {
  margin: auto;
}

pre[class*='language-'] {
  box-shadow: 0px 0px 1px 0px;
}

pre::-webkit-scrollbar {
  padding: 10px;
  width: 4px;
  height: 4px;
}

pre::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

pre::-webkit-scrollbar-thumb {
  background-color: #a2b34d;
  width: 6px;
  height: 6px;
}

.github-conversation-wrapper .link {
  margin-bottom: 2em;
  display: inline-block;
}

h1 {
  font-family: 'Fira Mono', monospace;
}

/* Mobile */

@media (max-width: 576px) {
  h1 {
    max-width: 330px;
  }

  article header h1 a.editPostLink {
    display: none;
  }
}

div.pageFooter {
  text-align: center;
}

div.pageFooter a {
  box-shadow: none;
}

div.pageFooter svg {
  width: 256px;
}

.github-conversation-wrapper .github-conversation-comment-editor textarea {
  outline: none;
  box-shadow: 0px 0px 0px 2px #a2b34d, 0px 0px 40px #0000008c;
}

.conversation-outer-wrapper {
  position: absolute;
  left: 0px;
  right: 0px;
  margin-bottom: -100px;
  background-color: white;
  color: #ffffff;
  /* transform: rotate(1deg); */
  /* border-top: 15px solid #3a2b54; */
}

.github-conversation-wrapper {
  max-width: 42rem;
  padding: 2.625rem 1.3125rem;
  margin: auto;
  min-height: 200px;
  /* transform: rotate(-1deg); */
}

.conversation-outer-wrapper
  .github-conversation-wrapper
  .github-conversation-comment-editor
  textarea {
  background: rgb(49, 35, 70);
  color: white;
}

.conversation-outer-wrapper
  .github-conversation-wrapper
  .github-conversation-comment
  .comment-body {
  background: #322448;
  padding: 12px;
  border-radius: 6px;
  flex: 1 1;
  border: 1px solid #00000029;
  color: #d0d0d0;
  box-shadow: 0px 0px 30px -10px #00000054 inset;
}

.devider {
  width: 300px;
  margin: auto;
  display: block;
}

.signature {
  margin-bottom: -12px !important;
  display: flex;
}

.signature a {
  box-shadow: none;
  color: inherit;
}

.signature a:hover,
.signature a:focus {
  color: #a2b34d;
}

.github-conversation-wrapper
  .github-conversation-comment
  .comment-body
  blockquote {
  color: hsla(0, 0%, 100%, 0.59);
  border-left-color: hsla(0, 0%, 86%, 0.9);
}

.github-conversation-wrapper .github-conversation-comment .comment-user-name {
  color: white;
}

.conversation-outer-wrapper .github-conversation-wrapper hr {
  display: none;
}
/* Dark Mode */

.darkModeButtonWrapper {
  position: relative;
}

.darkModeButton {
  position: absolute;
  z-index: 100;
  background: none;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: none;
  padding: 0px;
  right: -50px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .darkModeButton {
    right: 0px;
  }
}

.darkModeButton .moon1 {
  position: absolute;
  border-radius: 100%;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #222222;
}

.darkModeButton .moon2 {
  position: absolute;
  border-radius: 100%;
  width: 100%;
  height: 100%;
  top: -7px;
  left: -9px;
  background: white;
}

body.dark .darkModeButton .moon1 {
  background: #ffffff;
}

body.dark .darkModeButton .moon2 {
  background: #1f1f1f;
}

body.dark {
  background: #1f1f1f;
  color: #e0e0e0;
}

body.dark a {
  color: #e0e0e0;
}

/* body.dark :not(pre) > code[class*='language-'],
body.dark pre[class*='language-'] {
  box-shadow: 0 0 10px 6px rgba(19, 19, 19, 0.38), 0px 3px;
  background: linear-gradient(180deg, #3a2b54 75%, #2a223a);
} */

body.dark :not(pre) > code.language-text {
  background: none;
  box-shadow: none;
  background: #ababab3d;
  padding: 3px 6px;
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
  color: #e0e0e0;
}

body.dark .tags .tag {
  color: #cacaca;
  text-shadow: 0 1px rgba(0, 0, 0, 0.37);
  background: #4e4e4e;
}

body.dark blockquote {
  color: hsla(0, 0%, 100%, 0.59);
  border-left-color: hsla(0, 0%, 87%, 0.9);
}

body.dark .sidenote {
  background: rgba(0, 0, 0, 0.21);
}

body.dark .dependencies .dep {
  background: #1d1d1d;
}

body.dark div.pageFooter svg {
  fill: #e0e0e0;
}

/* body.dark
  .github-conversation-wrapper
  .github-conversation-comment
  .comment-body {
  background: #4a4a4a;
} */

/* Github Conversation */

.github-conversation-wrapper .github-conversation-comment-editor {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.github-conversation-wrapper .github-conversation-comment-editor textarea {
  margin-left: calc(50px + 1em);
  width: calc((100% - 50px) - 1em);
  padding: 9px 12px;
  border: none;
  background: rgb(202, 202, 202);
  border-radius: 6px;
  resize: vertical;
  margin-top: 0px;
  margin-bottom: 1em;
  height: 101px;
}

.github-conversation-wrapper
  .github-conversation-comment-editor
  .submit-button {
  background: #a2b34d;
  color: white;
  font-family: inherit;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 7px 25px;
  cursor: pointer;
}

.github-conversation-wrapper .github-conversation-comment {
  margin-bottom: 2em;
  display: flex;
}

.github-conversation-wrapper .github-conversation-comment .comment-and-name {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.github-conversation-wrapper .github-conversation-comment .comment-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  margin-right: 1em;
}

.github-conversation-wrapper .github-conversation-comment .comment-user-name {
  font-weight: bold;
  margin-bottom: 0.3em;
}

.github-conversation-wrapper .github-conversation-comment .comment-body {
  background: #f7f7f7;
  padding: 12px;
  border-radius: 6px;
  flex: 1;
}

.github-conversation-wrapper
  .github-conversation-comment
  .comment-body
  blockquote {
  margin-left: 0px;
}

.github-conversation-wrapper
  .github-conversation-comment
  .comment-body
  *:last-child {
  margin-bottom: 0px;
}

/* Gitment Conversation */

.gitment-container.gitment-root-container {
  max-width: 42rem;
  margin: auto;
}

.utterances {
  max-width: 42rem;
  /* position: absolute;
  left: 0px;
  right: 0px;
  max-width: initial;
  position: absolute;
  left: 0px;
  right: 0px;
  margin-bottom: -100px;
  background: #1c1527;
  border-top: 15px solid #3a2b54;
  box-shadow: 0px 15px 43px #00000094 inset, 0px 0px 0px 1px #ffffff1f; */
}

/*.utterances-frame {
  max-width: 500px;
  position: static;
  left: initial;
  right: initial;
  min-width: initial;
  height: 240px;
  width: 100%;
  margin: auto;
  display: block;
} */

.gt-container {
  max-width: 42rem;
  padding: 1.625rem 1.3125rem;
  margin: auto;
}

.conversation-outer-wrapper
  .gt-container
  .gt-comment-admin
  .gt-comment-content {
  background: #f6f6f6;
  border-radius: 10px;
}

.conversation-outer-wrapper .gt-container .gt-comment-body {
  color: #000000 !important;
  line-height: 1.8em;
}

.conversation-outer-wrapper .markdown-body {
  font-family: inherit !important;
}

.conversation-outer-wrapper .gt-container .gt-link {
  border-bottom: none;
  color: inherit;
}

.conversation-outer-wrapper .gt-container .gt-meta {
  border: none;
  display: flex;
  justify-content: flex-start;
  margin: 0px 0px 0.75em;
  padding: 0px;
  margin-left: 0px;
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  text-rendering: optimizeLegibility;
  font-size: 2.1rem;
  line-height: 1.1;
  color: white;
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-header-comment {
  margin: 0px;
}

.conversation-outer-wrapper .gt-container .gt-user {
  font-size: 1em;
  display: none;
}

.conversation-outer-wrapper .gt-container a {
  color: #a2b34d;
  box-shadow: none;
}
.conversation-outer-wrapper .gt-container a:hover {
  color: #a2b34d;
  box-shadow: none;
}

.gt-header-controls-tip {
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-comment-reply {
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-comment-like {
  right: 0px;
}

.conversation-outer-wrapper .gt-container .gt-ico.gt-ico-reply {
  display: none;
}

.conversation-outer-wrapper .gt-meta {
  color: #e0d3d3;
}

.conversation-outer-wrapper .gt-container .gt-svg svg {
  fill: #888888;
}

.conversation-outer-wrapper .markdown-body .highlight pre,
.conversation-outer-wrapper .markdown-body pre {
  background: #1d1526;
  box-shadow: 0px 10px 30px -14px black inset;
  border: 1px solid #351b3e;
  border-radius: 8px;
}

.conversation-outer-wrapper .gt-container .gt-avatar img {
  border-radius: 100%;
}

.conversation-outer-wrapper .gt-container .gt-comment-text {
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-header-textarea,
.conversation-outer-wrapper .gt-container .gt-header-textarea:hover {
  min-height: 126px;
  line-height: 1.8em;
  color: black;
  font-size: 1.1em;
  padding: 12px 20px;
  border-radius: 0px;
  border: none;
}

.conversation-outer-wrapper .gt-avatar-github {
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-header-textarea:focus {
  background: #f0f0f0;
}

.conversation-outer-wrapper .gt-container .gt-header-controls {
  display: flex;
  justify-content: flex-end;
}

.conversation-outer-wrapper .gt-container .gt-btn-preview {
  background-color: white;
  color: black;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-btn-preview:focus {
  box-shadow: 0px 0px 0px 2px #a2b34d;
}

.conversation-outer-wrapper .gt-container .gt-btn {
  background: #f6f6f6;
  color: #252525;
  border: none;
  box-shadow: 0px 10px 20px -10px #00000073;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin-left: 0.75em !important;
  transition: all 0.5s;
}

.conversation-outer-wrapper .gt-container .gt-btn:focus {
  box-shadow: 0px 10px 20px -10px #000000;
}

.conversation-outer-wrapper .gt-container .gt-btn {
  padding: 0.65em 0.75em;
}

.conversation-outer-wrapper .gt-container .gt-avatar-github {
  width: 50px;
  height: 50px;
}

.conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn.gt-btn-public {
  background-color: #a2b34d;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin-left: 0.75em !important;
}

.conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn.gt-btn-public
  .gt-btn-public:hover {
  background-color: #a2b34d;
}

.conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn.gt-btn-public
  .gt-btn-public:focus {
  box-shadow: 0px 0px 0px 2px #a2b34d;
}

.conversation-outer-wrapper .gt-container a {
  color: #a2b34d;
}

.conversation-outer-wrapper .gt-container .gt-error {
  text-align: center;
  margin: 1.425em 0px;
  padding: 4px;
  border: 3px solid #a2b34d;
  background: #a2b34d;
  color: white;
}

.conversation-outer-wrapper p.gt-comments-null {
  width: 0px;
  overflow: hidden;
  margin: auto;
  font-size: 0px;
  height: 120px;
  margin-top: 50px;
}

.conversation-outer-wrapper p.gt-comments-null:before {
  content: 'Leave a comment and start the conversation 🍃';
  position: absolute;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 26px;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  min-width: 300px;
  color: #000000;
}

@media (max-width: 576px) {
  .conversation-outer-wrapper p.gt-comments-null:before {
    border-radius: 10px;
  }
}

.conversation-outer-wrapper .gt-container .gt-comment-date {
  color: #a9a9a9;
}

/* .conversation-outer-wrapper .gt-container .gt-comment-header {
  background: linear-gradient(transparent, #28122a);
  border-bottom: 1px solid #44193f;
  margin: 0px -16px 0.5em;
  padding: 0px 16px 0.5em;
} */

.conversation-outer-wrapper
  .gt-container
  .gt-comment-admin
  .gt-comment-content {
  display: flex;
  flex-direction: column-reverse;
  margin-left: 0px;
}

.conversation-outer-wrapper .gt-container .gt-avatar {
  margin-right: 1.3em;
}

.conversation-outer-wrapper .gt-container .gt-comment-header {
  margin-top: 0.5em;
  margin-bottom: 0px;
}

.conversation-outer-wrapper .gt-container .gt-counts {
  font-size: 0.5em;
  color: #000000;
  font-weight: normal;
}

.conversation-outer-wrapper .gt-counts:before {
  content: 'Conversation ';
  font-size: 2em;
  color: #717171;
  font-weight: 900;
}

@media (max-width: 576px) {
  .conversation-outer-wrapper .gt-counts:before {
    font-size: 1.5em;
  }
}

.conversation-outer-wrapper .gt-container .gt-header-controls {
  margin-top: 1.15em;
}

.conversation-outer-wrapper .markdown-body h1,
.conversation-outer-wrapper .markdown-body h2 {
  border-bottom-color: #44193f;
}

.conversation-outer-wrapper .gt-container .gt-comment-content:hover {
  box-shadow: none;
  border-radius: 10px;
}

.conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn.gt-btn-login:before {
  content: 'Signup to Post';
}

.conversation-outer-wrapper .gt-container .gt-btn.gt-btn-login .gt-btn-text {
  display: none;
}

.conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn.gt-btn-public:before {
  content: 'Submit';
}

.conversation-outer-wrapper .gt-container .gt-btn.gt-btn-public .gt-btn-text {
  display: none;
}

.conversation-outer-wrapper .gt-container .gt-comment-content {
  display: flex;
  flex-direction: column-reverse;
}

/* Conversation Dark Mode */

body.dark .conversation-outer-wrapper {
  background: #1f1f1f;
}

body.dark .conversation-outer-wrapper .gt-container .gt-header-textarea,
body.dark .conversation-outer-wrapper .gt-container .gt-header-textarea:hover {
  border-radius: 0px;
  background-color: #1f1f1f;
  color: #ffffff;
  box-shadow: none;
  border-left: 2px solid #565656;
}

body.dark .conversation-outer-wrapper .gt-container .gt-header-textarea:focus {
  border-left: 4px solid #565656;
}

body.dark .conversation-outer-wrapper .gt-container .gt-btn {
  background: #4a4a4a;
  color: white;
}

body.dark .conversation-outer-wrapper p.gt-comments-null:before {
  color: #bdbdbd;
}

body.dark .conversation-outer-wrapper .gt-container .gt-counts {
  color: #ffffff;
}

body.dark .conversation-outer-wrapper .gt-container .gt-comment-body {
  color: #e0d3d3 !important;
}

body.dark .conversation-outer-wrapper .gt-container .gt-comment-content {
  background: #383838;
}

/* body.dark .conversation-outer-wrapper .gt-counts:before {
  color: #a2b34d;
} */

body.dark .conversation-outer-wrapper .gt-container .gt-header-textarea,
body.dark .conversation-outer-wrapper .gt-container .gt-header-textarea:hover {
}

@media (max-width: 479px) {
  .conversation-outer-wrapper .gt-container .gt-header-controls .gt-btn {
    width: auto;
  }

  .conversation-outer-wrapper .gt-container .gt-header-controls .gt-btn {
    margin: 0px;
  }
}

/* body.dark .conversation-outer-wrapper .gt-container .gt-svg svg {
  fill: #a2b34d;
} */

body.dark .conversation-outer-wrapper .gt-container .gt-btn {
  background: none;
  box-shadow: none;
  color: #888;
}

body.dark
  .conversation-outer-wrapper
  .gt-container
  .gt-header-textarea:focus
  ~ .gt-header-controls
  .gt-btn-login,
body.dark
  .conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn-login:focus {
  box-shadow: 0px 0px 0px 0px #666666, 0px 10px 20px -10px #00000073;
  background: #4a4a4a;
  color: white;
}

body.dark
  .conversation-outer-wrapper
  .gt-container
  .gt-header-controls
  .gt-btn-login:focus {
  box-shadow: 0px 0px 0px 2px #666666, 0px 10px 20px -10px #00000073;
}
