/*body a:hover, html a:hover {
    text-decoration: none;
    color: white;
    text-shadow: 0px 0px 1px #FFFFFF;
}
*/

/* html characters */

.challenge {
    font-size: 8rem;
    line-height: 0;
    font-weight: 200;
    opacity: 0.6;
}

.morale {
    font-size: 6rem;
    line-height: 0;
    font-weight: 200;
    opacity: 0.6;
}

.pixel-perfect {
    font-size: 7rem;
    line-height: 0;
    font-weight: 200;
    opacity: 0.6;
    display: inline;
    vertical-align: -0.5rem;
}

a {
    color: white;
    transition: all .2s ease-in-out;
    outline: none;
} 


/* Typography new */


@font-face {
    font-family: 'Apfel Grotezk';
    src: url('/wp-content/themes/twentyseventeen/assets/fonts/ApfelGrotezk/ApfelGrotezk-Regular.woff') format('woff'),
    url('/wp-content/themes/twentyseventeen/assets/fonts/ApfelGrotezk/ApfelGrotezk-Regular.woff2') format('woff2');
}


/*Selection*/

::-moz-selection { /* Code for Firefox */
    color: white;
    background: blue;
  }
  
  ::selection {
    color: white;
    background: blue;
  }



/* Typographic styles */

.italic {
    font-style: italic;
    opacity: 0.75;
}

.black {
    background-color: black !important;
}

.white {
    color: white !important;
}

a:hover {
    color: white;
    opacity: 0.6 !important;
}

.work-styles {
    padding-top: 30%;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

#menu {
    position: initial;
    left: 0;
    top: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 60%,rgba(0,0,0,0) 100%); */
    z-index:100;
    width: 100%;
    padding: 5.626rem 3.75rem 11.876rem 3.75rem;
    display: flex;
    margin-bottom: 0;
}

.page-template-template-work #menu {
    padding-bottom: 3.5rem;
}

#menu a {
    display: block;
    color: white;
    text-decoration: none;
}

#menu a:hover .menu-plus {
    padding-right: 15px;
    text-decoration: none;
    margin-left: -5px;
}

#menu a:hover .menu-minus {
    padding-right: 15px;
    text-decoration: none;
    margin-left: -5px;
}

#menu a:hover .menu-text {
    text-decoration: none;
}

#menu-select {
    /* display: flex; */
    /* width: 49%; */
    /* background: red; */
    text-align: left;
    flex: 10 0 0;
}

.menu-text {
    transition: all .25s ease-in-out;
}

.menu-plus {
    display: inline-block;
    padding-right: 10px;
    transition: all .25s ease-in-out;
}

.menu-minus {
    display: none;
    padding-right: 10px;
    transition: all .25s ease-in-out;
}

/*.fade-gray .menu-plus, .fade-gray .menu-minus, .fade-gray .menu-text {
    color: #999;
}*/



.title-bar {
    display: inline-block;
    /* vertical-align: top; */
    width: 50%;
    cursor: pointer;
    flex: 4 0 0;
    text-align: right;
}

.title-bar h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    cursor: pointer;
}

.title-bar h2 {
    font-size: 1em;
    color: #999999;
}

.work-styles {
    background:grey;
    min-height:100vh;
}

#menu p {
    padding-bottom: .4em;
    display: inline-block;
    vertical-align: top;
    padding-left: 0;
    font-size: 3.5rem;
    line-height: 0.5;
}

#menu-select p:nth-child(2n){
    padding-left: 3.5rem;
}

#menu-select p:nth-child(3n){
    padding-left: 3.5rem;
}


body,html {
    background: black;
    color: white;
    /*mix-blend-mode: difference;*/
    font-family: 'Apfel Grotezk', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    font-size: 9px;
}

