body,
ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.biaoti {
    position: fixed;
    width: 100%;
    height: 60px;
    background-color: #2D4E30;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    padding-right: 100px;
    margin: 0;
}
.biaoti {
    height: 60px;
}

img {
    width: 5%;
    margin: -3px;
}

ul.biaoti {
    background-color: #2D4E30;
    z-index: 10;
}

ul.biaoti li {
    display: inline-block;
    padding: 20px;
    white-space: nowrap;
}

ul.biaoti li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

ul.biaoti li:hover {
    background-color: #3f6b42;
}

div.logo {
    margin-top: 20px;
    margin-left: 100px;
    align-items: center;
}

h5 {
    display: inline-block;
    font-size: 22px;
    width: 40%;
    color: #fff;
    padding: 0;
    margin: -5px;
    margin-bottom: 12px;
}
.sidebox {
    width: 600px; /* 你可以根据需要调整这个值 */
    height: 400px; /* 你可以根据需要调整这个值 */
    overflow-y: auto; /* 如果内容超出高度，允许滚动 */
}
div.logo {
    margin-top: 20px;
    margin-left: 100px;
}

.up {
    margin-top: 92px;
}

.up h2 {
    color: #fff;
    font-size: 4vw;
    /* 使用视窗宽度单位 */
    text-align: center;
    line-height: 1.8;
}

.down {
    margin-top: 270px;
    /* 替代绝对定位 */
    text-align: center;
}

.down .iconfont {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
}

.down p {
    color: #fff;
    font-size: 2rem;
}

/* second page */
.page2 {
    display: flex;
    flex-wrap: wrap;
    /* 允许换行 */
    align-items: center;
}

.box1 {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#page2 {
    flex-direction: column;
}

.picture {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;

    margin: 0;
    padding: 0;
}

.picture .hezi {
    background-color: #fff;
    height: 550px;
    border-radius: 20px;
}

.picture .tupian {
    width: 340px;
    height: 255px;
    background-color: #a77d7d;
    margin: 20px;
    margin: 30px auto;
}

.box .dabiaoti {
    color: #000;
    font-size: 22px;
    text-align: center;
    margin: 10px;
    margin-top: 34px;
}

.box .xiaobiaoti {
    color: #000;
    font-size: 18px;
    text-align: center;
    margin: 10px;
}

.wenzi {
    width: 380px;
    height: 235px;
    padding: 20px;
    margin: 0 auto;
}

p .xiaozi {
    font-size: 14px;
}

.side2 {
    margin-top: 30px;
    margin: 30px;
    padding: 20px;
    padding-right: 50px;
    align-items: center;
}

.side2 p {
    color: #05281f;
    font-size: 16px;
    text-align: left;
    align-items: center;
}

.zhengwen {
    max-width: 100%;
    /* 防止过宽 */
    text-align: center;
}

.zhengwen p {
    font-size: 16px;
    /* 更合理的字体大小 */
    line-height: 1.6;
    text-align: left;
    margin-top: 20px;
}

.all {
    margin: auto;
    width: 80%;
}

.all img {
    width: 80%;
    margin: auto;
    align-items: center;
    justify-content: center;
}

.problem {
    max-width: 100%;
    /* 防止过宽 */
}

.problem .side {
    width: 135%;
    color: rgb(14, 45, 33);
    font-size: 18px;
    /* 更合理的字体大小 */
    line-height: 1.6;
    text-align: left;
    margin-top: 20px;
}

#page4 {
    flex-direction: column;
}

.terrestrialecosystems {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    margin: 4px;
    gap: 60px;
    /* 响应式间距 */
    margin-top: 40px;
}

