
:root {
    --primary-bg: linear-gradient(135deg, #2c3e50, #34495e);
    --secondary-bg: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    --accent-color: #3498db;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --code-bg: #273746;
    --code-text: #ffffff;
    --line-effect: radial-gradient(circle, rgba(52, 152, 219, 0.6), transparent);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--secondary-bg);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.grid-item {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

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

h2, h3, h4 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}

pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
}

code {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 2px 5px;
    border-radius: 4px;
}

.line-effect {
    background: var(--line-effect);
    width: 100%;
    height: 2px;
    margin: 20px 0;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