.content3d {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.main-title-wrap {
    /* position: relative; */
    /* transform: translateY(50%); */
    /* top: -50%; */
    /* z-index: 100; */
}

.om-logo-white {
    width: 10rem;
    height: 10rem;
    background: url('/wp-content/themes/twentyseventeen/assets/images/om-logo-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    text-align: right;
    display: inline-block;
    margin: auto;
}

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

.main-title h1 {
    /* font-size: 2.5vw; */
    /* text-align: left; */
    /* line-height: 1.3em; */
    /* width: 60%; */
    max-width: 100%;
}

.main-title h1 b {
    font-style: initial;
}

.main-title h2 {
    padding-top: 0;
    color: white;
}

/* Work */

.page-template-template-work .menu-plus-work {
    display: none;
}

.page-template-template-work .menu-minus-work {
    display: initial;
}

.page-template-template-work .menu-padder {
    margin-top: 4em;
}

.post-tags {
    color: white;
    opacity: 0.6 !important;
    /* font-size: 2.5rem; */
    margin-left: 0;
    display: block;
    width: 90%;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 3.5rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.2;
}

button {
    background: black;
    border: 0.05em solid white;
    font-family: 'ApfelGrotezk-Regular', sans-serif;
    font-size: 2.5rem;
    padding: 0.6em 1.2em;
    transition: all .3s ease-in-out;
    border-radius: 0;
    cursor: pointer;
    font-weight: 500;
    /* float: right; */
}

button:hover {
    background: white;
    color: black;
}

article h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0;
}

article h2:before {
    display: none;
    content: '';
    width: .7em;
    height: .7em;
    background-image: url('/wp-content/themes/twentyseventeen/assets/images/work-enter.svg');
    background-repeat: no-repeat;
    margin: .3em .3em 0 0;
}

article {
    margin-bottom: 9rem;
    cursor: pointer;
    display: flex;
    flex-flow: row wrap;
}



article:nth-child(2n) .work-image {
    order: 2;
}

/*

article:nth-child(2n) .work-image {
    background-position: center center;

    margin-right: 10%;
}

article:nth-child(4) .work-image {
    margin-right: 10%;
    padding-right: 40%;
}
*/


article:nth-child(1) .work-text-left {
    padding-bottom: 30%;
}

article:nth-child(1) .work-image {
    margin-left: 2%;
    margin-top: -5%;
    margin-right: 2%;

}

article:nth-child(3) .work-image {
    margin-left: 4%;
    margin-top: -5%;
    margin-right: 2%;
    height: 100vh;

}

article:nth-child(2) .work-image {
    height: 82vh;
    padding-right: 50%;
}

article:nth-child(4) .work-image {
    height: 82vh;
    padding-right: 45%;
}

article:nth-child(5) .work-image {
    margin-left: 2%;
}


article:nth-child(2) .work-text-left {
    padding-left: 10%;
}
article:nth-child(4) .work-text-left {
    padding-left: 10%;
}
/*
article:nth-child(2n+1) .work-text-left {
    padding-left: 8%;
} */

.work-image {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    cursor: pointer;
    flex: 4;
    position: relative;
    height: 88vh;
}
.work-image:hover {
    /*background-size: cover;*/
}




/* About */

.page-template-template-about .menu-plus-about {
    display: none;
}

.page-template-template-about .menu-minus-about {
    display: initial;
}

/* blog */

.page-template-template-blog .menu-plus-blog {
    display: none;
}

.page-template-template-blog .menu-minus-blog {
    display: initial;
}

.about-tagline p {
    font-size: 35px;
}


section {
    margin-top: 7.5%;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

section.collab {
    margin-top: 24rem;
    margin-bottom: 7.5rem;
}

#portrait {

    max-width: 81rem;

}

.about {
    /* min-height: 96vh; */
    position: relative;
    margin-top: 0;
    /* height: 100vh; */
    /* height: 100%; */
}

section.about .about-right p {

    margin-top: 10rem;

}

.page-template-template-services .menu-plus-about.menu-plus {
    display: none;
}

.page-template-template-services .menu-minus-about.menu-minus {
    display: inline;
}

section.about p, section.services p, section.clients p, section.experience p, .experience-place {
    font-size: 4.750rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;
    font-weight: 400;
}

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

.about-right {
    width: 49%;
    float: right;
}

section.clients p {
    line-height: 1.32;
}

.vertical {
    position: relative;
    top: -50%;
    transform: translateY(50%);
}

section p {
    font-size: 3.3rem;
}

.section-title, .experience-title, .experience-year, section.collab.hideme h1 {
    font-weight: 400;
    margin-bottom: 1em;
    font-size: 3.5rem;
    -webkit-font-smoothing: antialiased;
}

.experience-year {
    margin-bottom: 0;
}

.experience-col {
    width: 50%;
    float: left;
}

.collab a {
    /* color: white; */
}
.collab h1 {
    margin-bottom: 0.6em;
}

.collab-mailto {
    -webkit-font-smoothing: antialiased;
    margin-bottom: 2rem;
    font-size: 8.626rem;
    font-weight: 400;
    /* text-decoration: underline; */
    /* border-bottom: 2px solid white; */
    width: -moz-fit-content;
    width: fit-content;
    transition: all .3s ease-in-out;
}

.collab-mailto:hover {
    /* border-bottom: 2px solid gray; */
}

.collab-mailto a {
    /* text-decoration: none !important; */
    /* background: white; */
    /* color: black; */
    /* transition: all .3s ease-in-out; */
}

.page-template-template-work .collab-mailto a {/* transition: color .3s ease-in-out; */}
.page-template-template-work .collab-mailto a:hover {
    text-decoration: none;
    color:rgba(255,255,255,0.7);
}

p.thirds {
    display: inline-block;
    margin-right: 3rem;
}

.experience-place {
    width: 67%;
    display: inline-block;
    vertical-align: top;
    line-height: 1.5;
}

.experience-year {
    /* font-size: 2rem; */
    width: 32%;
    line-height: 1.9;
    display: inline-block;
    text-align: left;
    /* line-height: 0; */
    /* vertical-align: top; */
    /* padding-top: 1.5rem; */
}

.experience-title {
    /* margin-bottom: 1em; */
}


/* Desktop */

h1 {
    font-size: 45px;
    line-height: 1.5em;
    font-weight: 400;
}

h2 {
    font-size: 30px;
    line-height: 1.5em;
    font-weight: 400;
}

h3 {
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 400;
    color: white;
    padding: 0;
    margin: 0;
    opacity: 1;
}

p {
    font-size: 15px;
    line-height: 1.4em;
    font-weight: 400;
    margin: 0;
    font-size: 3.6rem;
    font-weight: 400;
    /* width: 50%; */
}

.clients p {
    line-height: 1.6em;
}

.faded {
    opacity: 0.6;
}

.hide-desktop {
    display: none !important;
}

.nowrap {
    white-space:nowrap;
}

@media (max-width: 1080px){
    article .work-image {
        flex: 100%;
    }
    article:nth-child(2n) .work-image {
        order: initial;
    }
    article .flex-cont {
        flex: 100%;
    }
    
    section.about .about-right p {

        margin-top: 0;
    
    }
}

@media screen and (max-width: 600px){
    #page .work-text-left {
        flex: 100%;
    }

    #page .work-text-right {
        flex: 100%;
        flex-direction: column;
    }

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



