
:root {
    --primary-color: #c1e1c1;
    --secondary-color: #a8d0a8;
    --accent-color: #90ee90;
    --text-color: #333333;
    --code-bg: #f4f4f4;
    --code-border: #dcdcdc;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

header nav a {
    text-decoration: none;
    color: var(--accent-color);
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--secondary-color);
}

.hero {
    height: 100vh;
    background: url("https://images.gptkong.com/demo/sample1.png"), linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    text-align: center;
}

.card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 10px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.card p {
    font-size: 0.9rem;
    color: #666666;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.article-section {
    background: rgba(255, 255, 255, 0.8);
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
}

.article-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-section pre {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 5px;
    padding: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 15px 0;
}

.article-section code {
    font-family: 'Courier New', monospace;
    color: #333333;
}

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

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

    header h1 {
        font-size: 1.2rem;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.9rem;
}

