
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}
.container {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
}
.left-section, .right-section {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.left-section {
    background: linear-gradient(to bottom, #2D9CDB, black);
    color: white;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.right-section {
    background-color: white;
    color: #333;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .left-section, .right-section {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2D9CDB;
    color: white;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar h1 {
    font-size: 1.5rem;
    margin: 0;
}
.navbar .menu-icon {
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}
@media (max-width: 768px) {
    .navbar .menu-icon {
        display: block;
    }
    .navbar ul {
        display: none;
        flex-direction: column;
        background-color: #2D9CDB;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        padding: 10px;
    }
    .navbar ul li {
        margin: 10px 0;
    }
}
.card {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.images-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.article {
    margin-top: 60px;
}
.article h2, .article h3 {
    color: #2D9CDB;
    margin-bottom: 15px;
}
.article p {
    margin-bottom: 20px;
}
.article pre {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}
.footer {
    background-color: #2D9CDB;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

