@font-face {
    font-family: 'Karla';
    font-weight: normal;
    font-style: normal;
    src: url(fonts/karla/Karla-Regular.ttf);
}

@font-face {
    font-family: 'Jost';
    font-weight: normal;
    font-style: normal;
    src: url(fonts/Jost-Regular.ttf);
}

body{
    font-family: 'Karla', sans-serif;
    
    font-family: 'Jost';
    background-color: rgb(19, 19, 19);
    margin:0;
    padding: 0;
    color:#fff;
}

header{
    
    overflow:hidden;
    padding: 0;
}

footer{
    padding: 1.5em 2em;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    width:100%;
}
footer p{
    font-size: 1.2em;
    vertical-align: middle;
    margin: 4em 0;
}

#contactText {
    font-size: 1.2em;
    vertical-align: middle;
    margin: 1em 2em 4em 2em;
}
#titleBox {
    position: relative;
    margin: 0;
    padding: 0 0 min(56vw, 100vh) 0;
    overflow: hidden;
    width:100%;
    /*height:2em;*/
}
.titleBar {
    position: fixed;
    top: 2vw;
    width: 96vw;
    left: 2vw;
    color: #fff;
    font-size: 1.6em;
    height: 0;
    z-index: 30;
}
#siteTitle {
    position: relative;
    margin: 0;
    font-family: serif;
    font-family: 'Jost';
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    float: left;
    font-size: 1em;
}

    #siteTitle span {
        display: block;
        padding-top: 0.4em;
        box-sizing: border-box;
        vertical-align: middle;
        z-index: 30;
        /*text-shadow: 0 0 0.1em rgba(255,255,255,1);*/
    }

.tileBarItem {
    font-size: 1em;
    position: relative;
    border: 0.08em solid rgba(255,255,255,1);
    padding: 0 1em;
    background-color: rgba(0, 0, 0, 0.11);
    background-clip: padding-box;
    backdrop-filter: blur(0.5em);
    border-radius: 0.2em;
    height: 2.3em;
    border-radius: 2em;
    letter-spacing: 0.2em;
    /*box-shadow:rgba(0,0,0,0.8) 0 0.5em 2em;*/
}

.mailIconWrapper {
    box-sizing: border-box;
    padding-right: 100%;
    display: block;
    float: right;
    padding: 0;
    overflow: hidden;
}
.mailIcon {
    display: block;
    height: 100%;
    padding: 0;
    float: right;
    cursor: pointer;
}

.mailText {
    font-family: serif;
    font-family: 'Jost';
    font-weight: normal;
    margin: 0;
    padding: 0.4em 1.1em;
    font-size: 1em;
    overflow: hidden;
}

.sectionTitle {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    font-family: serif;
    padding: 0.5em 1em;
    font-family: 'Jost';
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.5);
}

.bgVideoWrapper {
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: -10;
}

#bgVideo {
    /*position:relative;*/
    /*top:auto;*/
    /*top: -6vw;*/
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    /*margin: auto;*/
    width: 100%;
}
#bgVideoPlayButtonWrapper {
    font-size: 1.6em;
    position: absolute;
    bottom: 50%;
    z-index: 0;
    width: 100%;
    height: 2em;
    float: none;
}
#bgVideoPlayButton {
    display: block;
    margin: 0 auto;
    height: 100%;
    float: none;
    z-index: 10;
    border: 0.08em solid rgba(255,255,255,1);
    background-color: rgba(0, 0, 0, 0.11);
    background-clip: padding-box;
    backdrop-filter: blur(0.5em);
    padding:1em;
    overflow:visible;
    border-radius: 5em;
    cursor:pointer;
}

.scrollArrow {
    position: absolute;
    bottom: 0.7em;
    z-index: 0;
    width: 100%;
    float: none;
}
.scrollText {
    font-size: 1.05em;
    text-align: center;
    font-family: serif;
    font-family: 'Jost';
    font-weight: normal;
    margin: 0.3em;
}
.scrollArrowCanvas {
    display: block;
    height: 1em;
    width: 2.5em;
    margin: 0 auto;
}

.backArrow {
    display: block;
    width: 100%;
}
.backArrowAnchor{
    display:block;
    height:2em;
    width:2em;
    padding:1em;
}

p{
    color:#fff;
    
    font-family: 'Karla';
}

.postGridWrapper{
    background-color: black;
}

.postpreview {
    display: block;
    background-color: #000;
    cursor: pointer;
    position: relative;
    width: 20%;
    box-sizing: border-box;
    float: left;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s;
}

.postpreview:hover{
    z-index:10;
    box-shadow: 0 0.8em 1.5em rgba(0, 0, 0, 0.4);
}

.postpreview:hover img{
    filter:  grayscale(0%)  blur(0) brightness(1) contrast(1);
}

.postpreview img{
    
    width:100%;
    display: block;
	transition:filter 0.2s;
    filter:  grayscale(100%) blur(0) brightness(0.9) contrast(1.1);
}
.post{
    width:100%;
}

.postTitle{
    text-align: center;
    max-width:50%;
    margin:2.5em auto;
}


.content {
    max-width: 50%;
    display: block;
    margin: 2.5em auto;
}
/*img.content{
    max-height: 70vh;
}*/
.post p{
    font-size: 1.3em;
    text-align:justify;
    padding:1em 2em;
    line-height: 2em;
    
}

.lightboxbg{
    position:fixed;
    width:100%;
    height:100vh;
    top:0;
    z-index: 100;
    text-align: center;
    background-color: rgba(0, 0, 0);
}
.lightboximg{
    position:relative;
    max-width:100%;
    max-height:100vh;

    vertical-align: middle;
}
.alignhelper{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.sketchfab-embed-wrapper{
    margin:0em 0em;
    position: relative;
    padding-bottom: 56.25%;
}

.sketchfab-embed-wrapper iframe{
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}


@media (max-width:90em){
    
    img.content {
        max-width:80%;
    }

    .postpreview{width:25%;}
}

@media (max-width:60em){
    img.content {
        max-width:100%;
    }
    .postpreview{width:33.3%;}
}
