html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
}

body {
    text-align: center;
    background-color: white;

    .container {
        width: 100%;
        margin: 5px auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /*轮播图*/

        .carousel {
            position: relative;
            width: 100%;

            .pre,
            .next {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 20px;
                height: 40px;
                background-color: rgba(0, 0, 0, 0.3);
                text-align: center;
                line-height: 40px;
                color: #fff;
                transition: linear;
                opacity: 1;
                cursor: pointer;
            }

            .pre {
                left: 0;
                border-radius: 0 20px 20px 0;
            }

            .next {
                right: 0;
                border-radius: 20px 0 0 20px;
            }

            .carousel:hover .pre,
            .carousel:hover .next {
                opacity: 1;
            }
        }

        .titlePart {
            position: relative;
            display: inline-block;

            .base-image {
                display: block;
                width: 100%;
                height: auto;
            }

            .overlay-image {
                position: absolute;
                width: 30%; /* 按需调整覆盖图大小 */
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 2; /* 确保覆盖图在上层 */
            }
        }

        img {
            width: 100%;
        }

        .top {
            display: flex;
            justify-content: space-between;
            width: 90%;
            padding: 5px 0 0;
            height: 60px;

            .logo {
                width: 250px;
            }

            .tab {
                padding: 15px 0 0;

                ul {
                    display: flex;
                    align-items: center;

                    li {
                        padding-left: 50px;

                        a {
                            text-decoration: none;
                            color: #687074;
                            cursor: pointer;
                        }

                        a:hover {
                            color: #00aeef;
                        }
                    }

                }
            }
        }

        .newsCenter {
            position: relative;
            display: inline-block;

            .news-image {
                display: block;
                width: 100%;
                height: auto;
            }

            .news-text1 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 10%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text2 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 20%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text3 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 30%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text4 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 40%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text5 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 50%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text6 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 60%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }

            .news-text7 {
                position: absolute;
                font-size: 25px;
                width: 55%;
                right: 2%;
                bottom: 70%;
                border: 1px solid #403c3b;
                font-weight: 700;
                color: #342c2a;
                text-align: right;
                padding: 5px 15px 5px 0;
                z-index: 2; /* 确保覆盖图在上层 */
            }
        }

        .audioPart {
            position: relative;
            display: inline-block;
            width: 100%;
            height: auto;

            .audio-image {
                display: block;
                width: 100%;
                height: auto;
            }

            audio {
                position: absolute;
                width: 18%;
                height: 40px;
                right: 18%;
            }
        }

        .record {
            position: relative;
            display: inline-block;

            .info {
                position: absolute;
                left: 20px;
                bottom: 20px;
                color: white;
                padding: 8px 15px;
                border-radius: 0 8px 0 0;

                .title {
                    font-size: 14px;
                    color: #ddd;
                }

                .content {
                    color: #fff;
                    text-decoration: none;
                    font-weight: bold;
                    transition: color 0.3s;
                }

                .record .content:hover {
                    color: #74c0fc;
                    text-decoration: underline;
                }
            }


        }
    }
}

h1 {
    color: black;
    text-align: center;
}