
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: radial-gradient(circle at center, #1e3c72, #2a5298);
    background-size: 400% 400%;
    animation: backgroundAnimation 15s linear infinite;
}

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

header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 3rem;
    color: #ff9a9e;
    margin-bottom: 10px;
    animation: fadeInDown 2s ease-out;
}

header p {
    font-size: 1.2rem;
    color: #dcdcdc;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ff9a9e;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

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

main {
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    flex: 1 1 calc(33.333% - 40px);
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card h3 {
    font-size: 1.5rem;
    color: #ff9a9e;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #dcdcdc;
}

@media (max-width: 1440px) {
    .card {
        flex: 1 1 calc(25% - 40px);
    }
}

@media (max-width: 1200px) {
    .card {
        flex: 1 1 calc(33.333% - 40px);
    }
}

@media (max-width: 1024px) {
    .card {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
}

footer p {
    font-size: 1rem;
    color: #dcdcdc;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    color: #ff9a9e;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.article-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 20px 0;
}

.article-section h2, .article-section h3 {
    color: #ff9a9e;
}

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

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

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

    .card h3 {
        font-size: 1.2rem;
    }

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