body {
    font-family: Arial, sans-serif;
    background-color: #fff3e0; /* 柔和的橙色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    -ms-scroll-chaining: none;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    border: 2px solid #ffab40; /* 活泼的橙色边框 */
}

.profile-photo {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border: 3px solid #ff6f00; /* 照片的鲜艳橙色边框 */
    pointer-events: none;
}

h1 {
    font-size: 26px;
    color: #ff6f00; /* 鲜艳的橙色 */
    margin: 10px 0;
}

.title {
    color: #ff8f00; /* 活泼的深橙色 */
    font-size: 18px;
    margin: 5px 0 20px 0;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    text-decoration: none;
    color: #ff9800; /* 明亮的橙色图标 */
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #e65100; /* hover状态下的深橙色 */
}

.contact-btn {
    background-color: #ff5722; /* 鲜艳的橙红色按钮背景 */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #d84315; /* hover状态下的深橙红色 */
}

/* 模态框和表单样式 */
.modal {
    display: none; /* 确保模态框在初始状态下不显示 */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

textarea {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

input[type="text"] {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #d84315; /* hover状态下的深橙红色 */
}