#total {
    width: 1050px;
    height: auto;
    margin: 0 auto;
}

#minipage {
    width: 1100px;
    height: auto;
    margin-top: 11px;
    background-image: url(index/backgroud.jpg);
    background-repeat: repeat;
    background-color: AliceBlue;
}

#No1_right {
    width: 1100px;
    height: auto;
    float: left;
}

#No1_right_up {
    width: 1100px;
    height: auto;
    margin-top: 35px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 0px;
}

#No1_right_up li {
    display: inline;
}

#No1_right_up a {
    font-size: 23px;
    font-family: "华文楷体";
    color: #666666;
    text-decoration: none;
}

#No1_right_up a:hover {
    color: #000;
    text-decoration: underline;
}

#homepage {
    width: 950px;
    height: auto;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 100px;
    border-right-width: 1px;
    border-right-color: #333;
}

.text_1 {
    font-size: 18px;
    font-weight: bold;
    color: #21759b;
    text-shadow: none;
    font-family: 幼圆;
}

.text_2 {
    font-size: 17px;
    font-weight: normal;
    color: #21759b;
    text-shadow: none;
    font-family: 幼圆;
}

.a_style {
    font-family: å¾®è½¯é›…é»‘;
    font-size: small;
}

.b_style {
    list-style-type: none;
    font-family: 宋体;
    font-size: small;
}

.c_style {
    list-style-type: none;
    font-family: 宋体;
    font-size: smaller;
}

a:link {
    color: #222222;
    font-family: "Microsoft YaHei";
    text-decoration: none;
}

a:visited {
    color: #222222;
    font-family: "Microsoft YaHei";
    text-decoration: none;
}

a:hover {
    color: #FF0000;
    text-decoration: underline;
}

a:active {
    color: #FF0000;
    text-decoration: underline;
}

.li_style {
    float: left;
}



div.gallery {
    margin: 5px;
    border: 3px solid #FFFFFF;
    float: left;
    width: 48%;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.2), 0 6px 6px 0 rgba(0, 0, 0, 0.19);

}

div.gallery:hover {
    border: 3px solid #ddd;
    background-color: #ddd
}

div.image-container {
    position: relative;
    /* 关键点：确保悬浮文字定位相对图片容器 */
    width: 100%;
    height: 350px;
    /* 确保图片容器有固定高度 */
    overflow: hidden;
    /* 防止文字或其他内容超出容器 */
}

div.image-container img {
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

/* 图片悬停时变暗 */
div.image-container:hover img {
    opacity: 0.8;
}

/* 隐藏文字层 */
div.image-container .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 20px;
    /* 增加内边距，避免文字紧贴图片 */
    line-height: 1.6;
    /* 调整行间距 */
    text-align: left;
    /* 可以根据需要调整为 left、center 或 justify */
    text-indent: 2em;
    /* 增加段落开头缩进 */
    opacity: 0;
    /*  overflow-y: auto;
    /* 当文本内容过多时，可以滚动 */
    transition: opacity 0.3s ease;
}

/* 鼠标悬停时显示文字 */
div.image-container:hover .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 20px;
    /* 增加内边距，避免文字紧贴图片 */
    line-height: 1.6;
    /* 调整行间距 */
    text-align: left;
    /* 可以根据需要调整为 left、center 或 justify */
    opacity: 1;
}

div.gallery img {
    width: 100%;
    height: 350px;
}

div.desc {
    padding: 15px;
    font-family: 微软雅黑;
    font-weight: bold;
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    background-color: #F5F5F5;
    height: 5vh;
    text-align: center;
}

div.desc:hover {

    background-color: #ddd
}

#show a {
    text-decoration: none;
    color: #000000;
}