html {
    color: #FFF1E6;  
    background-color: #424242;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;  
/*    font-size: 19px;*/
    font-size: 119%;
    font-weight: 100;
    letter-spacing: 0.05em;
}
body, div, p, ul {
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6, button {
    font-family: inherit;
    font-weight: inherit;
}
a {
    color: #FFF1E6; 
    text-decoration: none;
    border-bottom: 1px solid;
}
a:visited {
    color: #73B677;   
}
canvas {
    display: block;
    background-color: #fff1e6;
    box-shadow: inset 2px 2px #000000,  inset -2px -2px #000000;
    width: 100%;
    max-width: 42em;
    height: 128px;
}
p {
    font-weight: 100;   
    font-size: 1.2rem;
}
p img {
    width: 30%;  
}


.header {
    width: 100%;
/*    min-width: 100em;*/
    height: 5em;
    background-color: #FFF1E6;
    color: #000000;
    position: fixed;
    top: 1.4em;
    overflow: visible;
    border: 3px solid #000000;
    border-left: none;
    border-right: none;
}
.header:before {
    content: "";
    width: 100%;
    height: 1.4em;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #424242;
    z-index: -1;
}
/*
.header .nav a {
    color: #000000;
    text-decoration: none;
    font-weight: 200;
    font-size: 2rem;
    line-height: 100%;
    padding: 0.6em;
    display: inline-block;
    margin-left: 0.2em;
}
*/
#logo {
    width: 5.5em; 
    float: left; 
    margin-left: 1em;
    margin-top: -1em;
    z-index: 999;
}
.nav-block {
    width: 10em;
    text-align: center;
    float: left;
    margin: 0.3em 0.6em;
/*    padding: 0.3em 0.6em;*/
    color: #424242;
}
a:hover .nav-block .nav-title{
    font-weight: 200;   
}
.nav-line {
    width: calc(100% - 1rem);
    height: 2px;
    background-color: #000000;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: -100;
}
.nav-line:before, .nav-line:after {
    content: "";
    border: 2px solid #000000;
    background-color: #73B677;
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 100%;
    position: absolute;
    top: -3px;
    left: calc(0% - 8px);
}
.nav-line:after {
    left: 100%;   
}
.nav-title, .nav-subtitle {
    display: block;
    letter-spacing: 0.2em;
    padding: 0.2em;
    padding-left: 0.4em;
}
.nav-title {
    font-size: 1.6rem;
    line-height: 1.2em;
}
.nav-subtitle {
    font-size: 0.9rem; 
    font-weight: 200;
    padding-top: 0.4em;
}
a.anchor { 
    display: block;
    visibility: hidden;
    padding-top: 8em;
    margin-top: -8em;
}



.main-content {
    width: 100%;
/*    max-width: 42em;*/
    margin: 0em auto;
    margin-top: 8em;
}
.main-content p {
    margin: 1.5em;  
    line-height: 1.3em;
}
.main-content img.float-left {
    float: left;
    margin-right: 1em;
    margin-bottom: 0.5em;
    border: 3px solid #000000;
}
.main-content img.float-right {
    float: right;
    margin-left: 1em;
    margin-bottom: 0.5em;
    border: 3px solid #000000;
}
.bio {
    text-align: center; 
    font-size: 1.5rem;
}
.bio .name, 
.bio .title {
    letter-spacing: 0.2em;
    margin: 0.1em;
}
.bio .contact {
    margin: 2em;
    margin-top: 0.5em;
}
.bio .nav-line:before,
.bio .nav-line:after {
    background-color: #A75481;
}
.portrait {
    border: 2px solid #000000;    
}
.thumbnail {
    display: block;
    width: 100%;
    max-width: 10em;
}



