@font-face {
    font-family: "NeueMachinaCustomRegular"; 
    src: url('font/NeueMachinaCustom-Regular.eot');
    src: url('font/NeueMachinaCustom-Regular.ttf') format('truetype'),
        url('font/NeueMachinaCustom-Regular.woff') format('woff'),
        url('font/NeueMachinaCustom-Regular.otf') format('opentype');
}

html {
    background: #f7f7f7;
    font-family: 'NeueMachinaCustomRegular', sans-serif;
    /* font-weight: 400; */
    font-size: 11px;
    line-height: 14px;
    color: #0c0c0c;
    
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -font-smoothing: antialiased;
}


/* TEXT */

/* h1, h2, h3, h4, p, a {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
} */

h1 {
    font-weight: normal;
    font-size: 20px;
    line-height: 21px; 
    margin: 0;
}

/* h2 {
    font-family: "TimesNewRoman", Times, serif;
    font-style: italic;
} */

h2 {
    font-family: 'NeueMachinaCustomRegular', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 14px;
    margin: 0;
}

#menu-overlay h2 {
    font-family: 'NeueMachinaCustomRegular', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 33px;
    line-height: 35px;
    letter-spacing: -0.5px;
    margin: 0;
}

#menu-overlay h3 {
    font-family: "TimesNewRoman", Times, serif;
    font-style: italic;
    font-size: 14px;
    line-height: 14px;
    margin: 0;
}

.superscript {
    font-family: "TimesNewRoman", Times, serif;
    font-style: italic;
    font-size: 0.6em;
    letter-spacing: 0px;
}

.italic {
    font-family: "TimesNewRoman", Times, serif;
    font-style: italic;
    line-height: 0em;
}


p {
    /* font-family: "TimesNewRoman", Times, serif; */
    font-weight: normal;
    font-size: 26px;
    line-height: 28px;
    letter-spacing: -0.5px;
    margin: 0;
    /* margin-bottom: 14px; */
}


.foreword p {
    text-indent: 42px;
}

.numbers {
    font-family: "TimesNewRoman", Times, serif;
    font-style: italic;
    line-height: 0em;
}


a:link, a:visited, a:hover, a:active  { text-decoration: none; color: #0c0c0c; outline: 0; }



.project-title {
    font-weight: 300;
    font-size: 17px;
    /* line-height: 28px;*/
}

.times {
    font-family: "TimesNewRoman", Times, serif;
}

/* INTRO */

.pre-intro {
    background: #0f0f0f;
}

.intro {
     
     background: url(../img/intro-background-04-black-contrast-low.png) no-repeat center center ; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
     /* background: grey; */
    height: calc(100vh - 2*14px); 
    height: calc(var(--vh, 1vh) * 100 - 2*14px);
    padding: 14px;
} 

@media only screen and (min-width: 756px) {
    .intro {
       background-attachment: fixed; 
    }
}


@media only screen and (min-width: 756px) {
    .intro {
        background: url(../img/intro-background-04-horizontal-black-contrast-low.png) no-repeat center center ;
          -webkit-background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          background-size: cover;
         /* background: grey; */
        background-attachment: fixed;
    }
}


.intro-container {
    /* float: left; */
    /* width: 100vw - 14px; */
    height: 100%; 
    /* width 196px; */
    /* background: red; */
    position: relative;
}

.intro-container img {
    height: 50px;
    width: auto;
}

#top-left {
        /* display: block; */
    position: absolute;
    float: left;
    margin-left: 1px;
}

#top-right {
        /* display: block; */
    position: absolute;
    float: right;
    right: 0;
}

#central-text {
    position: absolute;
    top: 47.5%;
    -ms-transform: translateY(-47.5%);
    transform: translateY(-47.5%);
   
}

#central-text p {
    /* font-family: "TimesNewRoman", Times, serif; */
    font-size: 30.5px;
    line-height: 28px;
    letter-spacing: -0.5px; 
    text-align: justify;
    /* text-align-last: center; */
    color: #fff; 
}

@media only screen and (min-width: 1148px) {
    #central-text p {
        font-size: 38px;
        line-height: 35px;
    }
}


