/* Reset some default browser styles for consistency */
body,
h1,
h2,
p,
a,
button {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    /* 使用常见的无衬线字体 */
    text-decoration: none;
}

body {
    background-color: #f4f4f8;
    color: #333;
    line-height: 1.5;
    padding: 0;
}

header {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 0;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
}

header nav {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    float: left;
    font-size: 22px;
    font-weight: bold;
    font-style: normal;
    height: 34px;
    line-height: 34px;
    background-color: black;
    padding: 0 8px;
    border-radius: 6px;
    margin: 0;
}

.logo a {
    color: white;
}

.language-list {
    float: right;
}

.language-list a {
    margin-left: 10px;
    color: #666;
}

.language-list a.curr {
    color: #333;
    font-weight: bold;
}

.language-list a:hover {
    color: #247a8c;
}

.country-list {
    float: left;
    width: 100%;
    margin-top: 10px;
}

.country-list a {
    display: block;
    float: left;
    height: 34px;
    line-height: 34px;
    margin-right: 10px;
    margin-top: 10px;
    padding: 0 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    transition: background-color 0.3s;
    color: #333;
}

.country-list a.curr {
    color: #2c89a0;
    font-weight: bold;
}

.country-list a:hover {
    background-color: #d0d0d0;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    /* 居中主内容区域 */
}

section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    /* 添加圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 轻微的阴影 */
    margin-bottom: 30px;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

h1 a,
h2 a {
    color: #333;
}

p {
    margin-bottom: 20px;
}

button {
    color: #247a8c;
    border: solid 1px #2c89a0;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #247a8c;
    color: white;
}

footer {
    margin-top: 50px;
    text-align: center;
    margin-bottom: 20px;
}