:root {
    --bg: black;
    --fg: white;
}

* {
    margin: 0px;
    padding: 0px;
    color: var(--fg);
}

hr {
    margin: 9.6px 0;
    color: dimgray;
    border-color: dimgray;
    border-bottom: 0px;
}

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    display: flex;
    justify-content: center;
}

/* NAVBAR */
/* --------------------------- */
nav {
    display: flex;
    align-items: center;
    background-color: black;
    margin: 8px;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }
    nav a {
        width: 100%;
        padding: 8px;
        text-align: center;
        border-top: 1px dashed gray;
    }
}

nav p {
    padding: 14px 26px;
    font-size: larger;
}

nav a {
    margin-right: 12px;
    font-size: larger;
}

/* --------------------------- */

/* VIEWPORT */
/* --------------------------- */
.viewport-content {
    margin: 8px;
    background-color: black;
    min-width: 50%;
    max-width: 50%;
    padding: 14px;
    font-size: larger;
    border-top: 1px dashed dimgray;
    border-left: 1px dashed dimgray;
}

@media (max-width: 800px) {
    .viewport-content {
        max-width: 100%;
    }
}

.viewport-content h1 {
    margin: 14px 0;
}

/* --------------------------- */

/* SPLIT CONTAINERS */
/* --------------------------- */
.split-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-shrink: 1;
}

.split-container .image-link {
    max-width: 360px;
    max-height: 360px;
    border-right: 1px dashed var(--bg);
    border-bottom: 1px dashed var(--bg);
    flex-shrink: 1;
}
.split-container .image-link:hover {
    border-right: 1px dashed gray;
    border-bottom: 1px dashed gray;
}
.image-link img {
    max-width: 360px;
    max-height: 360px;
}

.split-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.centered {
    flex: 1;
    display: flex;
    align-items: center;
}
/* --------------------------- */

/* PORTFOLIO */
/* --------------------------- */
.pf-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.pf-link {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg);
}

.pf-link:hover {
    border-right: 1px dashed gray;
    border-bottom: 1px dashed gray;
}

.pf-link img {
    width: inherit;
}

/* --------------------------- */
