@import url("https://fontsapi.zeoseven.com/245/main/result.css");

body {
    font-family: "QiushuiShotai Bright";
    font-weight: normal;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

main {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.work-module {
    background-color: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.work-module h2 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* 根据你的图片调整 */
    margin: 20px auto;
    overflow: hidden;
    /* 隐藏超出容器的图片部分 */
    border: 1px solid #ddd;
    border-radius: 5px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* 平滑过渡效果 */
    width: 100%;
    /* 确保图片宽度正确 */
}

.carousel-slide img {
    width: 100%;
    /* 每张图片占据容器的全部宽度 */
    height: auto;
    /* 保持图片比例 */
    flex-shrink: 0;
    /* 防止图片被压缩 */
    object-fit: cover;
    /* 图片填充方式，可改为 contain */
    max-height: 400px;
    /* 可选：限制轮播图最大高度 */
}

.carousel-container .prev,
.carousel-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: background-color 0.3s ease;
}

.carousel-container .prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.carousel-container .next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.carousel-container .prev:hover,
.carousel-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.download-section {
    margin-top: 20px;
    text-align: center;
}

.download-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-right: 15px;
}

.download-button:hover {
    background-color: #0056b3;
}

.download-count {
    font-size: 0.9rem;
    color: #555;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
}