
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #4a90e2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.header h1 {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(to right, #4a90e2, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.card {
    background: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #4a90e2;
}

.card p {
    font-size: 0.9rem;
    margin: 10px 0;
    color: #666666;
}

.card .button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(to right, #4a90e2, #8e44ad);
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.card .button:hover {
    background: linear-gradient(to left, #4a90e2, #8e44ad);
}

.article-section {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 1000px;
    color: #ffffff;
}

.article-section h2 {
    color: #4a90e2;
    margin-bottom: 20px;
}

.article-section pre {
    background: #1e3c72;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

.article-section code {
    color: #8e44ad;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }
}

.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

