* {
  margin: 0;
  padding: 0;
}

html,
body {
  overflow: hidden;
}

.background {
  width: 100%;
  height: 100vh;
  /* background-image: radial-gradient(#000 1px, transparent 0),
    radial-gradient(#000 1px, transparent 0);
  background-size: 52px 52px;
  background-position: 0 15px, 26px 40px; */
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: black;
  }

  /* .background {
    background-image: radial-gradient(white 1px, transparent 0),
      radial-gradient(white 1px, transparent 0);
  } */
}

.webgl {
  position: fixed;
  top: 0;
  left: 0;
  outline: none;
}

.container {
  font-family: 'Comic Neue', cursive;
  position: fixed;
  bottom: 5%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  background: linear-gradient(
    90deg,
    rgba(232, 91, 191, 0.4) 0%,
    rgba(128, 238, 189, 0.4) 100%
  );
}

.container .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 0 16px;
}

@media only screen and (max-width: 600px) {
  .container .content {
    gap: 4px 14px;
    font-size: 12px;
  }
}

a {
  font-weight: 600;
  color: #4948e5;
  text-decoration: none;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.25s;
}

a:hover {
  opacity: 1;
}

.sound {
  position: absolute;
  right: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 600px) {
  .sound {
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    right: 0;
    top: -5rem;
  }
}

.sound img {
  height: 1.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s;
}

.sound img:hover {
  opacity: 1;
}

#music-by {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: Arial, "Sans-serif";
  font-size: 12px;
  transition: opacity 0.25s;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  font-family: 'Comic Neue', cursive;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* Dark background */
  color: #f1f1f1;
  z-index: 1000; /* Ensure it appears on top */
  justify-content: center;
  align-items: center;
  padding: 0;
  text-align: center;
  overflow: auto; /* Allow scrolling if content is too long */
}

.modal p{
  margin-top: 15px;
  max-width: 500px;
  text-align: justify;
  padding: 0 25px;
}

.modal.active {
  display: flex; /* Show the panel */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  cursor: pointer;
  color: white;
  border: none;
  background: none;
}

.stars-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center !important;
}

.stars-content p {
  text-align: center !important;
}

.stars-content h1 {
  color: yellow;
}

/* Top left completed quests */
#completionTracker {
  opacity: 0.8;
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Comic Neue', cursive;
  font-size: 16px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 10px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.completed {
  color: #FFD700; /* Gold color */
  transform: scale(1.1);
}
/* ---------- Tábua da Sabedoria (lista + leitor de artigos) ---------- */

.modal--reader {
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tablet {
  width: 100%;
  max-width: 720px;
  margin: 72px auto 96px;
  padding: 0 28px;
  text-align: left;
  color: #ece6da;
  font-size: 17px;
  line-height: 1.7;
}

.tablet__header {
  border-bottom: 1px solid rgba(216, 208, 194, 0.25);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.tablet__eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8d0c2;
  opacity: 0.7;
  margin-bottom: 10px;
}

.tablet__header h1 {
  color: #f5f0e6;
  font-size: 32px;
  line-height: 1.2;
  margin: 6px 0 10px;
}

.tablet__header p {
  margin: 0;
  max-width: none;
  padding: 0;
  text-align: left;
  opacity: 0.8;
}

.tablet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tablet__list li + li {
  border-top: 1px solid rgba(216, 208, 194, 0.15);
}

.tablet__item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 18px 12px;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.tablet__item:hover {
  background-color: rgba(216, 208, 194, 0.08);
}

.tablet__date {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 4px;
}

.tablet__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #f5f0e6;
  margin-bottom: 4px;
}

.tablet__desc {
  display: block;
  opacity: 0.75;
  font-size: 15px;
}

.tablet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tablet__tags span {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216, 208, 194, 0.4);
  opacity: 0.85;
}

.tablet__back {
  background: none;
  border: none;
  color: #d8d0c2;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.tablet__back:hover {
  opacity: 1;
}

.tablet__back--bottom {
  margin: 40px 0 0;
}

.tablet__loading {
  opacity: 0.7;
  text-align: left;
  padding: 0;
  max-width: none;
}

.tablet__original {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 208, 194, 0.25);
  text-align: left;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.tablet a {
  color: #80eebd;
  opacity: 1;
  text-align: left;
}

/* Conteúdo do artigo (HTML gerado do Markdown) */
.tablet__content h2 {
  font-size: 24px;
  color: #f5f0e6;
  margin: 40px 0 12px;
  line-height: 1.3;
}

