::selection {
    background-color: var(--highlight);
    color: var(--highlightcolor);
}

/* themes */

:root {
    --bg: #1e1e1e;
    --accent: white;
    --text: white;
    --pr3: lightblue;
    --site: lightgreen;
    --other: white;
    --nav: #282828;
    --navicon: white;
    --highlight: white;
    --highlightcolor: black;
    --navtext: white;
    overflow-x: hidden;
}

body.default {
    --bg: #1e1e1e;
    --accent: white;
    --nav: #282828;
    --navicon: white;
    --text: white;
    --pr3: lightblue;
    --site: lightgreen;
    --other: white;
    --navtext: white;
}

body.hackerman {
    --bg: black;
    --text: lightgreen;
    --other: white;
    --nav: #101010;
    --navtext: lightgreen;
    --navicon: lightgreen;
    --highlight: lightgreen;
    --highlightcolor: black;
}

body.light {
    --bg: white;
    --text: black;
    --pr3: darkblue;
    --site: darkgreen;
    --other: black;
    --highlight: black;
    --highlightcolor: white;
    --nav: lightgrey;
    --navtext: black;
    --navicon: black;
}

body.amber {
    --text: #fefe40;
    --pr3: #fefe40;
    --site: #fefe40;
    --other: #fefe40;
    --bg: #1e1f21;
    --navtext: #fefe40;
    --navicon: #fefe40
}

body.catppuccin {
    --bg: #1e1e2e;
    --text: #8e93ad;
    --site: #a6e3a1;
    --pr3: #89b4fa;
    --nav: #34344e;
    --navicon: #8e93ad;
    --navtext: #8e93ad;
    --highlight: #8e93ad;
    --highlightcolor: #34344e;
}

body {
    font-family: "Jetbrains Mono", "Fira Code", monospace;
    padding: 0;
    margin: 0;
    background-color: var(--bg);
}

/* navigation styling */

.nav {
    background-color: var(--nav);
    padding: 0;
    display: flex;
}

.nav-text {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--navtext);
}

.nav-icons {
    display: flex;
    margin: 0px;
    font-size: 25px;
}

.nav-icons p {
    margin-left: 10px;
    margin-right: 10px;
    color: var(--navicon)
}

/* terminal styling: input and text */

.terminal-input {
    display: flex;
    font-size: medium;
}

.cmd-input {
    font-size: large;
    font-family: monospace;
}

.terminal-input input {
    background-color: transparent;
    border: transparent;
    color: var(--text);
    outline: none;
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.terminal-wrapper {
    padding: 0px 10px;
    color: var(--text)
}

.terminal-input-welcome-text {
    color: var(--text);
}

.terminal-output {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.pr3 {
    color: var(--pr3);
}

.site {
    color: var(--site);
}

.terminal-input-username-text p {
    color: var(--text);
}

.otherstuff {
    color: var(--other);
}

.terminal-input-username-text {
    margin-right: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .nav {
        padding: 5px 0;
    }

    .nav-text {
        font-size: 14px;
    }

    .nav-icons {
        font-size: 20px;
    }

    .nav-icons p {
        margin-left: 5px;
        margin-right: 5px;
    }

    .terminal-wrapper {
        padding: 0 6px;
    }

    .terminal-input {
        font-size: 14px;
    }

    .cmd-input {
        font-size: 16px;
    }
}