body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  margin: 0;
  padding: 0;
  color: #24292e;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

header {
  background-color: #f5f5f5; /* Cinza claro */
  color: #333;
  padding: 1px 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-title {
  font-size: 1.5em;
  margin: 0;
  text-decoration: none;
  color: #333;
}
.site-title:hover{
  color: #333;
  text-decoration: none;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trigger {
  display: flex;
  gap: 15px;
}
.page-link {
  color: #333;
  text-decoration: none;
  font-size: 1em;
  padding: 10px;
  transition: background 0.3s;
}
.page-link:hover {
  text-decoration: none;
  background-color: #d3d3d3; /* Cinza mais escuro */
}

.container {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  font-size: 1.2em;
  text-align: justify;
}
h1, h2, h3, h4, h5, h6 {
  color: #24292e;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
  font-weight: 600;
}
h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  text-align: center;
}
h2 {
  font-size: 1.5em;
  margin-bottom: 0.75em;
  text-align: left;
}
h3 {
  font-size: 1.25em;
  margin-bottom: 1em;
  text-align: left;
}
p {
  margin-bottom: 1em;
}
a {
  text-decoration: none;
  color: #0066CC;
  cursor: pointer;
}
a:hover {
  color: #003e7c;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 1em;
  padding-left: 2em;
}
code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
  background-color: #f6f8fa;
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  border-radius: 3px;
}
pre {
  background-color: #f6f8fa;
  padding: 1em;
  border-radius: 6px;
  overflow-x: auto;
}
pre code {
  background: none;
  padding: 0;
}
blockquote {
  border-left: 4px solid #dfe2e5;
  padding: 0.5em 1em;
  margin: 0.8em 0;
  background-color: #f6f8fa;
  color: #6a737d;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}
table th, table td {
  border: 1px solid #dfe2e5;
  padding: 0.6em 1em;
  text-align: left;
}
table th {
  background-color: #f6f8fa;
  color: #24292e;
}
hr {
  border: 0;
  height: 1px;
  background: #eaecef;
  margin: 2em 0;
}

.project{
  color: #24292e;
  border-bottom: 0px solid #eaecef;
  font-weight: 600;
}
.project h1, h2, h3, h4, h5, h6 {
  color: #24292e;
  border-bottom: 0px solid #eaecef;
  font-weight: 600;
}
.project article{
  background: #F2F2F2;
  padding: 50px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.toc-panel {
  position: fixed;
  top: 0;
  left: -300px; /* Inicialmente escondido à esquerda */
  width: 250px;
  background-color: #fff;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
  transition: left 0.3s ease-out;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.toc-panel[data-open="true"] {
  left: 0;
}
.toc-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toc-list a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}
.toc-list a[data-active="true"] {
  font-weight: bold;
  color: #007bff; /* Cor de destaque para o link ativo */
}
.toc-list a:hover {
  background-color: #f0f0f0; /* Cor de destaque ao passar o mouse */
}
.toc-list a[data-level="1"] {
  font-weight: bolder;
  margin-left: 0;
}
.toc-list a[data-level="2"] {
  font-weight: bolder;
  margin-left: 10px;
}
.toc-list a[data-level="3"] {
  margin-left: 20px;
}
.toc-list a[data-level="4"] {
  margin-left: 30px;
}
.toc-list a[data-level="5"] {
  margin-left: 40px;
}
.toc-list a[data-level="6"] {
  margin-left: 50px;
}
.clickable {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
}
.clickable .icon {
  font-size: 1.2rem; /* Ajustar o tamanho do ícone aqui */
}
@media (max-width: 900px) {
  .toc-panel {
    left: -300px; /* Fechado por padrão em telas pequenas */
  }
  .toc-panel[data-open="true"] {
    left: 0;
  }
  #toc-open-button {
    display: block;
  }
}

footer {
  background-color: #e0e0e0; /* Cinza claro */
  color: #333;
  padding: 1px 0;
  text-align: center;
}
.footer-col-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1;
  padding: 10px;
}
.contact-list,
.social-media-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-media-list li {
  display: inline-block;
  margin-right: 10px;
}
.svg-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 5px;
}
.username {
  vertical-align: middle;
}