
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f5dc, #e6e6fa);
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(to right, #8B9467, #1E90FF);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-family: 'Baskerville', serif;
    font-size: 2.5em;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.article-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.article-section h2 {
    font-family: 'Baskerville', serif;
    color: #00008B;
    margin-top: 0;
}

.article-section pre {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}

.article-section code {
    color: #1E90FF;
    font-size: 0.9em;
}

.grid-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

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

.highlight {
    color: #1E90FF;
    font-weight: bold;
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black;
    animation: typing 3s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black; }
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #8B9467;
    color: #fff;
    margin-top: 20px;
}

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

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