*{
    margin: 0;
    padding:0;
}
body{
    background-color: #f6f9fa;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
    overflow-x: hidden; /* 彻底禁止横向滚动条 */
    box-sizing: border-box;
}
a:link,a:visited {
    text-decoration: none;
    color: #212121;
}


.body-all {
    width: 900px;;

    /* 如果内部子元素需要居中，可以保留 flex，但通常最外层不需要 align-items: center */
    overflow-y: auto;

    display: flex;

    margin: 0 auto; /* 核心：左右外边距自动，实现块级居中 */

    flex-direction: column; /* 让内部子元素垂直排列，避免横向挤在一起 */
    align-items: center; /* 让内部所有子元素也在容器内居中 */
    min-height: 100vh; /* 让容器至少撑满一屏高度，避免内容过少时布局塌陷 */

}
.body-all::after {
    content: "";
    display: table; /* 或 block */
    clear: both;
}

/*导航*/
.top_bar{
    width: 900px;
    height: 80px;
    background-color: #f6f9fa;
    position: fixed;
    top: 0;
    z-index: 999;


}

.top_bar .top_ob{
    list-style-type: none;
    height: 50px;
    line-height: 80px;
    padding: 15px 0 15px 0;
    overflow: hidden;

}
.top_block{
    width: 150px;
    height: 50px;
    float: left;
    line-height: 50px;
    text-align: center;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 2px 5px 5px #eef6ea;
}
.top_block a{
    width: 150px;
    height: 50px;
    float: left;
    overflow: hidden;
}
.top_box{
    width: 150px;
    /*height: 50px;*/
    float: left;
    color: #212121;
    opacity: 0.7;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 20px;

}


.top_box:hover{
    color: #f90;
    opacity: 1;
}
/*内容*/

.container{
    width: 900px;
    height: auto;
    text-align: center;
    margin-top: 150px;
    box-sizing: border-box;
}


.container img:hover{
    transform:scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    z-index: 2;
}
.box_border{
    width: 900px;
    height: auto;
    text-align: center;
    position: relative;
    column-count: 4;
    column-gap: 10px;
    box-sizing: content-box;
}


.content_box img:hover{
    opacity: 0.9;
    transition: all 0.3s ease;

}

.container .box_border .content_box{
    width: 100%;
    height: auto;
    /*margin: 7px 7px 5px 7px;*/
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-sizing: content-box;
    break-inside: avoid;


}
.container .box_border .content_box img{
    cursor: pointer;
    width: 100%;
    display: block;
    height: auto;
    border-radius: 8px;
}
.container .box_border .content_box p{

    /* 建议改为 100% 或自动适应，避免硬编码像素值导致溢出 */
    width: 100%;
    margin-top: 5px;
    margin-bottom: 0; /* 重置默认 margin，防止意外间距 */
    box-sizing: border-box; /* 确保 padding 不增加总宽 */
    font-family:  "宋体", serif, Arial, Helvetica;
    text-align: center;
    word-wrap: break-word;

}

.container .body_bar{
    width: 900px;
    text-align: center;
    position: relative;

}
.container .body_bar::after {
    content: "";
    display: block; /* 或 table */
    clear: both;
}
.container .body_bar2{
    width: 900px;
    text-align: center;
    position: relative;
    overflow: hidden;

}
.container .body_bar .bar2{
    width: 900px;
    height: 30px;
    margin: 15px 0 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.container .body_bar .bar2 p{
    text-align: center;
    opacity: 0.7;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 20px;
    height: 30px;
}

.container .body_bar .bar1 a{
    width: auto;
    float:left;
    box-shadow: 2px 5px 5px #eef6ea;
    border-radius: 6px;
}
.container .body_bar .bar1{
    cursor: pointer;
    width: auto;
    height: 30px;
    padding: 5px;
    text-align: center;
    position: relative;
    float:left;


}
.container .body_bar .bar1 p{
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    opacity: 0.7;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 20px;
    height: 30px;


}

.container .body_bar .bar3{
    width: 900px;
    margin: 10px 0;
    height: auto;
    text-align: center;
    position: relative;
    float: left;
}
.container .body_bar .bar3 p{
    text-align: left;
    opacity: 0.9;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 15px;
    line-height:22px;
}


.container .body_bar .bar1 p:hover{
               color: red;
               opacity: 1;
}
.container .body_bar2 .bar2 p:hover{
               color: red;
               opacity: 1;
               border: 1.5px solid red;
}

.container .body_bar2 .bar2{
    cursor: pointer;
    width: 100px;
    height: 20px;
    margin: 10px;
    text-align: center;
    position: relative;
    float:left;


}
.container .body_bar2 .bar2 p{
    text-align: center;
    opacity: 0.7;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 20px;
    border: 1.5px solid black;
    border-radius: 2px;
}



.container .class_1{
    background-color: #2b2b2b;
    height: 50px;
    width: 900px;
    color: white;
    text-shadow: 0 0 1px #5bc0de;
    font-size: 20px;
    font-family:  "宋体", serif, Arial, Helvetica;
    text-align: left;
    line-height:50px;
    position: relative;
    float: left;
    margin: 20px 0 10px 0;


}
.container .class_1:hover{
    color: aquamarine;
}



/*脚部信息*/

.footing{
    width: 900px;
    height: 60px;
    background-color: #f5f8f9;
    margin-top: 100px;
    z-index: 999;
    overflow: hidden;
    bottom: 0;
}



.footing .footing_bottom{
    width:900px;
    background-color: #f5f8f9;
    overflow: hidden;
    height: 40px;}

.footing .footing_bottom .foot_cell{
    width:130px;
    float: left;
    height:20px;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 15px;
    margin: 10px 0 10px 24px;
    cursor: pointer;
    opacity: 0.7;
}

.footing .footing_bottom .foot_cell1{
    width:260px;
    height:20px;
    float: left;
    font-family:  "宋体", serif, Arial, Helvetica;
    font-size: 15px;
    margin: 10px 10px;
    cursor: pointer;
    opacity: 0.7;
}
.footing .footing_bottom .foot_cell .foot_cell2{
    width:130px;
    float: left;
    cursor: pointer;
    opacity: 0.5;
}
.footing .footing_bottom .foot_cell a{
    width:130px;
    height:20px;
    float: left;
}
.footing .footing_bottom .foot_cell3{
    width:60px;
    height:20px;
    float: left;
    margin: 12px 12px;
    opacity: 0.7;
}
