/* main.css */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #121212;
}

body {
    background-color: #121212;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 2rem;
    max-width: 100%;
    width: 75%;
    margin: auto;
}

h1, h2, h3 {
    color: #00FF00;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #00FF00;
    padding-bottom: 0.5rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    text-align: left;
}

a {
    color: #03a9f4;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #0288d1;
    text-decoration: underline;
}

strong {
    color: #ffffff;
}

em, i {
    color: #cccccc;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    overflow-x: auto;
    border-left: 4px solid #00FF00;
    margin-bottom: 1rem;
    border-radius: 4px;
}

code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
}

/* Navigation links at the top */
a[href^="#"] {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Responsive typography */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    body {
        padding: 1rem;
    }
}
