body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}
body {
    background-color: black;
}
h1, .about-text {
    font-family: 'Lato', sans-serif;
}
.about-text {
    padding: 50px;
}
#slide1, #slide2{ width: 100%; }
#slide2 {
    background-color: #999;
    color: #111;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    padding: 60px 0;
}
#slide3{
    background: url("/paper.png") 50% 0 no-repeat fixed;
    color: #333;
    min-height: 600px;
    padding: 60px 0 60px 0;
    background-size: cover;
}
#slide4 {
    background-color: #333;
    color: #ccc;
    background: url("/hvzsite.png") 50% 0 no-repeat fixed;
    min-height: 600px;
    background-size: cover;
    padding: 60px 0 60px 0;
}
#slide5{
    background-color: #999;
    color: #333;
    padding: 60px 0;
}
.resumelist, .projectlist {
    list-style: none;
    margin-left: 2em;
}
.resumedate, .projectdate {
    text-transform: lowercase;
    color: #777;
    font-size: 12pt;
    padding: 3px 0 3px 0;
    margin: 3px 0 3px 0;
    display: block;
}
.resumejob, .projecttitle {
    margin: 5px 0 5px 0;
    padding: 5px 0 5px 0;
    font-size: 24pt;
}
.resumeitemtext, .projecttext {
    margin-left: 2em;
    max-width: 40em;
}
.projecturl {
    margin-left: 2em;
}
.projecturl a {
    color: #ccc;
}
.projecturl a:visited {
    color: #888;
}
.project {
    background-color: rgba(0,0,0,.7);
    border-radius: 1em;
    padding: 2em;
    max-width: 40em;
}
.projecttext {
    line-height: 1.5em;
}
.resumeposition {
    padding: 3px 0 3px 0;
    margin: 3px 0 3px 0;
    font-style: italic;
    font-size: 12pt;
}
.resumeitem {
    padding-bottom: 40px;
}
.resumetype {
    color: #911;
    margin-left: 1.5em;
}
#backdrop {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    z-index: -1;
    top: 0;
    display: block;
    background-image: url("/backdrop.jpg");

    height: 100%;
    width: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(5px) saturate(60%) grayscale(30%) brightness(30%);
}
#nav ul{
    list-style: none;
    display: inline-grid;
    /*margin: 0;*/
    width: auto;
    padding-left: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
}
#nav li{
}
#nav1 {
    grid-column-start: 1;
}
#nav2 {
    grid-column-start: 2;
}
#nav3 {
    grid-column-start: 3;
}
#nav4 {
    grid-column-start: 4;
}
.aboutmeheader {
    padding-left: 1em;
    display: inline-block;
}
.contactinfo a{
    color: #111;
    text-decoration: none;
    font-style: italic;
}
.contactinfo {
    margin-left: 2em;
}
.resumeheader {
    padding-left: 1em;
    display: inline-block;
    color: #111;
}
.projectsheader {
    padding-left: 1em;
    display: inline-block;
}
.contactheader {
    padding-left: 1em;
    display: inline-block;
}
.about {
    display: grid;
    grid-template-columns: 75% 25%;
    align-items: center;
}
.about-left {
    grid-column-start: 1;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    text-align: center;
}
.about-right {
    grid-column-start: 2;
    height: 100%;
    width: 100%;
}
#profileimage {
    max-height: 400px;
    min-width: 100px;
    max-width: 100%;
}
#topbar {
    top:0;
    width:100%;
    height:5em;
    padding-right: 1em;
    line-height: 5em;
    background-color: rgba(0,0,0,.5);
    text-align: right;
    vertical-align: right;
    position: fixed;
    z-index: 100;
}
#logo{
    padding-top: .25em;
    padding-left: .25em;
    filter: drop-shadow(1px 1px 2px #000) brightness(80%);
    height:4.5em;
    width:4.5em;
    cursor: pointer;
    float:left;
}
.topbarbutton {
    text-decoration: none;
    display: inline-block;
    outline: 2px solid #999;
    color: #999;
    text-align: center;
    vertical-align: middle;
    box-shadow: 1px 1px 2px #000;
    text-shadow: 1px 1px 2px #000;
    line-height: 2em;
    cursor: pointer;
}

@media (min-width:601px)
{
    #nav ul li {
    }
    .topbarbutton{
        padding: 5px 10px 5px 10px;
        width: 6em;
        margin: 5px 10px 5px 10px ;
    }
}

@media (max-width:601px)
{
    #nav ul li {
    }
    .topbarbutton{
        font-size: 12px;
        padding: 2px 5px 2px 5px;
        width: 5em;
	margin: 2px 10px 2px 10px ;
    }
}

.bodycontent {
    margin: 0 auto; width:100%;
}
.scrollholder {
    margin: 0;
    padding: 0;
    width: 100%;
    height:100%;
    vertical-align: middle;
    text-align: center;
}
.content {
    position: absolute;
    top: calc(50% + 2.5em);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 4em;
    overflow: hidden;
    font-family: 'Lato', sans-serif;

    color: #ecf0f1;
}
@media (max-width: 600px) {
    .content {
        font-size: 14px;
        line-height: 20px;
        width: 20em;
    }
}
@media (min-width: 601px)
{
    .content {
        font-size: 35px;
        line-height: 40px;
        width: 20em;
    }
    .about-text {
        font-size: 24px;
    }
}
.content__container {
    font-weight: 600;
    overflow: hidden;
    height: 1.15em;
}

@media (min-width: 601px)
{
    .content__container:after, .content__container:before {
        position: absolute;
        top: 0;
        color: #16a085;
        font-size: 42px;
        line-height: 40px;
        -webkit-animation-name: opacity;
        -webkit-animation-duration: 2s;
        -webkit-animation-iteration-count: infinite;
        animation-name: opacity;
        animation-duration: 2s;
        animation-iteration-count: infinite;
    }
}
@media (max-width: 600px)
{
    .content__container:after, .content__container:before {
        position: absolute;
        top: 0;
        color: #16a085;
        font-size: 14px;
        line-height: 20px;
        -webkit-animation-name: opacity;
        -webkit-animation-duration: 2s;
        -webkit-animation-iteration-count: infinite;
        animation-name: opacity;
        animation-duration: 2s;
        animation-iteration-count: infinite;
    }
}
.content__container__text {
    display: inline;
    float: left;
    margin: 0;
}
.content__container__list {
    margin-top: 0;
    padding-left: 0;
    text-align: center;
    list-style: none;
    -webkit-animation-name: change;
    -webkit-animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
    animation-name: change;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}
.content__container__list__item {
    line-height: 1.2em;
    margin: 0;
}
#whatever {
    color: rgb(180,180,255);
}
@-webkit-keyframes opacity {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
@-webkit-keyframes change {
    0%, 23%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    27%, 48% {
        -webkit-transform: translate3d(0, -25%, 0);
        transform: translate3d(0, -25%, 0);
    }
    52%,73% {
        -webkit-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
    77%,98% {
        -webkit-transform: translate3d(0, -75%, 0);
        transform: translate3d(0, -75%, 0);
    }
}
}
@keyframes opacity {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}
@keyframes change {
    0%, 23%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    27%, 48% {
        -webkit-transform: translate3d(0, -25%, 0);
        transform: translate3d(0, -25%, 0);
    }
    52%,73% {
        -webkit-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
    77%,98% {
        -webkit-transform: translate3d(0, -75%, 0);
        transform: translate3d(0, -75%, 0);
    }
}
}
