
/* 全局样式定义 */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #003366, #330066);
    color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #ff9900;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    margin-top: 20px;
}

h2 {
    font-size: 36px;
    margin: 20px 0;
}

h3 {
    font-size: 24px;
    margin: 20px 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.module {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.module:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 153, 0, 0.8);
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    padding: 0 20px;
}

pre code {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ff9900;
    border-radius: 4px;
    padding: 10px;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
    color: #ffcc00;
}

button {
    background-color: #ff9900;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button:hover {
    box-shadow: 0px 0px 10px rgba(255, 153, 0, 0.8);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ff9900;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #ff9900;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    .container {
        grid-template-columns: 1fr;
    }
}

