        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #f2f3fa;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            overflow-x: hidden;
            background-image: url('../images/bg.svg');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: center;
        }

        .header,
        .header a {
            background-color: white;
            height: 70px;
            line-height: 70px;
            font-size: 60px;
            text-align: center;
            font-family: '华文楷体';
        }

        .search {
            padding: 20px 0;
            margin: 0 auto;
            width: 100%;
            max-width: 1000px;
            text-align: center;
        }

        .search input {
            width: 80%;
            max-width: 1200px;
            height: 80px;
            border-radius: 30px;
            padding-left: 20px;
            border: 1px solid #ccc;
            box-sizing: border-box; /* 确保内边距和边框不会影响宽度计算 */
        }
        
        /* 调整按钮样式 */
        .search button {
            width: 130px;
            height: 78px;
            border-radius: 30px;
            background-color: #3b75fb;
            border: none;
            color: white;
            font-size: 20px; /* 适应手机端字体大小 */
            cursor: pointer; /* 使按钮可点击 */
        }
        
        /* 小屏幕样式 */
        @media (max-width: 768px) {
            .search input {
                width: 80%; /* 适应小屏幕宽度 */
                height: 80px; /* 调整高度 */
                max-width: 100%; /* 最大宽度调整为 100% */
                font-size: 18px; /* 调整字体大小 */
                padding-left: 15px; /* 调整内边距 */
            }
        
            .search button {
                width: 80px; /* 调整按钮宽度 */
                height: 60px; /* 调整按钮高度 */
                font-size: 18px; /* 调整字体大小 */
            }
        }


        .main {
            margin: 20px auto;
            width: 100%;
            max-width: 1000px;
        }

        .title {
            text-align: center;
            font-family: '幼圆';
            font-size: 25px;
            margin: 25px 0 10px;
        }

        .listbox {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .list,
        .listaa {
            width: 48%;
            height: 50px;
            margin: 10px 0;
            border: 0.5px solid #f3f9f1; /* 设置边框颜色为蓝色 */
            border-radius: 30px;
            padding-left: 32px;
            line-height: 50px;
            text-overflow: ellipsis;
            white-space: nowrap;
            box-sizing: border-box; /* 确保内边距和边框不会影响宽度计算 */
        }
        
        .list img,
        .listaa img {
            width: 30px;
            height: 30px;
            vertical-align: sub;
            margin-right: 10px;
        }
        
        .list a,
        .listaa a {
            font-size: 25px;
            color: blue;
            text-decoration: none;
        }
        
        .list:hover,
        .listaa:hover {
            box-shadow: 0 0 6px 0 #3b75fb;
        }
        
        /* 小屏幕样式 */
        @media (max-width: 768px) {
            .main {
                margin: 20px auto;
                width: 95%;
                /*max-width: 1000px;*/
            }   
            .listbox {
                flex-wrap: wrap;
                justify-content: space-between; /* 确保在小屏幕上仍然有两个项目显示在一行 */
            }
        
            .list,
            .listaa {
                width: 48%; /* 确保两个项目在一行显示 */
                height: 60px; /* 调整高度 */
                font-size: 28px; /* 增大字体大小 */
                margin: 5px 0; /* 可选：调整间距 */
                text-align: left;
                overflow: hidden;
            }
        }


        .weibu {
            text-align: center;
            margin: 50px auto; /* margin-top and auto for left and right to center the element */
            width: 90%;
            max-width: 1000px;
            height: 95px;
            border-radius: 85px;
            border: 0.5px solid #3b75fb;
            /*padding: 20px;*/
        }


        .zujian {
            position: absolute;
            top: 370px;
            left: 50%;
            transform: translateX(-50%);
        
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .showtime,
        .daojishi,
        .weather,
        .meiriyiyan {
            text-align: center;
            width: 15%; /* 在桌面显示4个 */
            height: 120px;
            border-radius: 40px;
            margin: 10px 0;
            box-shadow: 0 0 6px 0 #3b75fb;
        }
        
        @media (max-width: 768px) {
            .zujian {
                
                align-items: center; /* 可选：使子项居中对齐 */
            }
         
            .showtime,
            .daojishi,
            .weather,
            .meiriyiyan {
                width: 45%; /* 每行两个，留出一定的边距 */
                margin: 10px 0; /* 调整间距以适应小屏幕 */
            }
        }



        .box_dh {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            /*margin-top: 20px;*/
        }

        .title_dh {
            width: 25%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            background-color: white;
            border-radius: 0 0 50px 50px;
            cursor: pointer;
            margin-bottom: 20px;
            z-index: 100;
        }

        .yincang {
            height: 0;
            overflow: hidden;
            font-size: 30px;
            transition: height 0.3s ease-out;
            background-color: white;
            border-radius: 10px;
        }

        .yincang li {
            height: 50px;
        }

        .yincang li a {
            color: blue;
            text-decoration: none;
        }

        .yincang li a:hover {
            color: skyblue;
        }

        #dialog {
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border-radius: 40px;
            text-align: center;
            width: 500px;
            height: 500px;
            background-color: antiquewhite;
            border: 0;
        }

        #dialog h2 {
            margin: 30px;
            font-size: 50px;
            color: #3b75fb;
            animation: showup 2s forwards;
        }

        @keyframes showup {
            from {
                letter-spacing: -50px;
            }

            to {
                letter-spacing: 0;
            }
        }

        #dialog .loading img {
            margin: 20px;
            border-radius: 30px;
        }

        #dialog button {
            margin-top: 10px;
            width: 230px;
            height: 60px;
            border-radius: 30px;
            border: 1px solid #3b75fb;
            font-size: 30px;
            background-color: white;
            color: #3b75fb;
        }

        #dialog button:hover {
            background-color: #3b75fb;
            color: white;
        }