/* body {
    background-color: #171717;
    color: #f0f0f0;
} */


/* 整个页面背景图片 */
body {
    background: url("../assets/background.jpg") no-repeat center center fixed;
    background-size: cover;          /* 全屏铺满 */
    position: relative;
}

/* 添加半透明黑色覆盖层 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9); /* 半透明黑色，可调节透明度 */
    z-index: -1;  /* 确保在内容下方 */
}




.md-header, .md-footer {
    background-color: #111;
}

/* 导航栏字体 */
.md-header-nav, .md-header-nav a {
    font-family: "SimHei", "Heiti SC", sans-serif; /* 黑体 */
}

/* 为类名为 md-content 的元素下的所有 h1-h6 标题标签设置样式 */
.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4,
.md-content h5,
.md-content h6 {
    /* 设置字体族：优先使用黑体(SimHei)，其次是黑体-简(Heiti SC)，最后用系统无衬线字体兜底 */
    font-family: "Source Han Sans", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; /* 黑体 */
    /* 设置文字颜色为 bisque（陶土色/浅橘黄色） */
    color: bisque;
    /* 添加字体加粗规则 */
    font-weight: bold;
}

/* 正文 */
.md-content {
    font-family: "Source Han Sans", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; /* 宋体 */
}

.md-content .md-typeset p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    letter-spacing: 0.05em !important;
    text-align: justify;
    /* 关键2：针对中文优化，按字符分配间距（兼容现代浏览器） */
    text-justify: inter-character;
    /* 关键3：最后一行也左对齐（避免最后一行只有几个字时过度拉伸） */
    text-align-last: left;
}

/* 引用 blockquote */
.md-content blockquote {
    font-family: "KaiTi", "STKaiti", serif; /* 楷体 */
}