/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3CB371;
    padding: 10px 20px;
    position: relative;
    max-width: 940px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 30px;
    height: 20px;
    margin-right: 30px; /* 向左移动一些 */
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn span:nth-child(3) { bottom: 0; }

.menu-btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none; /* 默认隐藏 */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white; /* 背景颜色改为白色 */
    width: 200px; /* 缩窄菜单宽度 */
    text-align: center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.menu-list.active {
    display: flex;
}

.menu-list li {
    margin: 10px 0;
}

.menu-list a {
    color: #3CB371; /* 字体颜色改为绿色 */
    text-decoration: none;
    font-size: 1em;
}

.menu-list a:hover {
    text-decoration: underline;
}

/* Header */
header {
    text-align: center;
}

header img {
    max-width: 960px;
    width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* 路径导航 */
.breadcrumb {
    margin: 20px 0;
    font-size: 1.2em;
    color: #555;
}

.breadcrumb a {
    color: #3CB371;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 标题和正文居中显示 */
.content {
    text-align: center;
    max-width: 910px;
    margin: 0 auto;
}

.center-text {
    max-width: 910px;
    margin: 0 auto;
}

.question-title {
    font-size: 1.5em; /* 根据需要调整 */
    color: green;
    margin-top: 2em; /* 上一个正文与下一个标题之间的间距 */
    margin-bottom: 1em; /* 标题与正文之间的间距 */
}

.question-text {
    font-size: 1em; /* 根据需要调整 */
    margin-bottom: 2em; /* 正文与下一个标题之间的间距 */
}

.center-image {
    max-width: 910px;
    margin: 0 auto;
    display: block;
}

/* 联系方式栏 */
footer {
    background-color: #f4f4f4;
    color: black;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

.contact-info {
    color: Black;
    padding: 20px;
    margin: 20px auto;
    max-width: 880px;
    text-align: left;
    border: 2px solid #3CB371;
    outline: 3px solid #3CB371;
    outline-offset: 12px;
    position: relative;
}

.contact-info p {
    margin: 0;
}

.contact-info img {
    width: 120px; /* 二维码图片宽度大小 */
    height: auto;
    float: right;
    position: absolute;
    right: 80px;/* 图片距离边框宽度 */
    top: 50%;
    transform: translateY(-50%);
}

/* 版权 */
.copyright {
    font-size: 0.8em;
    color: black;
}

.contact-info .text-after-image {
    position: absolute;
    right: 50px; /* 文字距离边框宽度 */
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.contact-info .text-after-image p {
    margin: 0;
    font-size: 0.9em; /* 比联系方式的字小一号 */
    line-height: 1.2em; /* 调整行高以适应垂直排列 */
}