
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00008b, #2e2e2e);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(to right, #3cb371, #adff2f);
    padding: 20px 10px;
    text-align: center;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #00008b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    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.4);
}

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

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

.card p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.image-layer {
    position: relative;
}

.image-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #adff2f;
    margin: 10px 0;
}

code {
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

footer {
    background: linear-gradient(to right, #3cb371, #adff2f);
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: #00008b;
    position: relative;
    margin-top: 20px;
}

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

    main {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

