/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
}

.wrapper {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 40px 0;
    background: #007BFF;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
}

header .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header h1 {
    margin: 0 0 10px;
    font-size: 2.5em;
    font-weight: bold;
}

header p {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
}

.cartoon-image {
    max-width: 200px;
    border-radius: 50%;
    margin-top: 20px;
    border: 5px solid #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 主要内容样式 */
main {
    padding: 40px 0;
}

.bio, .specialties, .contact {
    margin-bottom: 40px;
}

.bio h2, .specialties h2, .contact h2 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 20px;
    font-weight: bold;
}

.bio p {
    text-align: center;
    font-size: 1.1em;
}

.specialty-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.specialty {
    background: #f1f1f1;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    transition: background 0.3s;
}

.specialty:hover {
    background: #e0e0e0;
}

.specialty h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #007BFF;
}

.specialty p {
    margin: 0;
    font-size: 1em;
    color: #6c757d;
}

.contact p {
    text-align: center;
    font-size: 1.1em;
}

.email-link {
    display: inline-block;
    margin-top: 20px;
    color: #007BFF;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s;
}

.email-link:hover {
    color: #0056b3;
}

/* 底部样式 */
footer {
    text-align: center;
    padding: 20px 0;
    background: #007BFF;
    color: #ffffff;
    border-radius: 0 0 10px 10px;
}

footer p {
    margin: 0;
    font-size: 1em;
}

.slogan {
    font-family: '隶书', 'LiSu', serif;
    font-size: x-large;
}

.slogan-kaiti {
    font-family: '楷体', 'KaiTi', '楷体_GB2312', serif;
}

.blinking-text {
    animation: blink 2s infinite;
    font-style: italic;
    color:rgb(255, 20, 20);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}