body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    background: white;
    padding: 40px; /* 增加内边距 */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 80%;
    max-width: 800px; /* 增加最大宽度 */
}

h1 {
    color: #333;
    margin: 0 auto;
    white-space: nowrap;
    font-size: 2.5vw; /* 调整初始字体大小 */
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 5vw;
    }
}

/* 新增媒体查询，针对大屏幕设置最大字体大小 */
@media screen and (min-width: 1200px) {
    h1 {
        font-size: 24px; /* 对大屏幕设置最大字体大小 */
    }
}

.button-container {
    margin-top: 20px;
}

.button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s;
    width: 150px;
    height: 40px;
    line-height: 40px; /* 与高度相同 */
    text-align: center;
}

.button:hover {
    background-color: #0056b3;
}
