/* === Base Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f1117;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    padding-top: 150px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* === Links === */
a {
    color: #00ffcc;
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px #00ffcc;
}

/* === Header === */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(26, 28, 35, 0.7); /* semi-transparent */
    backdrop-filter: blur(12px);
    border: 1px solid #00ffc8;
    border-radius: 12px;
    padding: 16px 32px;
    width: max-content;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 255, 200, 0.15);
    text-align: center;
}

header1 {
    position: relative;
    width: fit-content;
    max-width: 90%;
    background-color: rgba(26, 28, 35, 0.7);
    box-shadow: 0 8px 24px rgba(0, 255, 200, 0.15);
    text-align: center;
    z-index: 1;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: #00ffc8;
    text-shadow: 0 0 8px #00ffc855;
}

header1 h1 {
    margin: 0;
    font-size: 2rem;
    color: #00ffc8;
    text-shadow: 0 0 8px #00ffc855;
}

/* === Navigation === */
nav {
    margin-top: 12px;
}

nav a {
    margin: 0 10px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
    color: #e0e0e0;
}

nav a:hover {
    background-color: #00ffc822;
}


/* === Main Content === */
main {
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

/* === Sections === */
section {
    margin-bottom: 40px;
}

section h2 {
    color: #00ffcc;
    border-bottom: 1px solid #00ffcc;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 6px #00ffcc55;
}

/* === Footer === */
footer {
    background-color: #1a1c23;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #00ffcc;
    font-size: 0.9em;
    color: #888;
    box-shadow: 0 -4px 10px rgba(0, 255, 204, 0.05);
}

/* === Code Block === */
pre {
    background-color: #1e1e1e;
    color: #00ffcc;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    box-shadow: 0 0 10px #00ffcc33;
    font-size: 0.95em;
}

/* === Buttons === */
button {
    background-color: #00ffcc;
    color: #0f1117;
    border: none;
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc55;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #00ddb3; /* slightly darker teal on hover */
    transform: scale(1.05);     /* subtle zoom effect */
}

button:active {
    transform: translateY(1px);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* === Responsive Design === */
@media (max-width: 600px) {
    main {
        padding: 20px 10px;
    }

    nav a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    header h1 {
        font-size: 2em;
    }
}
