
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle at top left, #0A2540, #1E3A5F);
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #6FCF97, #0A2540);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

header h1 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #FFD700;
}

main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

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

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

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

.card h3 {
    font-family: 'Poppins', sans-serif;
    color: #0A2540;
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 15px;
}

.button {
    background-color: #6FCF97;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #5CAB85;
}

.code-block {
    background: #f4f4f4;
    color: #333333;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Roboto', monospace;
    margin-bottom: 20px;
}

.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.article h2, .article h3 {
    font-family: 'Poppins', sans-serif;
    color: #FFD700;
}

.article pre {
    background: #2D2D2D;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.6s ease forwards;
}

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

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

