@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto-400.woff2') format('woff2'),
    url('../fonts/roboto-400.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: auto;
  src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto-700.woff2') format('woff2'),
    url('../fonts/roboto-700.woff') format('woff');
}

html {
  overflow-y: scroll;
}

html,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 2em;
  background-color: #fff;
  color: #333;
}

.green {
  font-size: 18px;
  color: #2bbbad;
  font-weight: 700;
}

.white {
  color: #fff;
}

main {
  margin: 100px auto 0;
  width: var(--content-width, 80%);
  max-width: 100%;
}

.loader {
  margin: 200px auto 0;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader div {
  position: absolute;
  border: 4px solid #2bbbad;
  opacity: 1;
  border-radius: 50%;
  animation: ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader div:nth-child(2) {
  animation-delay: -1s;
}

@keyframes ripple {
  0% {
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

.viewport {
  width: 100%;
  min-height: calc(100vh - 137px);
  padding-bottom: 20px;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
  cursor: pointer;
}

.post {
  margin-bottom: 50px;
  border-bottom: 1px solid #d5d5d5;
}

.post:last-of-type {
  border-bottom: none;
  margin-bottom: none;
}

.error-message {
  text-align: center;
  margin-top: 150px;
}

h3 a {
  text-decoration: none;
  color: #333;
}

h3 a:visited {
  color: #777;
}

blockquote {
  padding: 0 15px;
  margin-left: 30px;
  background: #fcfcfc;
  padding: 5px 8px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-left: 8px solid #d5d5d5;
}

blockquote p {
  padding-left: 10px;
  font-style: italic;
}

code:not(pre code),
button {
  border: 1px solid #d5d5d5;
  padding: 3px 4px;
  border-radius: 4px;
  background-color: #fcfcfc;
}

button {
  margin: 20px 0 50px;
  border: 1px solid #2bbbad;
  background-color: #fff;
  padding: 8px 10px;
  cursor: pointer;
  text-decoration: none;
  color: #2bbbad;
  font-size: 15px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

button a {
  text-decoration: none;
  color: #2bbbad;
}

.all-posts-button {
  margin-bottom: 10px;
}

pre:has(> code[class*='language-']),
pre[class*='language-'] {
  color: #d5d5d5;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  position: relative;
  margin: 0.5em 0;
  overflow: visible;
  padding: 15px;
  background-color: #333;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre-wrap;
  line-height: 1.5;
  tab-size: 4;
  hyphens: none;
}

pre > code[class*='language-'] {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  color: inherit;
  background: none;
  background-color: transparent;
  font-family: inherit;
  font-size: inherit;
  white-space: inherit;
  line-height: inherit;
  tab-size: inherit;
}

footer {
  color: #fff;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  width: 80%;
  min-width: 80%;
  border-top: 1px solid #d5d5d5;
}

footer a {
  color: #333;
  text-decoration: none;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

footer p {
  font-size: 20px;
}

.footer-link {
  color: #333;
}

.footer-link:hover {
  color: #2bbbad;
}

.footer-bottom p {
  text-align: center;
  color: #333;
  margin: 20px 0 0;
}

.footer-bottom p:last-of-type {
  font-size: 14px;
  margin: 10px 0 30px;
}

.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
  color: #5c6370;
  font-style: italic;
}

.token.boolean {
  color: #d19a66;
}

.token.builtin {
  color: #56b6c2;
}

.token.builtin {
  color: #56b6c2;
}

.token.builtin {
  color: #56b6c2;
}

.token.class-name {
  color: #e5c07b;
}

.token.constant {
  color: #d19a66;
}

.token.function {
  color: #61afef;
}

.token.keyword {
  color: #c678dd;
}

.token.null {
  color: #56b6c2;
}

.token.number {
  color: #d19a66;
}

.token.operator {
  color: #56b6c2;
}

.token.property {
  color: #e06c75;
}

.token.regex {
  color: #e06c75;
}

.token.selector {
  color: #61afef;
}

.token.string {
  color: #98c379;
}

.token.tag {
  color: #e06c75;
}

.token.tag .attr-name {
  color: #d19a66;
}

.token.tag .attr-name ~ .attr-value > .punctuation:first-child {
  color: #abb2bf;
}

.token.tag .attr-value {
  color: #98c379;
}

.token.tag .attr-value .punctuation {
  color: #98c379;
}

.token.tag .punctuation {
  color: #abb2bf;
}

.token.type {
  color: #e5c07b;
}

.language-css .token.selector {
  color: #e5c07b;
}

.language-ini .token.constant {
  color: #e06c75;
}

.language-json .token.boolean {
  color: #56b6c2;
}

.language-json .token.operator {
  color: #abb2bf;
}

