:root {
    --neutral: rgb(221, 205, 191);
    --shadow: rgb(125, 121, 121);
    --background-grey: rgb(190, 190, 190);
    --header-color:rgb(153,120,60);
    --frame-color: #c7b89e;
    --highlight-color: #5d7d86;
    --body-color: #202223;
}

html, body {
    box-sizing: border-box;
}

html { background-color: var(--neutral); }

body {
    color: var(--body-color);
    font-weight: normal;
    line-height: 1.5;
    font-weight: 300;
    line-height: 1.618;
    background-color: var(--neutral);

    margin: 0;
    /*
    @media (pointer:none), (pointer:coarse) {
        margin: 0.25rem;
    }
    */
}

.row {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 8rem;
    margin-right: 3rem;
    margin-left: 3rem;
    @media (pointer:none), (pointer:coarse) {
        margin-bottom: 4rem;
        margin-top: 2rem;
        margin-right: 2rem;
        margin-left: 2rem;
    }
}

#about p {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
    }
}

header div.logo {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-style: bold;
    line-height: 1.5;
    text-transform: none;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 0rem;
    color: var(--header-color);
    font-size: 10.0rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 2.5rem;
    }
}

header div.tagline {
    color: var(--body);
    font-family: "Spectral", serif;
    line-height: 1.5;
    font-weight: 600;
    font-style: italic;
    text-transform: none;
    text-align: center;
    font-size: 6rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 2rem;
    }
}

.highlight-color {
    color: var(--highlight-color);
    font-style: normal;
    line-height: 1.5;
    font-size: 7rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 3rem;
    }
}

.page-wrapper {
    background-color: var(--neutral);
    height: 100%;
    width: 100%;
}

.navigation {
    /*position: absolute;
    z-index: 999;
    position: fixed;
    */
    background-color: rgba(0, 0, 0, 0);
    flex-direction: column;
    align-items: center;
    padding: 1rem 2.5rem 1rem 2rem;
    display: flex;
    top: 0;
    bottom: auto;
    left: 0%;
    right: 0%;
}

.nav-container {
    background-color: var(--neutral);
    margin-top: 2.5rem;
    border-top: 1px solid #916a70;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem;
}

.nav-menu {
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 3rem;
    display: flex;
}

.nav-link {
    font-family: "Dia", Arial, serif;
    padding: 0.5rem;
    font-weight: 800;
    font-style: normal;
    line-height: 2.2;
    text-decoration: none;
    vertical-align: top;
    color: #222;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    text-decoration: underline 0.15em rgba(20, 20, 20, 0);
    transition: text-decoration-color 500ms;
    font-size: 1.5rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 0.75rem;
    }
}

.nav-link:hover {
    text-decoration-color: rgb(21, 21, 21);
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem;
    @media (pointer:none), (pointer:coarse) {
        margin: 1rem;
    }
}

.avatar-frame{border: 1rem solid #c7b89e;
    @media (pointer:none), (pointer:coarse) {
        border: 0.5rem solid #c7b89e;
    }
}

.avatar-frame,.avatar-frame img{
    width: 20rem;
    height: 20rem;
    @media (pointer:none), (pointer:coarse) {
        width: 8rem;
        height: 8rem;
    }

    border-radius: 20rem; /* Opera 10.5, IE 9 */
    }

section.nav-row h2 {
    font-family: "Fraunces", serif;
    line-height: 1.5;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    font-size: 4rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 2rem;
    }
    color: var(--header-color);
    margin: 0.0rem;
}

.role {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    text-align: right;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
    }
    margin: 0.0rem;
}

.education-branch {
    font-family: "Spectral", serif;
    font-weight: 500;
    text-align: right;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
    }
    margin: 0.0rem;
}

.role::after {
    color: var(--header-color);
    content: '\00a0\002B';
}

.role.active::after {
    color: var(--body-color);
    content: "\00a0\2212";
}

