
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #C6EEDB, #87CEEB);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    color: #2E8B57;
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #2E8B57;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFA500;
}

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

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

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

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

.card h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #2E8B57;
}

.card p {
    font-size: 14px;
    color: #555;
}

code {
    display: block;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #333;
    margin: 10px 0;
    white-space: pre-wrap;
    word-break: break-word;
}

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

.section-title {
    text-align: center;
    font-family: 'Pacifico', cursive;
    font-size: 36px;
    color: #2E8B57;
    margin-bottom: 40px;
}

.animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent),
                linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%) 0 0,
                linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%) 0 0;
    background-size: 50px 50px;
    animation: aurora-move 15s linear infinite;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

footer {
    background: #2E8B57;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 28px;
    }

    code {
        font-size: 12px;
    }
}

