
/* CSS 样式代码 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #343a40;
    line-height: 1.6;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: white;
    padding: 20px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
header h1 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    text-align: center;
}
main {
    margin-top: 80px;
    padding: 20px;
}
.hero-banner {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.hero-banner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin: 0;
}
.hero-banner p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.card-content {
    padding: 15px;
}
.card-content h3 {
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}
.card-content p {
    margin: 0;
    font-size: 0.9rem;
}
pre {
    background: #212529;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
}
table th {
    background: #007bff;
    color: white;
}
footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 1.2rem;
    }
    .hero-banner h2 {
        font-size: 1.5rem;
    }
    .card-content h3 {
        font-size: 1rem;
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