section.nav-row p a {
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    color: var(--body-color);
    text-decoration: underline;
    -o-text-decoration-color: var(--header-color);
    -moz-text-decoration-color: var(--header-color);
    -ms-text-decoration-color: var(--header-color);
    -webkit-text-decoration-color: var(--header-color);
    text-decoration-color: var(--header-color);
    transition: text-decoration-color 500ms ease-out;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
    }
    margin: 0.0rem;
}

section.nav-row p a:hover {
    color: var(--header-color);
}

.exp-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1.5rem;
    @media (pointer:none), (pointer:coarse) {
        margin-top: 1.0rem;
    }
}

.exp-card {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
    @media (pointer:none), (pointer:coarse) {
        margin-top: 0.0rem;
        margin-bottom: 0.0rem;
    }
}

.company {
    margin: 0;
    flex-basis: 30rem;
    text-align: left;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1.0rem;
        flex-basis: 8rem;
    }
}

.expanded {
    display: block;
}

.project {
    margin: 0;
    flex-basis: 50rem;
    text-align: left;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1.0rem;
        flex-basis: 8rem;
    }
}

.timeline {
    display: flex;
    flex-direction: column;
    color: var(--header-color);
    width: 12rem;
    flex-basis: 30rem;
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1.0rem;
    }
}

.timeline-line {
    border-right: 2px solid var(--header-color);
    width: 1rem;
    height: 100%;
    align-items: stretch;
}
.timeline-line::after {
    content: "\00a0";
}

#education.nav-row.timeline {
    flex-basis: 1000rem;
}


.collapsible .company:hover,.role:hover {
    text-decoration: underline 0.15em rgb(153,120,60);
    transition: text-decoration-color 500ms;
    color: var(--header-color);
}

/* No hover coloring on touch */
/*
@media (hover: none) {
    .collapsible:hover {color: var(--body);}
}*/

.project-card {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding-bottom: 4rem;
    @media (pointer:none), (pointer:coarse) {
        margin-top: 0.0rem;
        margin-bottom: 0.0rem;
        padding-bottom: 2rem;
    }

    border-bottom: 1px solid #916a70;
}

.job-description {
    flex-basis: 90rem;
    margin-right: 0rem;
    margin-top: 2rem;
    text-align: left;
    font-family: "Spectral", serif;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
    font-size: 1.5rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
        margin-top: 0.0rem;
    }
}

.project-description {
    margin-right: 0rem;
    text-align: left;
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    font-size: 3.0rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
        font-weight: 500;
    }
}

.project-column {
    display: flex;
    flex-direction: column;
}

.images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.images img {
    max-height: 24rem;
    max-width: 24rem;
    margin: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0.15rem 0.15rem 0.2rem 0.2rem var(--shadow);
    @media (pointer:none), (pointer:coarse) {
        max-width: 14rem;
        max-height: 14rem;
        margin: 0.5rem;
        margin-bottom: 2rem;
        border-radius: 0.5rem;
    }

}

.project-description a {
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    color: var(--body-color);
    text-decoration: underline;
    -o-text-decoration-color: var(--header-color);
    -moz-text-decoration-color: var(--header-color);
    -ms-text-decoration-color: var(--header-color);
    -webkit-text-decoration-color: var(--header-color);
    text-decoration-color: var(--header-color);
    transition: text-decoration-color 500ms ease-out;
    font-size: 3rem;
    @media (pointer:none), (pointer:coarse) {
        font-size: 1rem;
    }
    margin: 0.0rem;
}

.project-description a:hover {
    color: var(--header-color);
}

@keyframes slide-in {
    100% {
        transform: tra(0%)
    }
}

.expanded {
    color: var(--body-color);
    transition: color 0.35s ease-in;
 }

.collapsed {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    max-height: 0;
    color: var(--neutral);
}

 .end {
    color: var(--header-color);
    font-family: "Spectral", serif;
    font-weight: 800;
    font-style: normal;
    font-size: 3rem;
 }