* {
    box-sizing: border-box;
}

/* 页面整体背景和字体设置 */
html, body {
    background-color: #f0f4ff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 顶部标题栏样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: white;
    border-bottom: 1px solid #888;
}

/* 标题样式 */
.header h1 {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    color: #1a73e8;
    font-size: 1.8em;
}

.header p {
    margin-left: auto;
    margin-right: 16px;
    text-align: right;
    color: #333;
    font-size: 1.2em;
}

.language-toggle {
    margin: 0;
    padding-right: 16px;
    padding-bottom: 0px;
    background-color: white;
    color: #1a73e8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.0em;
    transition: background-color 0.3s, color 0.3s;
}

.language-toggle:hover {
    text-decoration: underline; 
}

/* 容器样式，居中显示 */
.container {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
}

.container {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto; /* 居中容器 */
    justify-content: space-between;
    height: auto;
    padding-top: 10px; 
}


/* 新增按钮容器来对按钮进行布局 */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中按钮 */
    width: 100%; /* 占据父容器的宽度 */
}

/* 按钮样式 */
.service-button {
    background-color: white;
    color: #e53935; /* 红色文字 */
    border: 3px solid #e53935; /* 红色边框 */
    padding: 20px 50px;
    font-size: 1.5em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin: 10px;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.service-button:hover {
    background-color: #fdecea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.service-button:focus {
    border: 3px solid #d32f2f;
}

.highlight-text {
    font-weight: bold;
}

.footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #888888;
}

/* 为备案号链接添加样式 */
#icpLink {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
}

#icpLink:visited {
    color: #888888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        display: flex;
        flex-direction: column; /* 垂直排列 */
        align-items: center; /* 水平居中 */
        justify-content: center; /* 垂直居中 */
    }

    .header h1 {
        font-size: 1.5em;
        text-align: center;
    }

    .header p {
        display: none;
    }

    .service-button {
        border: 2px solid #e53935; /* 红色边框 */
        padding: 6px 0;
        font-size: 1.2em;
        margin: 15px;
        width: 96%;       
    }

}