.tablet__content h3 {
  font-size: 19px;
  color: #f5f0e6;
  margin: 28px 0 8px;
}

.tablet__content p {
  margin: 0 0 18px;
  max-width: none;
  padding: 0;
  text-align: left;
}

.tablet__content ul,
.tablet__content ol {
  margin: 0 0 18px;
  padding-left: 26px;
}

.tablet__content li {
  margin-bottom: 6px;
}

.tablet__content blockquote {
  margin: 0 0 18px;
  padding: 12px 20px;
  border-left: 3px solid #d8d0c2;
  background-color: rgba(216, 208, 194, 0.06);
  border-radius: 0 8px 8px 0;
}

.tablet__content blockquote p:last-child {
  margin-bottom: 0;
}

.tablet__content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0 18px;
  display: block;
}

.tablet__content hr {
  border: none;
  border-top: 1px solid rgba(216, 208, 194, 0.25);
  margin: 32px 0;
}

.tablet__content code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background-color: rgba(216, 208, 194, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
}

.tablet__content pre {
  position: relative;
  margin: 0 0 20px;
  border-radius: 10px;
  overflow-x: auto;
}

.tablet__content pre code {
  display: block;
  padding: 18px 20px;
  background-color: #0d1117;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 10px;
}

.copy-code-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(216, 208, 194, 0.3);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ece6da;
  cursor: pointer;
}

@media only screen and (max-width: 600px) {
  .tablet {
    margin: 64px auto 80px;
    padding: 0 18px;
    font-size: 16px;
  }

  .tablet__header h1 {
    font-size: 26px;
  }

  .tablet__title {
    font-size: 18px;
  }
}

/* ---------- Conteúdo indexável (visível só para leitores de tela e crawlers) ---------- */

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

/* ---------- Touro de Bronze (projetos open source) ---------- */

.oss {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.oss__card {
  padding: 22px 24px;
  border: 1px solid rgba(216, 208, 194, 0.25);
  border-radius: 14px;
  background-color: rgba(216, 208, 194, 0.05);
}

.oss__name {
  color: #f5f0e6;
  font-size: 24px;
  margin: 0 0 4px;
}

.oss__tagline {
  margin: 0 0 10px;
  padding: 0;
  max-width: none;
  text-align: left;
  color: #d8d0c2;
  font-weight: 700;
}

.oss__desc {
  margin: 0 0 14px;
  padding: 0;
  max-width: none;
  text-align: left;
  opacity: 0.8;
  font-size: 15px;
}

.oss__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.oss__links a {
  font-size: 15px;
}

/* .modal p justifica; dentro do painel de leitura o texto é alinhado à esquerda */
.tablet p {
  text-align: left;
  max-width: none;
  padding: 0;
}

pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/
.hljs {
  color: #c9d1d9;
  background: #0d1117
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
  /* prettylights-syntax-keyword */
  color: #ff7b72
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
  /* prettylights-syntax-entity */
  color: #d2a8ff
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
  /* prettylights-syntax-constant */
  color: #79c0ff
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
  /* prettylights-syntax-string */
  color: #a5d6ff
}
.hljs-built_in,
.hljs-symbol {
  /* prettylights-syntax-variable */
  color: #ffa657
}
.hljs-comment,
.hljs-code,
.hljs-formula {
  /* prettylights-syntax-comment */
  color: #8b949e
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
  /* prettylights-syntax-entity-tag */
  color: #7ee787
}
.hljs-subst {
  /* prettylights-syntax-storage-modifier-import */
  color: #c9d1d9
}
.hljs-section {
  /* prettylights-syntax-markup-heading */
  color: #1f6feb;
  font-weight: bold
}
.hljs-bullet {
  /* prettylights-syntax-markup-list */
  color: #f2cc60
}
.hljs-emphasis {
  /* prettylights-syntax-markup-italic */
  color: #c9d1d9;
  font-style: italic
}
.hljs-strong {
  /* prettylights-syntax-markup-bold */
  color: #c9d1d9;
  font-weight: bold
}
.hljs-addition {
  /* prettylights-syntax-markup-inserted */
  color: #aff5b4;
  background-color: #033a16
}
.hljs-deletion {
  /* prettylights-syntax-markup-deleted */
  color: #ffdcd7;
  background-color: #67060c
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
  /* purposely ignored */
  
}

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