/* 基础样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    overflow-x: hidden;
}

header {
    background-color: #CFC;
    color: #F96;
    padding: 50px;
    text-align: center;
    position: relative;
    animation: slideDown 1s ease-in-out;
}

.profile-header h1 {
    font-size: 36px;
    margin: 0;
    animation: fadeIn 1.5s ease-in-out;
}

.profile-header .quote {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    animation: fadeIn 2s ease-in-out;
}

nav ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    animation: fadeIn 1s ease-in-out;
}

nav ul li {
    display: inline;
    margin: 0 15px;
    animation: fadeInUp 1.5s ease-in-out;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FCC;
}

/* 主要内容样式 */
main {
    padding: 20px;
}

h2 {
    color: #FCC;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 5px;
    margin-bottom: 15px;
    animation: fadeInLeft 1s ease-in-out;
}

.personal-info p {
    font-size: 16px;
    line-height: 1.6;
    animation: fadeInRight 1s ease-in-out;
}

/* footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #0C9;
    color: #9C9;
    position: fixed;
    width: 100%;
    bottom: 0;
    animation: fadeInUp 1s ease-in-out;
}

/* 动画效果 */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
