/* 基础样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

header {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    animation: slideIn 1s ease-out forwards 0.5s;
}

header img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

header h1 {
    font-size: 2em;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

/* 标题和段落样式 */
section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* 延迟时间 */
section:nth-child(2) {
    animation-delay: 0.5s;
}

section:nth-child(3) {
    animation-delay: 1s;
}

h2 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.8em;
}

p {
    line-height: 1.6;
}

/* 报纸列表 */
.newspapers-list {
    list-style-type: none;
    padding: 0;
}

.newspapers-list li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #e6f2ff;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInFromBottom 1s ease-out forwards;
}

.newspapers-list li:nth-child(1) {
    animation-delay: 1.5s;
}

.newspapers-list li:nth-child(2) {
    animation-delay: 2s;
}

.newspapers-list li:nth-child(3) {
    animation-delay: 2.5s;
}

.newspapers-list li:nth-child(4) {
    animation-delay: 3s;
}

.newspapers-list a {
    text-decoration: none;
    color: #003366;
    transition: color 0.3s ease;
}

.newspapers-list a:hover {
    color: #ff6600;
}

/* 头部动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮的悬停效果 */
button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background-color: #ff6600;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 10px;
    background-color: #003366;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 3.5s;
}
