body{
    background-color: #E9FAF3;
}

/* 团队简介部分 */
.team-intro {
    margin-top:150px;
    text-align: left;
    animation: slideInFromLeft 1s ease-out;
    padding-left: 20px;
    max-width: 90%; /* 设置最大宽度为屏幕宽度的90%，确保文本在接近屏幕边缘时自动换行 */
    box-sizing: border-box; /* 确保padding不影响元素总宽度 */
}

.team-intro .team-name h1 {
    font-size: 5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    word-wrap: break-word; /* 确保单词在必要时换行 */

}

.team-intro .team-name p {
    font-size: 1.2rem;
    margin-top: 10px;
    word-wrap: break-word; /* 确保段落文字在必要时换行 */
}
/* 滑入动画 */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 团队成员部分 */
.team-container {
    margin: 70px auto; /* 使用 auto 将容器水平居中 */
    padding: 20px;
    background: #cdf3e6;
    border-radius: 15px;
    max-width: 100%;
    position: relative; /* 保证不影响到 footer */
    z-index: 1;
    box-sizing: border-box; /* 确保 padding 不会影响元素总宽度 */
}

.team-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: left;
    padding-left: 20px;
}


.col {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%; /* 使图片宽度自适应列宽 */
    max-width: 300px; /* 最大宽度为300px */
    height: auto; /* 自动调整高度，保持宽高比 */
    max-height: 200px; /* 最大高度为200px */
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 1.25rem;
    font-family: 'Times New Roman', serif;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #455a5d;
    text-transform: none !important;
}

.team-member h3:hover {
    color: #008B8B !important; /* 鼠标悬停时改变颜色 */
    font-weight: bold; /* 悬浮时加粗文字 */
    transform: translateY(-1px); /* 向上浮出效果 */
}


.team-member p {
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    text-align: center; /* 专业部分居中对齐 */
    color: #7f7f7f;
}

.team-photo img{
    width: 700px;
    height:auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.team-photo h3{
    font-size: 1.5rem;
    font-family: 'Times New Roman', serif;
    text-align: center;
    margin-bottom: 5px;
    color: #455a5d;
    text-transform: none !important;
}