body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url('https://bkimg.cdn.bcebos.com/pic/ca1349540923dd54564e7297785fa4de9c82d058e28f');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    margin-top: 50px;
    text-align: center; /* 让内部元素居中 */
}

/* 定义背景动画 */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* 新增下载按钮样式 */
.download-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(-45deg, #4CAF50, #2196F3, #e73c7e, #ee7752);
    background-size: 400% 400%;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    transition: all 0.3s ease;
    margin-bottom: 20px;
    animation: gradient 15s ease infinite; /* 应用动画 */
}

.download-btn:hover {
    transform: translateY(-2px); /* 悬停时上移 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* 悬停时阴影加深 */
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    justify-content: center; /* 让 tab 标签居中 */
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab:hover, .tab.active {
    background-color: #ddd;
}

.tab-content {
    /* 设置高度为浏览器窗口高度 */
    height: 70vh; 
    /* 当内容超出高度时显示垂直滚动条 */
    overflow-y: auto; 
    padding: 20px;
}

.tab-pane {
    display: none;
    background-color: transparent; 
    padding: 15px;
    border-radius: 5px;
}

.tab-pane.active {
    display: block;
}

/* 确保 p 标签背景透明，一般 p 标签默认就是透明背景，此代码可省略 */
/* 设置 tab-pane 里 p 标签的样式 */
.tab-pane p {
    /* 颜色，这里使用深灰色，你可换成喜欢的颜色 */
    color: #333; 
    /* 字体，先尝试使用特殊字体，若没有则用通用字体 */
    font-family: 'Comic Sans MS', cursive, sans-serif; 
    /* 字体大小，设为 18px */
    font-size: 22px; 
    /* 行高，让文字间距更舒适 */
    line-height: 1.6; 
    /* 文字阴影，增加立体感 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); 
    text-align: left;
}

/* 给不同的 tab-pane 里的 p 标签设置不同颜色 */
#tab1 p {
    color: #2c3e50; 
}

#tab2 p {
    color: #e74c3c; 
}

#tab3 p {
    color: #27ae60; 
}

/* 鼠标悬停时改变文字颜色 */
.tab-pane p:hover {
    color: #9b59b6; 
    transition: color 0.3s ease; 
}

h1>a {
    margin-left: 10px;
}


/* 图片样式 */
.tab-image {
    display: block; /* 将图片转为块级元素，方便居中 */
    max-width: 100%; /* 图片最大宽度为容器宽度 */
    height: auto; /* 保持图片比例 */
    margin: 0 auto 20px; /* 水平居中，底部留 20px 间距 */
    border-radius: 8px; /* 图片圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 图片阴影 */
}

/* 设置 image-container 的样式 */
.image-container {
    display: flex; /* 使用 flexbox 布局 */
    flex-wrap: wrap; /* 当图片过多时自动换行 */
    gap: 10px; /* 设置图片之间的间距 */
    margin-bottom: 20px; /* 与下方 p 标签保持一定间距 */
}

/* 设置图片样式 */
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 设置 tab-pane 内 p 标签的首行缩进 */
.tab-pane p {
    text-indent: 2em; /* 首行缩进 2 个字符 */
}