#bottom-left {
        /* display: block; */
    float: left;
    position: absolute;
    bottom: 0;
    margin-left: 1px;
}

#bottom-right {
        /* display: block; */
    position: absolute;
    float: right;
    right: 0;
    bottom: 0;
}


/* HEADER & FOOTER */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header {
    /* display: none; */
    /* background: black; */
    width: 84px;
    height: 100%;
    right: 14px;
    position: fixed;
}

.header img {
    background: #f7f7f7;
    /* display: block; */
    float: right;
    margin-right: 0px;
    margin-top: 14px;
    width: 56px;
    height: auto;
}


li .dash, .go-back .dash {
    display: none;
}

/* HOVER only from 2M */

@media (hover:hover) {
    li:hover .dash, .go-back:hover .dash {
        display: inline;
    }
}

footer {
    width: 100vw;
    position: fixed; 
    z-index: 99; 
    bottom: 0; 
    /* right: 14px;  left */
    background-color: #f7f7f7;
    /* padding: 14px; */
    
}

.hide {
    /* opacity:0; */
    bottom: -100%;
    -webkit-transition: all 2s ease-in;
    -moz-transition: all 2s ease-in;
    -ms-transition: all 2s ease-in;
    -o-transition: all 2s ease-in;
    transition: all 2s ease-in;
}
.show {
    /* opacity: 1; */
    bottom: 0;
    -webkit-transition: all 1.5s ease-out;
    -moz-transition: all 1.5s ease-out;
    -ms-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-out;
}

.footer-project {
    visibility: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 14px;
}

footer img {
    height: 22px;
    width: auto;
    margin-bottom: -5px;
}

#menu-on, #menu-off {
    margin-right: 7px;
}

#menu-off {
    display: none;
}

.menu-title {
    display: flex;
    justify-content: space-between;
}


.project-title-menu {
    display: grid;
    grid-template-columns: 28px auto;
    grid-gap: 14px;
    margin-bottom: 7px;
    z-index: 99;
}


.project-section img {
    margin-top: -3px;
}

/* MAIN */

.main {
    /* width: calc(100% - 140px); */
    /* float: right; */
}

.grid {
    /* float: left; */
    width: 100vw -14px;
    padding: 14px;
    /* width 196px; */
    
}

.grid-item {
    /* width: 196px; */
    /* margin-bottom: 42px; */
}

.grid-item img {
    width: 100%;
    height: auto;
    /* margin-bottom: 7px; */
}


.b-n-w img {
    -webkit-filter: saturate(0%);
    filter: saturate(0%);
}

/* PROJECT SECTION */

.project-section {
    background-color: #0f0f0f;
}

.project-section h1, .project-section h2, .project-section h3, .project-section h4, .project-section p {
    color: #fff;
}

.faded {
    opacity: 0.4;
}

/* SPACERS */

.spacer14 {
    height: 14px;
    /* background: red; */
}

.spacer21 {
    height: 21px;
    /* background: red; */
}

.spacer28 {
    height: 28px;
    /* background: red; */
}

.spacer35 {
    height: 35px;
    /* background: red; */
}

.spacer42 {
    height: 42px;
    /* background: red; */
}

.spacer84 {
    height: 84px;
}

.spacer126 {
    height: 126px;
}

.s-black {
    background: #0f0f0f;
}


/* OVERLAY */

#menu-overlay {
    display: none;
    height: 100%;
    width: 100%;
    background-color: #f7f7f7;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    overflow: hidden;
}

#menu-overlay .project-title-menu {
    margin: 0;
}

.overlay-content {
    position: relative;
    width: 100% -14px;
}

#menu-on, #menu-off {
    cursor: pointer;
}

.overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 9;
}


.project {
    width: auto;
    margin: 14px 14px 0px 14px;
}



/* RESPONSIVE 

@media only screen and (min-width: 406px) and (max-width: 503px) {

}

@media only screen and (min-width: 504px) and (max-width: 755px) {

}

@media only screen and (min-width: 756px) {

}

@media only screen and (min-width: 756px) and (max-width: 951px) {

}

@media only screen and (min-width: 952px) and (max-width: 1147px) {

}

@media only screen and (min-width: 1148px) and (max-width: 1483px) {

}

@media only screen and (min-width: 1484px) {

} */


