/* about.css */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 40px auto;
    gap: 40px; /* 添加间距 */
}

/* 左侧头像部分 */
.about-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 右侧文本部分 */
.about-right {
    flex: 2;
}

.about-right h1, .about-right h2 {
    color: #333;
    margin-bottom: 20px;
}

.about-right p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info p, .social-links a {
    margin-bottom: 10px;
    color: #007bff;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        padding: 20px;
    }

    .about-left {
        margin-bottom: 20px;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }
}