html {
    background: #fbfbfb;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    height: 100%;
    min-width: 300px;
}

.main {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: auto;
    max-width: 800px;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
}


h2, h3, h4, h5, h6 {
    font-family: 'Lato';
    color: #222;
    font-weight: 100;
    line-height: 1;
    margin-bottom: .4em;
}

h1 {
    color: #fbfbfb;
    font-size: 75px;
    margin-left: 18px;
    margin-right: 18px;
    letter-spacing: 1px;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
}

p {
    margin-top: 7px;
    margin-bottom: 7px;
    text-align: justify;
}

a {
    text-decoration: none;
}

@media only screen and (max-width: 640px) {
    .main {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 65px;
    }
    .projHead {
        font-size: 55px;
    }
}

@media only screen and (max-width: 410px) {
    h1 {
        font-size: 50px;
    }
    .projHead {
        font-size: 40px;
    }
}

h2 {
    letter-spacing: .07em;
    font-size: 40px;
    margin-bottom: 7px;
}

a {
    color: #0083e8;
}

b, strong {
    font-weight: 600;
}

samp {
    display: none;
    text-align: inherit;
}

#baseNav {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 700;
    font-size: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(51,51,51,0);
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 200ms ease-in-out;
}

#baseNav.hide {
    transform: translateY(-100%);
}

.navList {
    float: left;
}

.hoverable {
    display: block;
    color: #fbfbfb;
    text-align: center;
    text-decoration: none;
    padding: 18px 20px;
    transition: background-color 150ms ease-in-out;
}

@media only screen and (min-width: 640px) and (min-height: 450px) {
    .hoverable.scrolled:hover {
        background-color: #111;
    }
}

@media only screen and (max-width: 480px) {
    .hoverable {
        padding-left: 0;
        padding-right: 0;
        width: 25vw;
    }
}

/* Help from: https://free.nkdev.info/jarallax/*/
.overlay {
    display: table;
    width: 100%;
    height: 75vh;
    background-color: rgba(39, 35, 51, 0.6);
}
@media only screen and (max-height: 740px) {
    .overlay {
        height: 100vh;
    }
}
.overlay-cell {
    position: absolute;
    left: 0;
    top: 10vh;
    width: 100%;
    text-align: center;
}

.fadeInImgDown {
    transition: all 1.7s ease-in-out;
    opacity: 0;
    transform: translate3d(0,-60%,0);
}

.fadeInImgDown.load {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.fadeInImgDown.load.floated {
    transition: all .15s ease-in-out;
}

@media only screen and (min-width: 640px) and (min-height: 450px) {
    .fadeInImgDown.load.floated:hover {
        transform: scale(1.1);
    }
}

.fadeInDown {
    transition: all 1.2s ease-in-out;
    opacity: 0;
    transform: translate3d(0, -20%, 0);
}

.fadeInDown.load {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.bannericon {
    height: 128px;
    width: 128px;
}

#mainBanner.bannericon {
    margin-left: 50px;
    margin-right: 50px;
}

@media only screen and (max-width: 640px), only screen and (max-height: 480px) {
    .bannericon {
        height: 100px;
        width: 100px;
    }
}

@media only screen and (max-width: 480px) {
    .bannericon {
        height: 87px;
        width: 87px;
    }
}

@media only screen and (max-width: 410px), only screen and (max-height: 370px) {
    .bannericon {
        height: 70px;
        width: 70px;
    }
}

@media only screen and (max-width: 640px) {
    #mainBanner.bannericon {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 370px) {
    #mainBanner.bannericon {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-height: 480px) {
    h1 {
        margin-bottom: 30px;
    }
}

@media only screen and (max-height: 480px) {
    h1 {
        margin-bottom: 30px;
    }
}

#headshot {
    float: right;
    margin-left: 20px;
}

@media only screen and (max-width: 480px) {
    #headshot {
        float: none;
        margin: 0 auto;
        text-align: center;
        display: block;
    }
}

h3 {
    font-size: 30px;
    letter-spacing: 2px;
    margin-top: 20px;
}

h4, h6 {
    font-size: 21px;
    margin-top: 0px;
}

h6 {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
}

h5 {
    margin: 0;
    font-size: 75px;
    font-family: 'Yantramanav', sans-serif;
    color: #fbfbfb;
    font-weight: 400;
    letter-spacing: 5px;
}

@media only screen and (max-width: 480px) {
    h5 {
        font-size: 60px
    }
}

@media only screen and (max-width: 370px) {
    h5 {
        font-size: 40px
    }
}

.overlay-cell.header {
    top: 115px;
}

.description {
    list-style-type: square;
    margin-top: 0px;
}

.sections {
    height: 300px
}
.scaleimg {
    transition: all 0.2s ease-in-out;
}

.scaleimg:hover {
    transform: scale(2);
}

footer {
    background-color: rgb(51,51,51);
    height: 60px;
    text-align: center;
    color: darkgray;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

@media only screen and (max-width: 380px) {
    footer {
        font-size: 12px;
    }
}


.projHead {
    font-weight: 400;
    font-family: Lato, sans-serif;
}

.cellHead {
    top: 30vh;
}

.bufferBot {
    padding-bottom: 2em;
    margin-bottom: 0;
}

.bufferTop {
    padding-top: 1.5em;
    margin-top: 0;
}

.bufferImg {
    margin-bottom: 0;
    padding-bottom: 1.5em;
}

.graph {
    width: 100%;
    display: block;
    margin: 0 auto;
}

@media only screen and (max-height: 640px) {
    .graph {
        width: auto;
        height: 80vh;
    }
}

.iframeContain {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.iframeContain iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.containerContainer {
    max-width: 560px;
    margin: 0 auto;
    display: block;
}

section {
    padding-top: 0.7em;
    margin-top: 0;
    padding-bottom: 0.7em;
}

.morphGif {
    height: 256px;
    width: 256px;
    border: 2px solid;
    display: block;
    margin: 0 auto;
}