/* Mobile */

@media screen and (max-width: 500px) {
    .main-title {
        text-align: center;
    }
    .main-title h1 {
        width: 100%;
    }

    .show-mobile {
        display: block !important;
    }

    .hide-mobile {
        display: none !important;
    }
    .menu-plus {
        display: inline-block;
        padding-right: 0.5rem;
        transition: all .25s ease-in-out;
    }
    #menu-select p:nth-child(2n){
        padding-left: 2rem;
    }
    
    #menu-select p:nth-child(3n){
        padding-left: 2rem;
    }

    #menu a:hover .menu-plus {
        padding-right: 1rem;
        text-decoration: none;
        margin-left: 0rem;
    }
    
    #menu a:hover .menu-minus {
        padding-right: 1rem;
        text-decoration: none;
        margin-left: 0rem;
    }

    /*About mobile*/

    .about-left {
        width: 100%;
        float: left;
        padding-right: 0;
    }

    .about-right {
        width: 100%;
        float: left;
    }

    section.about .about-right p{
        margin-top: 4rem;
        font-size: 3.5rem;
    }


    .page-template-template-services #menu {
        padding: 4rem 1.876rem 4rem;
        position: fixed !important;
    }

    /* Work thumbnails*/

    article:nth-child(1) .work-text-left {
        padding-bottom: 30%;
    }

    article:nth-child(1) .work-image {
    
    margin-left: 0;
    margin-right: 0;
    margin-top: -5rem;
    margin-bottom: -8rem;
    }
    
    article:nth-child(3) .work-image {
        margin-left: 0;
        margin-right: 0;
        margin-top: -8rem;
        margin-bottom: -5rem;
    }

    article:nth-child(3) .work-image {
        height: 70vh;
    }

    article:nth-child(2) .work-image {
        height: 40vh;
        padding-right: 0;
    }
    
    article:nth-child(4) .work-image {
        height: 35vh;
        padding-right: 0;
    }
    
    article:nth-child(5) .work-image {
        margin-left: 0;
        height: 50vh;
    }
    
    
    article:nth-child(2) .work-text-left {
        padding-left: 0;
    }
    article:nth-child(4) .work-text-left {
        padding-left: 0;
    }

    /* Footer */

    section.collab {
        margin-top: 18rem;
        margin-bottom: 6rem;
    }

    p.thirds {
        display: inline-block;
        margin-right: 2rem;
    }

    .collab-mailto {
        margin-bottom: 1rem;
    }

@media screen and (min-width: 425px){
    .show-desktop {
        display: initial !important;
    }

    .hide-desktop {
        display: none !important; 
    }
}
}