.terrestrialecosystems div {
    background-color: rgb(132, 211, 174);
    /* 增加透明度 */
    border-radius: 70px;
    width: 200px;
    /* 最大宽度限制 */
    height: 500px;
    /* 合理高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #05281f;
}

.banwei {
    background-color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 30px;
    text-align: center;
    align-items: center;
}

.banwei p {
    margin: 0;
    padding: 0;
}

.banwei p a {
    font-size: 12px;
    text-decoration: none;
    color: black;
    margin: auto;
    margin: 0;
    padding: 0;
}

#page5 {
    height: 100px;
    flex-direction: column;
}

.bigbox {
    display: flex;
}


.img2 {
    margin-top: 72px;
}

.slide {
    position: relative;
    margin: auto;
    width: 600px;
    height: 600px;
    text-align: center;
    color: #ddd;
    overflow: hidden;
    height: 600px;
}

.slide ul {
    margin: 0;
    padding: 0;
    width: calc(800px * 5);
    transition: all 2s;
}

.slide li {
    float: left;
    width: 800px;
    height: 600px;
    list-style: none;
    font-size: 30px;
}

.dahezi {
    display: flex;
    justify-content: center;
}

.greenbox {
    width: 14px;
    height: 20px;
    background: #073018;
    margin-top: 37px;
}



.slide input[name="button"] {
    display: none;
}

.slide label[for^="button"] {
    position: absolute;
    top: 550px;
    right: 20px;
    width: 20px;
    height: 20px;
    margin: 0 10px;
    line-height: 20px;
    color: #00ff55;
    background-color: #a6cf95;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
}

.slide label[for="button1"] {
    left: 15%;
}

.slide label[for="button2"] {
    left: 30%;
}

.slide label[for="button3"] {
    left: 45%;
}

.slide label[for="button4"] {
    left: 60%;
}

.slide label[for="button5"] {
    left: 75%;
}

#button1:checked~ul {
    margin-left: 0;
}

#button2:checked~ul {
    margin-left: -800px;
}

#button3:checked~ul {
    margin-left: -1600px;
}

#button4:checked~ul {
    margin-left: -2400px;
}

#button5:checked~ul {
    margin-left: -3200px;
}

#button1:checked~label[for="button1"] {
    background: #2D4E30;
}

#button2:checked~label[for="button2"] {
    background: #2D4E30;
}

#button3:checked~label[for="button3"] {
    background: #2D4E30;
}

#button4:checked~label[for="button4"] {
    background: #2D4E30;
}

#button5:checked~label[for="button5"] {
    background: #2D4E30;
}


.sidebox {
    background-color: #ffffff;
    width: 400px;
    height: 480px;
    margin: auto;
    border-radius: 30px;
}

.shangmian p {
    font-size: 22px;
    color: #1c1c1c;
    text-align: center;
    margin: 32px 10px;
}

.shangmian {
    display: flex;
    justify-content: center;
}

.xiamian p {
    font-size: 14px;
    color: #353535;
    margin: 35px;
    text-align: center;
    line-height: 24px;
}

.title4 {
    display: flex;
    font-size: 14px;
    color: #1c1c1c;
    justify-content: center;
    margin-top: 55px;
}

.title4 p {
    font-size: 22px;
    margin-top: 30px;
}

.xiao p {
    font-size: 14px;
    color: #5d5d5d;
    text-align: center;
    margin: 10px;
}

.box4 {
    display: grid;
    grid-template-columns: 2.3fr 1fr 1fr;
    gap: 40px;
    margin: 20px;
    margin-top: 20px;
}

.red {
    height: 270px;
    /* background-color: #ff9c9c; */
    border-radius: 20px;
}

.red1 {
    grid-row: 1/3;
    grid-column: 1;
    /* background-color: #ff9c9c; */
    border-radius: 20px;
}

.black1 {
    height: 360px;
    width: 590px;
    background-color: #1f1f1f;
    border-radius: 5px 5px 20px 20px;
}

.black {
    height: 185px;
    width: 254px;
    background-color: #1f1f1f;
    border-radius: 5px 5px 20px 20px;
}

.wenzikuang p {
    font-size: 16px;
    color: #404040;
    margin: 10px 20px;
}

.daohangbiao p {
    font-size: 24px;
    color: #252525;
    margin: 10px 20px;
}

.xiaozikuang p {
    font-size: 16px;
    margin: 7px 20px;
    color: #131313;
}

.cityxia p {
    font-size: 14px;
    margin: 5px 20px;
    color: #3a3a3a;
}

.big {
    color: #000000;
    font-size: 22px;
    margin-bottom: 9px;
}

#greenbox3 {
    margin-right: 5px;
}

.nobing {
    color: #3b3b3b;
    font-size: 14px;
}