* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    outline: none;
}

body,
html {
    margin: 0;
    padding: 0;
    color: black;
    background-color: white;
    overflow: hidden;
}

body {
    font-family: 'Times New Roman', Times, serif;
    -webkit-text-stroke: .65px;
    letter-spacing: 1.5px;
    -webkit-font-smoothing: antialiased;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 128px;
    color: white;
    mix-blend-mode: difference;
}

header div.nav-left {
    flex: 1;
}

header div.nav-right {
    flex: 1;
    text-align: right;
}

header div.nav-right a {
    margin-right: 32px;
}

header div.title {
    text-align: center;
    font-size: 24px;
    width: auto;
    margin: auto;
    font-style: italic;
}

main {
    width: 100vw;
    height: 100%;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
}

section {
    width: 25vw;
    height: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    margin-right: 32px;
}

.description {
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    min-height: 90%;
    justify-content: flex-end;
    margin-right: 32px;
    z-index: 2;
}

.description p a,
.about p a {
    color: black;
    border-bottom: solid 2px black;
}

div.work-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: scroll;
    flex-direction: column;
    padding-top: 128px;
    background-color: white;
}

div.work-container img {
    width: 40%;
    margin-bottom: 64px;
    display: block;
}

div.white-space {
    height: 5%;
}

main::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

div.work {
    display: flex;
    flex-direction: column;
    height: 95%;
    justify-content: flex-end;
    position: sticky;
}

img.small {
    height: 48%;
}

img.medium {
    height: 68%;
}

img.large {
    height: 93%;
}

div.caption {
    height: 2%;
    margin-right: 32px;
}

img {
    height: auto;
    background-color: green;
}

div.about {
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    min-height: 90.25%;
    width: 400px;
    min-width: 400px;
    justify-content: flex-end;
    margin-right: 32px;
}

div.about p,
div.description p {
    margin-bottom: 16px;
}


/* unvisited link */

a:link {
    color: white;
    text-decoration: none;
    font-style: normal;
}


/* visited link */

a:visited {
    color: white;
    text-decoration: none;
    font-style: normal;
}


/* mouse over link */

a:hover {
    color: white;
    text-decoration: none;
    font-style: italic;
    cursor: pointer;
}


/* selected link */

a:active {
    color: white;
    text-decoration: none;
    font-style: normal;
}

a.info {
    color: black;
    text-decoration: none;
    display: block;
}

a.cv {
    color: black;
    text-decoration: none;
    border-bottom: 2px solid black;
    display: inline;
}

a.work-page {
    display: contents;
}

header div.title a:hover {
    font-style: normal;
}

header div.title a {
    font-style: italic;
}

@media only screen and (max-width: 768px) {
    body,
    div.caption {
        font-size: 12px;
        font-family: 'Times New Roman', Times, serif;
        -webkit-text-stroke: .5px;
        letter-spacing: 1.3px;
        -webkit-font-smoothing: antialiased;
    }
    div.about {
        min-width: 300px;
        margin-right: 32px;
    }
    main {
        position: fixed;
    }
    div.about p,
    div.description p {
        margin-bottom: 12px;
    }
    div.work-container {
        height: 100vh;
        top: 0;
    }
    section {
        width: 100%;
        height: auto;
        display: flex;
        position: relative;
        top: 0;
        left: 0;
        z-index: 3;
        margin-right: 0;
    }
    div.work-container img {
        width: 100%;
        margin-bottom: 64px;
    }
    header div.nav-right a {
        display: none;
    }
    header div.title a {
        font-size: 20px;
    }
}