/* 重置一些默认的样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

a {
    display: inline; /* 或者 inline-block，取决于您的需求 */
    padding: 0;
    margin: 0;
    border: none;
    text-decoration: none; /* 如果您不希望链接有下划线 */
    box-sizing: border-box;
  }

nav ul {
    list-style: none;
    padding: 0;
}

    nav ul li {
        display: inline;
        margin: 0 15px;
    }

        nav ul li a {
            color: #fff;
            text-decoration: none;
        }

section {
    text-align:center;
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
}

h2 {
    color: #333;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
}
/*主页证件照图像模块*/
#main
{
    display:flex;
    flex-direction: row;
    justify-content: center; /* 水平居中子元素 */
    align-items: flex-end; /* 垂直居中子元素 */
    gap: 40px;
}

#main img 
{
    position: relative;
    text-align: center;
    left:0px;
}

#education-research {
    display: flex;
    flex-direction: row;
    justify-content: center; /* 水平居中子元素 */
    align-items: flex-start; /* 垂直居中子元素 */
    gap: 160px;
}

img {
    display: block; /* 使图像成为块级元素 */
    width: 100%; /* 使图像宽度填充其父元素 */
    height: auto; /* 保持图像的原始宽高比 */
    border: 0; /* 移除图像边框 */
}

a img {
    width: 100%; /* 图片宽度与链接宽度一致 */
    height: auto; /* 保持宽高比 */
}

h1 {
    position: relative;
    text-align: left;
    font-size: 53px;
    letter-spacing: 1px;
    font-family: Helvetica, Arial, sans-serif;
    left:0px;
    top:0px;
}

.custom1-h2 {
    position:relative;
    text-align: left;
    font-size: 30px;
    top:-1vh;
    left:0px;
}

.custom2-h2 {
    position: relative;
    font-size: 3vh;
    top: -1vh;
    left: 0px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contact-way {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 23px;
    top:0px;
    left:0px;
    font-weight: bold
}

.link-icons {
    top:0px;
    left:0px;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.phone-and-mail {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
}

.vertical-line1 {
    transform: rotate(90);
    height: 100px;
    width:2px;
    position:absolute;
    top:200px;
    left:0px;
}

.social-work {
    text-align: center;
    font-family: STSong;
    font-size:20px;
}

.awards {
    text-align: center;
    font-family: STSong;
    font-size: 20px;
}

.academic {
    text-align: center;
    font-family: STSong;
    font-size: 20px;
}

a:link {
    color: #ff2406
}
/* 未访问的链接 */

a:visited {
    color: #ff2406
}
/* 已访问的链接 */

a:hover {
    color: #808080
}
/* 当有鼠标悬停在链接上 */