/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 24px;  /* 添加这行调整字体 */
}

body {
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container > h1 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.container > h2 {
  font-size: 1.6em;
  margin-top: 20px;
  margin-bottom: 20px;
}

.publication h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Navigation */

.navbar {
    background-color: transparent;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5em;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 1.8em;  /* 添加这行 */
}

.nav-links a:hover {
    color: #0056b3;
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    align-items: flex-start;
}

.profile-image {
    flex-shrink: 0;
    width: 300px;
}

.profile-image img0 {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-image img {
        width: 240px; /* 设置固定宽度 */
        height: 240px; /* 设置固定高度 */
        object-fit: cover; /* 防止变形 */
        border-radius: 50%; /* 圆形图片 */
        pointer-events: none; /* 禁用鼠标交互 */
        user-select: none; /* 禁用选择操作 */
    }

.profile-content {
    flex-grow: 1;
}

.profile-content h1 {
  font-size: 2.0em;
}

.profile-content h2 {
  font-size: 1.5em;
}

.social-links {
    display: flex;
    flex-direction: column;  /* 添加这行使其垂直排列 */
    gap: 10px;              /* 调整垂直间距 */
    margin: 20px 0;
}

.social-link {
    width: 70%;           /* 添加这行使按钮填满容器宽度 */
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9em;
    transition: transform 0.2s;
}

.social-link i {
    margin-right: 8px;
}

.social-link:hover {
    transform: translateX(5px);
}

/* 社交链接的颜色设置 */
.email { background-color: #ea4335; }         /* Gmail红色 */
.google-scholar { background-color: #4285f4; }
.linkedin { background-color: #0077b5; }
/* .researchgate { background-color: #00ccbb; } */
/* .github { background-color: #333; } */

.flag-counter {
    display: none; /* 隐藏 FlagCounter */
}

/* Publications */
.publication {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: transform 0.2s;
}

.publication:hover {
    transform: translateX(5px);
}

.pub-links {
    margin-top: 10px;
}

.pub-links a {
    margin-right: 15px;
    color: #0056b3;
    text-decoration: none;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.team-member {
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    pointer-events: none; /* 禁用鼠标交互 */
    user-select: none; /* 禁用选择操作 */
}

.member-info {
    padding: 20px;
}

/* Activities */
.activity {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.news-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
    }
    
    .profile-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

.copyright {
    text-align: center;
    padding: 20px 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.highlight {
  color: red; 
  font-weight: bold; 
}
