        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background-size: cover;
            background-image: url('res/background/1.png');
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: center;

        }

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            line-height: 15px;



        }

        .weather-card {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 90%;
            max-width: 600px;
            margin: 20px auto;
        }

        .sidebar {
            position: fixed;
            left: -290px;
            top: 0;
            width: 250px;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            border-right: 1px solid #ddd;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
            padding: 20px;
            transition: left 0.3s ease;
        }

        .sidebar.open {
            left: 0;
        }

        .sidebar h2 {
            margin-top: 0;
        }

        .toggle-button {
            font-size: 130%;
            position: absolute;
            top: 30px;
            right: -60px;
            background: #fff;
            border: none;
            border-radius: 5px;
            padding: 10px;
            cursor: pointer;
            background-color: rgba(24, 26, 27, 0.25);
            backdrop-filter: blur(11.5px);
            -webkit-backdrop-filter: blur(11.5px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: rgba(88, 95, 99, 0.19) 0px 6px 15px 0px;
            -webkit-box-shadow: rgba(88, 95, 99, 0.19) 0px 6px 15px 0px;
            border-radius: 12px;
            -webkit-border-radius: 12px;
            color: rgb(232, 230, 227);
            outline: none
        }

        .toggle-button:hover {
            background: #f0f0f0;
        }

        .weather-section {
            margin-bottom: 20px;
        }

        .weather-section h3 {
            margin-top: 0;
        }

        .glass-effect {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 20px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            background: #4caf50;
            color: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .btn:hover {
            background: #439547;
        }

        input[type="text"] {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            width: 100%;
            box-sizing: border-box;
            font-size: 16px;
        }

        .weather-important {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px;
            font-size: 140%;
            line-height: 10px;

        }

        #text-container {

            text-align: center;





        }


        #text-paragraph {


            opacity: 0;


            transition: opacity 1s ease-in-out;


        }

        .up {
            display: flex;
            flex-direction: column;
            align-items: center;

        }

        h5 {
            position: absolute;


            top: -15px;


            left: 5px;





        }

        .weather-index {
            margin-bottom: 30px;
            white-space: nowrap;
            /* 防止内容换行 */
            overflow-x: auto;
            /* 横向滚动 */
            height: auto;

        }


        .weather-index table {
            width: 100%;
            min-width: 500px;
            /* 设置最小宽度，确保内容不会被压缩 */
            white-space: nowrap;
            /* 防止文字换行 */
            border-collapse: collapse;
        }

        .weather-index th,
        .weather-index td {


            text-align: center;
            /* 水平居中 */
            vertical-align: middle;
            /* 垂直居中 */
        }

        .weather-index th img,
        .weather-index td img {
            display: block;
            margin: 0 auto;
            width: 40px;
            height: 35px;
            /* 图片水平居中 */
        }

        .weather-wind {
            margin-bottom: 30px;
            white-space: nowrap;
            /* 防止内容换行 */
            overflow-x: auto;
            /* 横向滚动 */
            height: auto;

        }

        .weather-wind table {
            width: 100%;
            min-width: 5px;
            /* 设置最小宽度，确保内容不会被压缩 */
            white-space: nowrap;
            /* 防止文字换行 */
            border-collapse: collapse;
        }

        .weather-wind th,
        .weather-wind td {
            text-align: center;
            /* 水平居中 */
            vertical-align: middle;
            /* 垂直居中 */
        }

        .weather-wind th img,
        .weather-wind td img {
            display: block;
            margin: 0 auto;
            width: 40px;
            height: 35px;
            /* 图片水平居中 */
        }




        .hourly-forecast-vertical {
            position: relative;
            margin-top: 20px;
        }

        .hourly-container {
            display: flex;
            overflow-x: auto;
            padding: 10px 0;
            gap: 15px;

            scrollbar-width: thin;
            scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        }

        .hourly-container::-webkit-scrollbar {
            height: 6px;
        }

        .hourly-container::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }

        .hourly-item {
            min-width: 120px;
            border-radius: 8px;
            padding: 10px;

        }

        .hourly-row {
            display: flex;
            flex-direction: column;
            margin-bottom: 8px;
            white-space: nowrap;
        }

        .hourly-label {
            font-size: 12px;
            color: #555;
            margin-bottom: 2px;
        }

        .hourly-value {
            font-size: 14px;
            font-weight: 500;
        }

        .scroll-container {
            width: 100%;
            overflow: hidden;
            /* 隐藏溢出内容 */
            white-space: nowrap;
            /* 禁止换行 */
            will-change: transform;
            transform: translateZ(0);
            isolation: isolate;
        }

        .scroll-text {
            display: inline-block;
            animation: scroll 10s linear infinite;
            /* 动画配置 */
            padding-left: 100%;
            /* 初始位置偏移 */
            will-change: transform;
            animation: scroll linear infinite;
            animation-duration: 20s;
            animation-play-state: running;
            transform: translateZ(0);
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
                /* 初始位置 */
            }

            100% {
                transform: translateX(-100%);
                /* 向左移动整个宽度 */
            }
        }