body .site h1 {
    font-size: 8.626rem;
    letter-spacing: -0.02rem;
    line-height: 1.16;
    /* padding-bottom: 1.8rem; */
    /* margin-bottom: 0.3rem; */
    display: block;
    width: 100%;
    margin: auto;
    margin-bottom: 3rem;
    text-align: left;
}

body.single {
    opacity: 0;
    animation-name: linkfade;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}



body.a {
    outline: none;
}

body.single.white {
    background: white;
}

body.single.white p {
    color: black;
}
body.single.white h1 {
    color: black;
    font-weight: 600;
}
body.single.white #menu a {
    color: black;
}
body.single.white  .text-block-body {
    color: black;
}
body.single.white .om-logo-white {
    background: url('/wp-content/themes/twentyseventeen/assets/images/om-logo-black.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
body.single.white .work-col-extra .gray {
    opacity: 0.3;
}
body.single.white .prev-post a{
    color: black;
}
body.single.white .bottom-nav-name {
    font-weight: 600;
}


body.single .flexcont{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-flow: row wrap;
    flex-wrap: wrap;
    align-content: flex-start;
}

.work-col1 h1 {
    font-size: 8.626rem !important;
    letter-spacing: -0.02rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.16;
}

.work-col1 {width: 100%;/* margin-bottom: 7em; *//* padding-right: 2rem; */}

.work-col2 {width: 75%;margin-top: 1rem;padding-right: 6rem;}

.work-row {
    margin-bottom: 12rem;
    margin-top: -5rem;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.work-col2 p {
    /* font-size: 2.5rem; */
    /* line-height: 1.7; */
    font-size: 4.750rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;
}

.work-col-extra p {
    -webkit-font-smoothing: antialiased;
    font-size: 4.750rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;

}

.work-col-extra a {
    text-decoration: underline;
}

.post-body {
    line-height: 3rem;
    display: flex;
    flex: 1 100%;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    flex-shrink: 1;
    align-content: flex-start;
}

.full-width-16-9 {
    width: 100%;
    margin-bottom: 12rem;
    background-size: cover;
    background-position: center center;
    position: relative;
    flex: 1 100%;
    padding-bottom: 56%;
    display: flex;
}

.full-width-16-9.browser-image {
    /* box-shadow: inset 0 0 0 1px white; */
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    background: none !important;
    /* width: 60%; */
    /* flex-basis: 50%; */
    /* justify-content: center; */
    /* display: flex; */
    align-items: center;
}

.browser-image::before {
    width: 60%;
    content:'';
    border: 1px solid white;
    border-bottom: none;
    border-radius: 1.3rem 1.3rem 0 0;
    height: 4rem;
    /* position:relative; */
    top: -4rem;
    /* flex: 1 100%; */
    /* flex-wrap: nowrap; */
    background-image: url('/wp-content/themes/twentyseventeen/assets/images/browser-dots.svg');
    background-size: 5.5rem;
    background-position: 2rem 1.2rem;
    background-repeat: no-repeat;
    /* justify-content: center; */
}

.browser-image img {
    border: 1px solid white;
    /* border-top: none; */
    max-width: 60%;
}

.phone-image::after {
    position: absolute;
    content:'';
    
}

@media screen and (min-width:1071px){
    .full-width-16-9 {
        padding-bottom: 56%;
    }
}



.full-width-4-3 {
    width: 100%;
    margin-bottom: 12rem;
    text-align: center;
    background-image: contain;
}

.half-width-2-3 {
    display: flex;
    flex-direction: row;
    margin-bottom: 9.5rem;
    flex: 100%;
    position: relative;
    height: max-content;
}

.half-width-2-3 .wp-video {
    width: 50% !important;
}

.half-width-2-3 > *:nth-child(2n - 1){
    padding-right: 1rem;
    padding-left: 0;
    width: 50% !important;
    height: 100%;
}
.half-width-2-3 > *:nth-child(2n){
    padding-right: 0;
    padding-left: 1rem;
    width: 50%;
    height: 100%;
}

.trifecta {
    display: flex;
    flex-direction: row;
    margin-bottom: 12rem;
    flex: 100%;
    position: relative;
     height: max-content;
     margin-left: -2.25rem;
}

.trifecta > *:nth-child(1n){
    width: 33.3333333333333333333%;
    padding: 0 0 0 2.25rem;
    height: 100%;
}
.trifecta > *:nth-child(2n){
    padding: 0 0 0 2.25rem;
    width: 33.3333333333333333333%;
    height: 100%;
}
.trifecta > *:nth-child(3n){
    padding: 0 0 0 2.25rem;
    width: 33.3333333333333333333%;
    height: 100%;
}

.text-block-body {
    /*display: flex;*/
    padding-right: 1.5rem;
    /* width: 50%; */
    line-height: 1.5em;
    font-size: 4.750rem;
    margin-bottom: 12rem;
    /* margin-top: 8rem; */
    flex: 1;
    margin-right: 25%;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;
}

.text-block-body a {
    text-decoration: underline;
}

.credits-block {
    width: 51%;
    float: left;
    padding-right: 4rem;
}

.credits-block h3 {
    font-weight: 400;
    margin-bottom: 1em;
    font-size: 3.5rem;
    opacity: 0.6;
}

.credits-content {
    width: 49%;
    float: right;
    font-size: 4.750rem;
    margin-bottom: 12rem;
    flex: 1;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;
}

.credits-content h3 {
    font-weight: 400;
    margin-bottom: 1em;
    font-size: 3.5rem;
    -webkit-font-smoothing: antialiased;
    opacity: 0.6;
}

.credits-content p {
    width: 67%;
    display: inline-block;
    vertical-align: top;
    line-height: 1.5;
}

.credits-content a {
    text-decoration: underline;
}


.post-body .wp-video-shortcode {
    width:100%;
    /*height: 110vh;*/
}

.wp-video {
    width: 100% !important;
    margin-bottom: 12rem;
}

.bottom-nav {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    padding-bottom: 12rem;
}

.next-post,.prev-post {
    width: 49%;
    cursor: pointer;
}

.bottom-nav-direction {
    font-size: 3.5rem;
    /*margin-bottom: 1.3rem;*/
    pointer-events: none;
    line-height: 1.32;
    opacity: 0.6;
}

.bottom-nav-name {
    font-size: 8.626rem;
    letter-spacing: -0.02rem;
    line-height: 1.16;
    text-align: left;
    margin-bottom: 0.8rem;
    margin-left: -0.1rem;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
}

.bottom-nav-name a {
    color: white;
}

.bottom-nav-name a:hover {
    color: #cacaca;
}

.work-col-extra {
    width: 45%;
    padding-right: 5rem;
    margin-top: 10rem;
}

.work-col-extra:nth-child(4) {
    width: 30%;
    padding-right: 5rem;
    margin-top: 10rem;
}
.work-col-extra:nth-child(5) {
    width: 25%;
    padding-right: 5rem;
    margin-top: 10rem;
}

.work-col-extra .gray {
    color: white;
    opacity: 0.6;
    font-weight: 400;
    font-family: 'ApfelGrotezk–Regular', sans-serif;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    /* -webkit-font-smoothing: unset; */
}

.show-mobile {
    display: none;
}
.hide-mobile {
    display: inherit;
    flex-grow: 1;
}





/* ipad and less */
@media (max-width: 768px){

    .credits-block {
        width: 100%;
        float: left;
        padding-right: 0;
        margin-top: 4rem;
    }

    .credits-block h3 {
        font-size: 3rem;
        font-weight: 400;
        margin-bottom: 1em;
    }


    .credits-content {
        width: 100%;
        float: left;
        font-size: 3.5rem;
    }

    .credits-content h3{
        margin-bottom: 1em;
        font-size: 3rem;
    }

    .full-width-16-9 {
        margin-bottom: 2rem;
    }

    .single {
        margin-top: 13rem;
    }

    body.single.white #menu {
        background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0));
    }

    .work-col1 h1 {
        font-size: 5rem !important;
    }

    .site h1 {
        margin-bottom: 1.5rem;
    }

    .work-col2 p {
        font-size: 3.5rem;
        /* margin-bottom: 4rem; */
    }

    .work-col2 {
        padding-right: 0;
        margin-top: 0;
    }

    .work-col-extra {
        padding-right: 0;
        margin-top: 0;
        width: 100% !important;
        margin-top: 4rem !important;
    }

    .work-col-extra p {
        font-size: 3.5rem;
    }

    .work-col-extra .gray {
        font-size: 3rem;
    }

    .work-row {
        margin-bottom: 8rem;
        margin-top: 0rem;
    }

    .show-mobile .wp-video {
        margin-bottom: 0 !important;
    }

    .half-width-2-3 {
        margin-bottom: 2rem;
    }

    .post-body .wp-video-shortcode {
        height: auto;
    }

    .hide-mobile {
        display: none;
    }
    .show-mobile {
        display: inherit;
    }
    .main-title-wrap {
        position: relative;
        transform: none;
        top: 0;
    }

    .work-col1 {
        width: 100%;
    }

    body .work-col1 h1 {
        font-size: 9.5vw;
        line-height: 1.2;
    }

    .text-block-body {
        margin-right: 0;
        margin-top: 2;
        font-size: 3.5rem;
        margin-bottom: 8rem;
        padding-right: 0;
    }

    .main-title {
        text-align: left;
        padding: 0 2rem;
    }

    .startpage-title br {
        display: none;
    }

    .page-template-page-startpage .main-title h1.startpage-title {
        text-align: left;
        font-family: 'Apfel Grotezk', sans-serif !important;
        margin: 13rem auto 6.876rem;
        padding-bottom: 0;
        font-size: 5rem;
        line-height: 1.17;
    }

    .break-mobile {
        display: inline !important;
    }

    .ej-logo {
        display: block;
        margin: 4.5rem 0 0 0;
        margin: 0;
        width: 5rem;
    }

    .main-logo {
        display: none;    
    }

    .page-template-page-startpage .menu-logo {
        display: inline-block !important;
    }

    .page-template-page-startpage #title-bar {
        display: block;
    }
    

    .page-template-page-startpage.home #page {
        display: initial;
    }

    .flex-cont {
        flex-flow: column;
    }

    .work-col2 {
        width: 100%;
    }

    .work-text-right {
        flex-flow: column;
    }

    .work-image {
        /* padding-bottom: 70vh; */
    }
    .bottom-nav-name {
        font-size: 5rem;
    }
    .bottom-nav-direction {
        font-size: 3rem;
        -webkit-font-smoothing: antialiased;
    }
    .full-width-4-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px){
    .next-post, .prev-post {
        width: 100%;
    }
    
    .bottom-nav-name a {
        color: white;
    }

    .text-block-body {
        margin-right: 0;
        margin-top: 6rem;
    }

    .half-width-2-3 > *:nth-child(2n){
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .work-image {
        /* padding-bottom: 50vh; */
    }

    .half-width-2-3 > *:nth-child(2n - 1) {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .half-width-2-3 {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .half-width-2-3 .wp-video {
        width: 100% !important;
    }
}