body {
    margin: 0;
    padding: 0;
    
    /* 设置背景图片 */
    background-image: url('/image/bakcground.webp'), url('/image/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center; 
    background-attachment: fixed;

    font-family: Arial, sans-serif;
    color: #ffffff;
}

.sticky-container {
    position: sticky; /* 粘性定位 */
    top: 0; /* 距离顶部0像素，滚动到顶部时固定 */
    z-index: 100; /* 确保在其他内容上方 */
}

.main-nav {
    position: fixed; /* 固定导航栏 */
    top: 0; /* 距离顶部0像素 */
    left: 0; /* 距离左边0像素 */
    right: 0; /* 距离右边0像素 */
    transition: top 0.3s; /* 平滑过渡效果 */
    z-index: 1000; /* 确保在其他内容上方 */
    width: 100%; /* 设置宽度为100% */
    text-align: center;
}

.main-nav ul {
    background-color: rgb(116, 122, 116);
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 50px;
}

.main-nav ul li {
    display: inline-block;
    margin: 0 15px;
    line-height: 50px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: #e0e0e0;
}

.language-selector {
    margin-left: 20px;
}

.language-selector select {
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

.language-selector select:focus {
    outline: none;
    border-color: #007bff;
}

.bottom {
    background-color: gainsboro;
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 40px; /* 距离底部20像素 */
    right: 40px; /* 距离右边20像素 */
    display: none; /* 默认隐藏 */
    width: 60px; /* 设置宽度 */
    height: 60px; /* 设置高度 */
    background-color: #999ca0; /* 按钮颜色 */
    font-size: xx-large;
    border: none; /* 去掉边框 */
    border-radius: 50%; /* 设置为圆形 */
    cursor: pointer; /* 鼠标悬停时为指针 */
    z-index: 1000; /* 确保在其他内容上方 */
    display: flex; /* 使用 flexbox */
    justify-content: center; /* 居中对齐 */
    align-items: center; /* 垂直居中对齐 */
}

.back-to-top:hover {
    background-color: #4d5155; /* 悬停时的按钮颜色 */
}