
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --background-gradient: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    --text-color: #333;
    --module-bg: #f4f4f4;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-gradient);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-light);
}

header h1 {
    font-size: 2.5rem;
    font-family: 'HandwritingFont', cursive;
}

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

.module {
    background: var(--module-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

pre code {
    display: block;
    background: #2d2d2d;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}

h2, h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--module-bg);
    box-shadow: 0 4px 6px var(--shadow-light);
}

table th, table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background: var(--primary-color);
    color: white;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.button:hover {
    background: var(--accent-color);
}

.wave {
    animation: waterWave 2s infinite ease-in-out;
}

@keyframes waterWave {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

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

    .container {
        grid-template-columns: 1fr;
    }

    pre code {
        font-size: 0.8rem;
    }
}

