:root {
    --main-bg: #f4f6fa;
    --sidebar-bg: #1f2937;
    --accent: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --separator-color: #e5e7eb;
  }
  
  @keyframes slideInSidebar {
    0% {
      width: 150px;
      opacity: 1;
    }
    100% {
      width:60px;
      opacity: 1;
    }
  }
  
  @keyframes fadeOutTitle {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  main.content {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    font-size: 1.05rem;
    color: var(--text-dark, #1f2937);
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  }
  
  /* Headings */
  main.content h1,
  main.content h2,
  main.content h3 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent, #3b82f6);
    margin-top: 2.5rem;
  }
  
  main.content h1 {
    font-size: 2.2rem;
  }
  main.content h2 {
    font-size: 1.6rem;
  }
  main.content h3 {
    font-size: 1.25rem;
  }
  
  /* Paragraphs */
  main.content p {
    margin: 2rem 0;
  }
  
  /* Lists */
  main.content ul,
  main.content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
  }
  main.content li {
    margin: 0.5rem 0;
  }
  
  /* Blockquotes */
  main.content blockquote {
    border-left: 4px solid var(--accent, #3b82f6);
    background: #f9fafb;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #4b5563;
    font-style: italic;
    border-radius: 0.5rem;
  }
  
  /* Inline code */
  main.content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
  }
  
  /* Code blocks */
  main.content pre {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }
  
  /* Images */
.figure {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.figure img {
  max-width: 100%;
  height: auto;
}

.figure figcaption {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

  main.content img {
    max-width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  }
  
  p.emphasized {
    color: #777; /* Soft grey color */
    font-style: italic;
    font-weight: 400; /* Optional: normal weight for a softer look */
  }
  

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-dark);
  }
  
  .layout {
    display: flex;
    min-height: 100vh;
  }

  
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  background-color: #f4f4f5;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  overflow: hidden;
}

thead {
  background-color: #e5e7eb;
  text-align: left;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid #d1d5db;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background-color: #e2e8f0;
  transition: background-color 0.2s ease-in-out;
}

@media (prefers-color-scheme: dark) {
  table {
    background-color: #1e1e1e;
    color: #d1d5db;
  }

  thead {
    background-color: #2c2c2e;
  }

  th,
  td {
    border-bottom: 1px solid #3f3f46;
  }

  tr:hover {
    background-color: #2a2a2c;
  }
}


  
  /* Responsive layout */
  @media (max-width: 768px) {
    .layout {
      flex-direction: column;
    }
  
    .top-container {
      flex-direction: column;
      align-items: center;
    }
  
    .sidebar {
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      z-index: 1;
    }
  
    .sidebar:hover {
      width: 100%;
      align-items: center;
      padding-left: 0.5rem;
    }
  

  
    .sidebar nav ul {
      flex-direction: row;
      gap: 1rem;
      justify-content: center;
      width: auto;
    }
  
    .sidebar nav a {
      opacity: 1;
      transform: none;
    }
  
    .visit-counter {
      opacity: 1;
    }
  }
  
 

  