
@import url('https://fonts.googleapis.com/css2?family=Orbitron&family=Roboto&display=swap');

:root {
    --primary-color: #88C057;
    --secondary-color: #4A90E2;
    --accent-color: #6C5B7B;
    --starry-blue: #1E3A8A;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --off-white: #F4F1DE;
    --background-gradient: linear-gradient(135deg, rgba(136,192,87,0.8), rgba(74,144,226,0.8));
    --text-color: #333333;
    --heading-color: #1E3A8A;
    --code-bg: #F0F0F0;
    --code-color: #D6336C;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--heading-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 30px;
}

h3 {
    font-size: 1.75em;
    margin-top: 25px;
}

h4 {
    font-size: 1.5em;
    margin-top: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.8;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(244, 241, 222, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.module {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: var(--off-white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.module img {
    width: 100%;
    max-width: 320px;
    height: auto;
    flex: 1 1 320px;
    object-fit: cover;
}

.module-content {
    flex: 2 1 600px;
    padding: 20px;
}

.module-content h3 {
    margin-bottom: 10px;
}

.module-content p {
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

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

pre {
    background: var(--code-bg);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: var(--code-color);
    font-family: 'Roboto Mono', monospace;
}

nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

nav a {
    margin: 0 15px;
    font-size: 1.1em;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    color: var(--text-color);
}

@media (max-width: 1440px) {
    .container {
        padding: 30px 15px;
    }
}

@media (max-width: 1200px) {
    .module {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .module-content {
        padding: 15px;
    }
    nav a {
        margin: 0 10px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75em;
    }
    h2 {
        font-size: 1.5em;
    }
    .module img {
        max-width: 100%;
    }
    .module-content {
        padding: 10px;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    nav a {
        margin: 0 5px;
        font-size: 0.9em;
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--starry-blue);
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

button, .module-content a {
    rel: "nofollow";
}

