* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('./HarmonyOS_Sans/HarmonyOS_Sans_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('./HarmonyOS_Sans/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('./HarmonyOS_Sans/HarmonyOS_Sans_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('./HarmonyOS_Sans/HarmonyOS_Sans_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('./HarmonyOS_Sans/HarmonyOS_Sans_Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

body {
    font-family: 'HarmonyOS Sans', 'Noto Sans SC', sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.7;
    padding: 0;
}

.container {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 0;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.sidebar {
    text-align: center;
    position: sticky;
    top: 40px;
}

.avatar-container {
    margin-bottom: 20px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #4A90E2;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.main-content {
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #000;
}

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

h3 {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #000;
}

section {
    margin-bottom: 30px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 经典蓝色链接 */
a {
    color: #4A90E2;
    text-decoration: none;
}

a:visited {
    color: #7B68EE;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    font-size: 1.2em;
    min-width: 1.5em;
    color: #4A90E2;
}

strong {
    font-weight: bold;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .sidebar {
        position: static;
        order: -1; /* 侧边栏移到顶部 */
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h3 {
        font-size: 1.1em;
    }
}
