:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --accent-color: #e74c3c;
    --content-width: 700px;
    --accent-hover-color: #c0392b;
    --subtext-color: #7f8c8d;
    --text-on-primary-color: #ecf0f1;
    --content-background-color: #fff;
}

@font-face{
    font-family: "CaskaydiaMono Nerd Font";
    src: url('/fonts/CaskaydiaMonoNerdFont-Regular.ttf');
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "CaskaydiaMono Nerd Font", monospace;
    color: var(--primary-color);
    scroll-margin-top: 80px;
    /* scroll-margin-top: 4em; */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover-color);
}

.topBarDiv {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width :100%;
    top: 0;
    z-index: 1000;
}

.topBarButtonContainer {
    display: flex;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    overflow: scroll;
}

.topBarButton {
    padding: 15px 20px;
    color: var(--text-on-primary-color);
    text-decoration: none;
}

.topBarButton:hover, .topBarButtonFirst:hover {
    background-color: var(--secondary-color);
}

.content-column {
    width: 90%;
    max-width: var(--content-width);
    margin: 80px auto 40px auto;
    padding: 20px;
    background-color: var(--content-background-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

p.tabbed {
    text-indent: 2em;
    text-align: left;
    line-height: 1.6;
}

.headshotimg {
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

img.portfolioimg {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.headshotContainerDiv {
    margin: 0 auto 20px 0;
}

.underHeadingText {
    margin-top: 5px;
    font-size: 1.1em;
}

.mailto {
    color: var(--text-color);
}

.portfolio-item {
    margin-bottom: 40px;
    border-radius: 8px;
}

.portfolio-item-last {
    border-radius: 8px;
}

.headerdiv {
    margin-bottom: 40px;
}

.headerText {
    margin-top: 20px;
    text-align: left;
}

.with-subtext {
    margin-bottom: 3px;
}

.portfolio-item .underHeadingText {
    margin-top: 0;
    font-style: italic;
    color: var(--subtext-color);
}

ul.listWithSquares, ul.listWithDiscs {
    list-style-position: inside;
    padding-left: 20px;
}

ul.listWithDiscs li a {
    text-decoration: none;
    color: var(--text-color);
}

ul.listWithDiscs li a:hover {
    color: var(--accent-color);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: auto;
    background-color: var(--primary-color);
    color: var(--text-on-primary-color);
}
