@import url('https://fonts.googleapis.com/css2?family=Mozilla+Headline:wght@200..700&family=Mozilla+Text:wght@200..700&display=swap');

/* --- CUSTOM COLOR PALETTE --- */
:root {
    font-size: 1.2em;
    --bg-color: #000000;

    --text-color: #efffef;
    /* White (Main Output) */
    --prompt-color: white;
    /* Orange/Red (Command Prompt) */
    --accent-color: #77216F;
    /* Deep Purple (Borders, accents) */
    --link-color: #dd7afb;
    /* White for links (high contrast) */
    --secondary-text: #333333;
    /* Dark Gray for less important text */
    font-family: 'Mozilla Text', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* --- GLOBAL STYLES --- */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    margin: 0;
    padding: 15px;
    line-height: 1.5;
}


::selection {
    background-color: #efffef;
    color: #100010;
}

ul {
    margin: 0 0 0 0;
}


h1 {
    font-family: 'Mozilla Headline', Arial, Helvetica, sans-serif;
    margin: 0 0 0 0;
    /* Added this to help with constrained width */
    word-break: break-word;
}

h2 {
    font-family: 'Mozilla Headline';
    margin: 0 0 0 0;
}

h3 {
    margin: 0;
}


#picOfMe {
    margin: 0 5px 0 5px;
    display: inline;
    width: 120px;
    height: auto;
    border: 1px solid #efffef;
}


/* --- TERMINAL CONTAINER --- */
.terminal-container {
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid var(--accent-color);
    /* border: 1px solid var(--accent-color); */
    padding: 20px;
    background-color: #100010;
}


.command {
    color: var(--prompt-color);
    display: block;
    font-weight: bold;
    white-space: pre-wrap;
}

.output {
    color: var(--text-color);
    white-space: wrap;
}

.inverted {
    background-color: #efffef;
    color: #100010;
}

.inverted::selection {
    background-color: #100010;
    color: #efffef;
}

#topLinks {
    margin: 0 10px 10px 0;
}


#me {
    justify-content: center;
    display: flex;
    align-items: center;
}

#bigname {
    margin: 0 0 0 10px;
    text-align: center;
    font-size: 3.5em;
}

footer {
    margin: 15px auto 0 auto;
    padding: 15px;
    max-width: 1100px;
    text-align: center;
}


/* Styling for Links within Output */
 a {
    color: var(--link-color);
    text-decoration: none;
    text-shadow: none;
}

 a:hover {
    color: var(--prompt-color);
    text-decoration: underline;
}

.pages {
    max-width: 100px;
    margin: 0 10px 0 0;
}


/* ========================================= */
/*           MOBILE RESPONSIVENESS            */
/* ========================================= */
@media (max-width: 768px) {
    
    body {
        padding: 10px;
    }

    .terminal-container {
        padding: 15px;
    }

    #bigname {
        font-size: 1.5em;
    }

    .command {
        font-size: 0.9em;
    }
    
    .output {
        font-size: 0.95em;
    }

    /* FIX: Constrain the H1 on resume page specifically */
    .command-block h1 {
        max-width: 100%; /* Ensure it takes up available space */
        overflow-wrap: break-word; /* Force text to wrap if needed */
        word-break: break-word; /* Allow word breaks */
        font-size: 1.4em; /* Slightly larger base for readability on small screens */
    }

    #me {
        flex-direction: column;
        align-items: center;
    }

    #picOfMe {
        width: 100px;
        margin-bottom: 5px;
    }

    .pages {
        max-width: 80px;
    }

    footer {
        font-size: 0.85em;
        padding: 10px;
    }
}