.project-table {
    width: 100%;
    margin: 2em auto;
    border-collapse: collapse;
}
.project-table td {
    text-align: center;
    width: 50%;
}
.project-table .thumbnail {
    margin: 0 auto;  
    margin-bottom: 0.5em;
}
.project-table .frame {
    width: 0.5em;
    border: 2px solid #000000; 
    background-color: #FFF1E6;
}
.project-table .frame.accent {
    background-color: #A75481;
}
.project-table .frame.accent2 {
    background-color: #73B677;
}

.footer {
    width: 100%;
    border-top: 3px solid #000000;
    border-bottom: 3px solid #000000;
    background-color: #fff1e6;
    color: #000000;
    font-weight: 200;
    text-align: center;
    padding: 1em 0;
}
.footer a,
.footer a:visited {
    color: #000000;
}






#lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}
#lightbox {
    width: 70%;
    margin: 7% auto;
    background-color: #424242;
    padding: 1em;
    border: 2px solid #000000;
    text-align: center;
}
#lightbox-image {
    max-height: 60vmin;
    max-width: 100%;
}
#lightbox-title {
    font-size: 1.5rem;
    margin: 0;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}
#lightbox-description {
    
}
#lightbox-close {
    width: 32px;
    height: 32px;
    background-color: #FFF1E6;
    position: absolute;
    top: 0%;
    left: 0%;
    margin-top: calc(7% - 17px);
    margin-left: calc(85% + 1em - 17px);
    border: 2px solid #000000;
    border-radius: 100%;
    overflow: hidden;
    cursor: pointer;
}
#lightbox-close:before, 
#lightbox-close:after {
    content: "";
    width: 50px;
    height: 4px;
    background-color: #A75481;
    position: absolute;
    top: 12px;
    left: -11px;
    border: 2px solid #000000;
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}
#lightbox-close:after {
    background-color: #73B677;
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
}


@media (width > 1000px) {
    .main-content {
        max-width: 42em;
        margin: 0 auto;
        margin-top: 8em;
    }
}
@media (width <= 1000px) {
    .header {
        height: 4em; 
        top: 0.5em;
    }
    .header:before {
        height: 0.5em;
    }
    #logo {
        margin-left: 0.2em;
        margin-top: -0.55em;
        width: 4em;
    }
    .nav-block {
        width: 7em;
    }
    .nav-title {
        font-size: 1.3rem;
    }
    .nav-subtitle {
        font-size: .7rem;
    }
    a.anchor { 
        padding-top: 6em;
        margin-top: -6em;
    }
    .main-content {
        margin-top: 6em;
    }
}
@media (width <= 700px) {
    .header {
        height: 3em;
    }
    #logo {
        margin-top: -0.45em;
        width: 3em;
    }
    .nav-block {
        width: 15%;
    }
    .nav-title {
        font-weight: 200;
        font-size: 0.65rem;
    }
    .nav-subtitle {
        font-weight: 200;
        font-size: 0.5rem;
    }
    a.anchor { 
        padding-top: 4.5em;
        margin-top: -4.5em;
    }
    .main-content {
        margin-top: 4.5em;
    }
    .main-content p {
        margin: 1em 0.5em;
        font-weight: 200;
    }
    p img {
        width: 45%;  
    }
    .main-content img.float-left {
        margin-right: 0.5em;
    }
    .main-content img.float-right {
        margin-left: 0.5em;
    }
    .bio {
        font-size: 80%;
    }
    .footer {
        font-size: 0.8em;
    }
}
@media (width <= 400px) {
    .header {
        height: 2.5em;
        border: 2px solid black;
    }
    #logo {
        width: 2.5em;
    }
    .nav-title {
        font-weight: 400;
        font-size: 0.6rem;
        padding: 0.1em;
        padding-left: 0.2em;
    }
    .nav-subtitle {
        font-weight: 400;
        font-size: 0.42rem;
    }
    a.anchor { 
        padding-top: 3.5em;
        margin-top: -3.5em;
    }
    .main-content {
        margin-top: 3.5em;
    }
    .project-table td {
        font-size: 90%;
    }
}


