
:root {
    --main-color: #0D47A1;
    --secondary-color: #E5E5EA;
    --accent-color-1: #FF9800;
    --accent-color-2: #FDD835;
    --text-color: #333333;
    --code-bg: #f4f4f4;
    --code-text: #0D47A1;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    animation: fadeIn 2s ease-in-out;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

header {
    text-align: center;
    color: white;
    padding: 40px 20px;
    background: radial-gradient(circle, var(--accent-color-1), transparent);
    border-radius: 10px;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--accent-color-2); }
    to { text-shadow: 0 0 20px var(--accent-color-1); }
}

.module {
    flex: 1 1 calc(33.33% - 40px);
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.module:hover {
    transform: translateY(-10px);
}

.module img {
    width: 100%;
    height: auto;
    display: block;
}

.module-content {
    padding: 20px;
}

.module-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--main-color);
}

pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background: var(--code-bg);
    padding: 2px 5px;
    border-radius: 3px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color-1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
}

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

    header h1 {
        font-size: 2rem;
    }

    pre {
        font-size: 0.8rem;
    }
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: white;
}

.notice {
    background: var(--accent-color-2);
    color: var(--main-color);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

