
/* CSS 样式代码块 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #F0F8FF;
    color: #1E90FF;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
.sidebar {
    width: 250px;
    background-color: #1E90FF;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: transform 0.3s ease-in-out;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.2s ease;
}
.sidebar li:hover {
    transform: scale(1.1);
}
.content {
    flex-grow: 1;
    padding: 20px;
    box-sizing: border-box;
    max-width: calc(100% - 290px);
}
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .content {
        max-width: 100%;
    }
}
.main-header {
    text-align: center;
    margin-top: 20px;
    font-size: 28px;
    color: #FFA500;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.data-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}
.data-card:hover {
    transform: translateY(-5px);
}
.icon {
    width: 50px;
    height: 50px;
    background-color: #32CD32;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.chart {
    background-color: #F0F8FF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chart pre {
    background-color: #1E90FF;
    color: white;
    padding: 10px;
    border-radius: 4px;
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table th, table td {
    border: 1px solid #1E90FF;
    padding: 10px;
    text-align: left;
}
table th {
    background-color: #FFA500;
    color: white;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.image-grid img:hover {
    transform: scale(1.05);
}
.button {
    background-color: #FFA500;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease-in-out;
}
.button:hover {
    transform: scale(1.1);
}
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1E90FF;
    color: white;
    margin-top: 40px;
}
@media (max-width: 480px) {
    .main-header {
        font-size: 24px;
    }
    .data-card {
        padding: 15px;
    }
    .chart pre {
        font-size: 14px;
    }
}

