
:root {
    --main-color: #0A2463;
    --secondary-color: #F5F7FA;
    --accent-color: #FF6B35;
    --highlight-color: #8A2BE2;
    --code-bg: #2C3E50;
    --code-text: #ECF0F1;
    --line-width: 2px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--main-color), #1A2F4D);
    color: var(--secondary-color);
    overflow-x: hidden;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.module {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

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

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

.module p {
    font-size: 1rem;
    color: #555;
}

pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 20px 0;
}

code {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 2px 5px;
    border-radius: 3px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--main-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-speed);
}

.navbar a:hover {
    color: var(--highlight-color);
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.line-icon {
    width: 50px;
    height: 50px;
    border: var(--line-width) solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.data-line {
    width: 100%;
    height: var(--line-width);
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    animation: lineFlow 3s infinite linear;
}

@keyframes lineFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

    .module {
        padding: 15px;
    }

    pre {
        font-size: 0.8rem;
    }
}

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

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