body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
}

p {
    color: #666;
    font-size: 16px;
}

/* 淡入效果 */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 左侧滑入效果 */
.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 右侧滑入效果 */
.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 添加一些样式到页脚 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}
/* 默认样式 */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
}

p {
    color: #666;
    font-size: 16px;
}

/* 淡入效果 */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

/* ...其他动画效果... */

/* 添加一些样式到页脚 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

/* 媒体查询 - 在屏幕宽度小于等于600px时调整样式 */
@media (max-width: 600px) {
    body {
        margin: 10px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .footer {
        padding: 5px 10px;
    }
}
