body {
    background-color: #e2ffff;
    font-family: "letter-gothic-std", sans-serif;  
    font-weight: lighter; 
    margin: 0;
    top: 0;
}

#contents {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10em;
    padding-left: 1em;
    padding-right: 1em;

    background-color: rgba(226,255,255,1.0);
}

h1, h2 {
    background-color: white;
/*     margin-left: -0.3em; */
    padding-left: 0.3em;
    padding-right: 0.3em;
    display: inline-block;
    color: black;
}

a {
    background-color: #7cdcff;
    color: black;
    text-decoration: none;
    padding-left: 0.3em;
    padding-right: 0.3em;
    line-height: 1.5em;
}
a:hover {
    background-color: #dddddd;
}

#topBar {
/*
    background: url(/img/dot-07.png);
    background-size: 288px 96px;
*/
    background: url(/img/dot-04.png);
    background-size: 96px 96px;
    background-repeat: repeat;
    width: 100%;
    height: 1.5em;
}

#header {
    margin-top: 1em;
}
#header h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2em;
}
#contactInfo {
    float: right;
    line-height: 3em;
}


/* PROJECT GRID */
/* ------------ */

#projectGrid {
    margin-top: 2em;
}
.project {
    width: auto;
    margin-bottom: 1em;
/*     background-color: #7cdcff; */
    padding: 0 0.5em 0 0.5em;
    margin-left: 2.2em;
    text-indent: -2.2em;
}

.project .headline {
    display: inline;
/*     font-size: 1.2em; */
    padding: 0.3em;
    font-weight: bold;
    vertical-align: middle;
    border-bottom: 1.5px dotted #7cdcff;
}

.project .headline:hover {
    border-bottom: 1.5px solid #7cdcff;
}

a.headline {
    background: none;
}

.project .detail {
    height: 0;
    margin-left: -2.5em;
    margin-top: 1em;
    text-indent: 0;
    overflow: hidden;
    padding-left: 2em;
    line-height: 1.5em;
}
.project .detail.expanded {
    height: auto;
}

.project .detail a {
    display: inline-block;
    line-height: 1.3em;
}

.detail img {
    width: 100%;
    margin-bottom: 2em;
    display: block;
}
.detail .embed-container {
    margin-bottom: 2em;
}

.detail p.tech {
    font-style: italic;
}

/* Responsive embed container */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media screen and (max-width: 800px) {
    #contactInfo {
        float: none;
        display: block;
    }
    .wide {
        display: none;
    }
    
    .project {
/*         width: 100%; */
        height: auto;
        font-size: 0.8em;
    }
}
@media screen and (min-width: 800px) {
    .narrow {
        display: none;
    }
    
    /* End of grid spacers */
    .project:nth-of-type(3n+2).spacer1, .project:nth-of-type(3n+3).spacer1, .project:nth-of-type(3n+3).spacer2 {
        display: block;
        background: none;
    }
}