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

header {
    background: linear-gradient(135deg, #0047AB, #FFA500);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    background-size: 400% 400%;
    animation: gradientMove 15s linear infinite;
}

@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

nav {
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
    position: relative;
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav a:hover::after {
    width: 100%;
}

.container {
    padding: 40px 20px;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #0047AB;
}

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

.grid-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.article-section {
    margin-top: 40px;
}

.article-section h2 {
    font-size: 1.8em;
    color: #FFA500;
    margin-bottom: 20px;
}

.article-section p {
    margin-bottom: 15px;
}

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

.article-section code {
    font-family: 'Roboto', sans-serif;
    background: #eaeaea;
    padding: 2px 4px;
    border-radius: 3px;
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.footer a {
    color: #FFA500;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .section-title {
        font-size: 1.5em;
    }
    nav a {
        margin: 0 10px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    header {
        padding: 20px 10px;
    }
    .section-title {
        font-size: 1.3em;
    }
}

