:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: #000000;
    --shadow-color: #000000;

    font-family: 'Courier New', Courier, monospace;
    line-height: 1.2;
    font-weight: 400;

    color-scheme: light;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #00ff41;
    /* CRT Green */
    --border-color: #00ff41;
    --shadow-color: #00ff41;
    background-color: var(--bg-color);
    color: var(--text-color);
}


body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 320px;
    min-height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.centered-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.resume-border {
    border: 2px solid var(--border-color);
    padding: 2rem;
    box-shadow: 10px 10px 0px var(--shadow-color);
    max-width: 100%;
    overflow-x: auto;
    background-color: var(--bg-color);
}

.resume-name {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 1rem;
    width: 100%;
}

.ascii-section {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
    margin-bottom: 2rem;
    line-height: 1.2;
    overflow-x: auto;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 1rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.5rem;
}

#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    font-family: inherit;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 3px 3px 0px var(--shadow-color);
}

#theme-toggle:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px var(--shadow-color);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-color);
}

/* Link Styles */
.ascii-section a {
    color: #0000FF;
    /* Pure Blue */
    text-decoration: none;
    cursor: pointer;
}

.ascii-section a:hover {
    text-decoration: underline;
}

/* Night Mode Link Color */
body.dark-mode .ascii-section a {
    color: #4da6ff;
    /* Lighter blue for better contrast on black */
}