.clearfix::after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}



/* LAST SECTION */

/* @media only screen and (min-width: 410px) {

    #last-section {
        height: 100vh;
    }
} */


/* LAST SECTION — RESPONSIVE */

#last-section {
    /* position: relative; */
}

.last-section-responsive {
    display: grid;
    grid-template-columns: 28px auto;
    grid-gap: 14px;
}

/* .last-section-responsive h4 {
    background: red;
    font-family: "TimesNewRoman", Times, serif;
    font-weight: normal;
    font-size: 13px;
    line-height: 14px;
    margin: 0;
    margin-bottom: 3.5px;
} */

#last-section-text {
    margin-right: 14px;
    /* margin-bottom: 66px; */
}

@media only screen and (min-width: 410px) {
    #last-section-text {
    /* position: absolute; 
    bottom: 66px; */
    }  
}

@media only screen and (max-width: 409px) {
    .small-mobile-only {
        height: 52px;
    }   
}

#last-section p {
    text-indent: 42px;
}

/* .large-text p {
    font-family: "TimesNewRoman", Times, serif;
    font-style: normal;
    font-weight: normal;

} */

#last-section-text p {
    /* font-family: "TimesNewRoman", Times, serif;
    font-weight: normal; */
    font-size: 18px;
    line-height: 21px; 
    /* text-indent: 42px; */
    text-indent: 0;
    letter-spacing: 0px;
    margin: 0;
    margin-left: 42px;
}

#contact-info, #support {
    /* position: absolute; */
    /* bottom: 80px; */
    margin-left: 42px;
}

.last-section-responsive h4 {
    /* font-family: "TimesNewRoman", Times, serif; */
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: 0.2px;
    margin: 0;
    margin-bottom: 7px;
}

#support h4 {
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: 0.2px;
    margin: 0;
    margin-bottom: 7px;
}

#support img {
    height: 30px;
}



/* RESPONSIVE GRID TEST */

.project-section-container .grid-item .image {
        width: 100%;
        height: 210px;
        /* background: red; */

    }
    
    .project-section-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin-top: 0px;
    }


@media only screen and (max-width: 1147px) {
    .desktop-only {
        display: none;
    }
}
    
@media only screen and (min-width: 756px) {
    

    
    .project-section-container {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
    
    
}

@media only screen and (min-width: 1148px) {
    
    .mobile-only {
        display: none;
    }
    
    .intro-container img {
        height: 62px;
        width: auto;
    }
    
    .foreword-container {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
    
    
    
    .project-section-container {
        display: grid;
        grid-template-columns: calc(25% - 10.5px) calc(25% - 10.5px) calc(25% - 10.5px) calc(25% - 10.5px);
        grid-gap: 14px;
    }
    
    .test-desktop-last-section {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
    
        #last-section-text {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
    
    
    #support {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
    
    
    /* #last-section h1 {
        font-size: 42px;
        line-height: 42px;
    } */
    
    footer img {
        height: 27px;
    }

}


@media only screen and (min-width: 1484px) {
    #central-text {
        display: grid;
        grid-template-columns: calc(50% - 7px) calc(50% - 7px);
        grid-gap: 14px;
    }
}




/* LAZYLOAD */

.image {
    position: relative;
    padding-bottom: 66.6666667%;
    background: #0f0f0f;
    /* margin-bottom: 14px; */
}

.grid-item .image {
    /* margin-bottom: 7px; */
}

#manifesto-pic .image {
     padding-bottom: 100%;
}

.image img {
  position: absolute;
  z-index: 2; }

.lazyload,
.lazyloading {
  opacity: 0; }

.loading,
.lazyload,
.lazyloaded,
.image {
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1); 
}


/* STOP TRANSITION/ANIMATION WHEN RESIZING WINDOW */

.resize-animation-stopper * {
  animation: none !important;
  transition: none !important;
}
