/* style.css */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8f8f8;
    font-family: Arial, sans-serif;
}

.header {
    color: #1AAD19;
    font-size: 24px;
    margin-bottom: 20px; /* 标题下方间距 */
    text-align: center;
}

.avatar {
    width: 120px; /* 调整头像宽度 */
    height: 120px; /* 调整头像高度 */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px; /* 头像下方间距 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info {
    background-color: #e7f7e7;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    width: 80%; /* 设定一个基础宽度 */
    max-width: 300px; /* 限制最大宽度 */
}

.contact-info:hover {
    transform: scale(1.02);
}

.contact-info h2 {
    margin: 0 0 10px 0;
    color: #1AAD19;
}

.contact-info p {
    margin: 0;
    color: #333;
}

.contact-info p a {
    color: #1AAD19;
    text-decoration: none;
}

.contact-info p a:hover {
    text-decoration: underline;
}