body {
  font-family:  "Noto Serif", "Times New Roman", "Merriweather",  serif;
  font-size: 18px;
  line-height: 1.7;
  background: #fdfdfd;
  color: #222;
  margin: 0;
  padding: 0;
}

/* Làm đẹp bảng trong Markdown */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  font-size: 16px;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #fafafa;
}

table tr:hover {
  background-color: #f0f0f0;
}

 .top-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  padding: 10px;
  font-family: sans-serif;
  border-bottom: 1px solid #ccc;
  z-index: 9999; /* đảm bảo nằm trên các thành phần khác */
}
      .top-bar a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
          margin-right: 15px; /* khoảng cách giữa các link */
      }
        .content {
    margin-top: 60px; /* đẩy nội dung xuống để không bị thanh top-bar che mất */
    background-color: #fff; /* màu nền nội dung */
    max-width: 700px; /* giới hạn chiều rộng tối đa */
    margin: 30px auto;  /* Căn giữa */
    padding: 0 15px;    /* Thêm khoảng trống 2 bên */
    word-wrap: break-word; /* tự động xuống dòng khi dài quá */
    white-space: normal; /* cho phép xuống dòng bình thường */
    padding: 20px; /* tùy chọn thêm padding cho dễ nhìn */
}
/* Markdown style */
.content h1, .content h2, .content h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  margin-top: 1.5em;
}

.content p, .content li {
  font-size: 18px;
}
/* Footnote styles */
.footnotes {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
  color: #555;
}

.footnotes ol {
  margin-left: 1.2em;
  padding-left: 0.5em;
}

.footnotes li {
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.footnotes a {
  text-decoration: none;
  color: #0066cc;
}

.footnotes a:hover {
  text-decoration: underline;
}

