body {
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
}

.headcon {
    position: sticky;
    top: 0;
    width: 100%;
    height: 58px;
    background-color: white;
    z-index: 9;
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 80%;
    height: 58px;
    background-color: lightcyan;

}

.head a {
    display: block;
    text-decoration: none;
}

.logo {
    padding: 2px 8px;
    font-size: 28px;
    font-family: '隶书';

    font-weight: bold;
    color: white;
    background-color: blue;
    border-radius: 8px;
}

.downloadItemCon {
    display: flex;
    justify-content: end;
}

.downloadItemCon a {
    margin-left: 10px;
    color: black;
    text-align: center;
    padding: 6px;
    line-height: 18px;
    height: 18px;
    border-radius: 6px;
    text-decoration: none;
}

.downloadItemCon :nth-child(2) {
    background-color: lightgreen;
    font-weight: bold;
    color: black;
}


.itemBar {
    display: flex;
    justify-content: start;
    margin: 6px auto;
    position: sticky;
    top: 0;
    background-color: lightcyan;
    width: 1068px;
}

.itemBar a {
    display: block;
    margin-right: 6px;
    text-align: center;
    padding: 6px;
    color: black;
    line-height: 18px;
    height: 18px;
    border-radius: 6px;
    text-decoration: none;
}

.itemBar :nth-child(2) {
    background-color: lightgreen;
    font-weight: bold;
}

/* 轮播图容器 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.slideCon {
    display: flex;
    flex-direction: row;
 
    transition: transform 1s ease;
    overflow: hidden;
    box-sizing: border-box;
}

/* 轮播图图片 */
.carousel img {
    height: auto;
    width: 100vw;
    object-fit: cover;

}

.slideDotCon {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.slideDot {
    margin-right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}



/* 下载区域 */

.description {
    text-align: center;
    margin: 18px auto;
}

.showImg {
    display: block;
    margin: 18px auto;
    width: 60%;

}

pre {
    margin: 6px auto;
    padding: 10px;
    width: 60%;
    border-radius: 8px;
    line-height: 1.5;
    background-color: #f0f0f0;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
}

code {
    background-color: yellow;
}

.downloadBtn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 38px;
    width: 188px;
    height: 38px;
    background-color: green;
    color: white;
    border-radius: 10px;
    margin: 18px auto;
}




/* 左右切换按钮 */
#previousBtn,
#nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    /* padding: 6px; */
    cursor: pointer;
    font-size: 12px;
    border-radius: 8px;
}

#previousBtn {
    left: 6px;
}

#previousBtn img {
    width: 28px;
    height: 28px;
}

#nextBtn {
    right: 6px;
}

#nextBtn img {
    width: 28px;
    height: 28px;
}

.swiperSettings {
    display: block;
    margin: 18px auto;
    width: 60%;
}

@media screen and (max-width:388px) {
    .logo {
        font-size: 18px;
    }

    .headcon {
        font-size: 0.8rem;
    }

    .head {
        width: 90%;
    }

    .description {
        width: 90%;
    }

    .showImg {
        width: 96%;
    }

    pre {
        width: 96%;
    }
}