@font-face {
    font-family: 'Apercu Pro';
    src: url('fonts/ApercuPro-Regular.eot');
    src: local('Apercu Pro Regular'), local('ApercuPro-Regular'),
        url('fonts/ApercuPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/ApercuPro-Regular.woff2') format('woff2'),
        url('fonts/ApercuPro-Regular.woff') format('woff'),
        url('fonts/ApercuPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Apercu Pro';
    src: url('fonts/ApercuPro-Light.eot');
    src: local('Apercu Pro Light'), local('ApercuPro-Light'),
        url('fonts/ApercuPro-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/ApercuPro-Light.woff2') format('woff2'),
        url('fonts/ApercuPro-Light.woff') format('woff'),
        url('fonts/ApercuPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Apercu Pro';
    src: url('fonts/ApercuPro-Medium.eot');
    src: local('Apercu Pro Medium'), local('ApercuPro-Medium'),
        url('fonts/ApercuPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/ApercuPro-Medium.woff2') format('woff2'),
        url('fonts/ApercuPro-Medium.woff') format('woff'),
        url('fonts/ApercuPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

html {
    /* font-size: 26px; */
    font-size: calc(16px + (26 - 16) * ((100vw - 300px) / (1920 - 300))); 
    line-height: 1.4;

    text-rendering:optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    color: #000;
   /* background: #F2F8F8; */
}

img {
    border-style: none;
}
.bold {
    font-family: 'Apercu Pro', sans-serif;
    font-weight: 500;

}
body {
    margin: 0;
    font-family: 'Apercu Pro', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05px;
    font-size: 1.1rem; /* was 1rem */
    width: 100%;
    height: 100%;
}

h1 {
    font-family: 'Apercu Pro', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05px;
    font-size: 4.615rem;
    line-height: 1.1em;
}
a {
    text-decoration: none;
    /* transition: 500ms; */
}

a:hover {
    text-decoration: underline;
    opacity: 0.9;
    /* transition: 500ms; */
}

.slide {
    width:100%;
    height:100%;
    display: block;
}

.slide > a {
    text-decoration: underline !important;
}

.slide > img {
    display: block;
}

.flipColor {
    color: white;
    mix-blend-mode: difference;
}

.normal_text, .normal_text:visited {
    color: #000;
    text-decoration: none;
}

h2 {
    font-size: 1.86rem; /* was 1.46rem */
    font-weight: 300;
    letter-spacing: 0.07px;
    /* line-height: 52px; */
    cursor: default;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    max-width: 500px;
    min-width: 330px;
}

.post_title {
    text-align: left;
    margin-bottom: 0;
}

.post_title_small {
    text-align: left;
    margin: 8px 0 0 0;
}
/*
h1:before {
    content: "2910.";
    visibility: visible;
}

h1:hover:before {
    visibility: visible;
    content: "twenty-nineten.";
}
*/
.vspacer {
        padding-bottom: 9% !important; /* was 11.11% */
}

.vspacer2 {
        padding-bottom: 4.5% !important; /* was 11.11% */
}

.vspacer_top {
        padding-top: 9% !important; /* was 11.11% */
}

a {
    color: #5555FF;
}

a:visited {
    color: #aa00aa;
}

a:active {
    color: #f33;
}

a:hover {
    color: #f5f;
}

#page_headline {
    text-align: center;
    color: #fff;
    width: 74.305%;
    position: absolute;
    top: 46.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.headline_shadow {
    text-shadow: 0 0 10px rgba(0,0,0,0.24);
}

#intro_img {
    min-height: 95vh;
    max-height: 95vh; 
    width: 100%;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Grid */
#home_link {
    position: fixed;
    top: 5.566vh;
    left: 6.994%;
    z-index:99;
    max-width: 86.111%;
    letter-spacing: 0.05em;
    /* font-size: calc(22px + (26 - 22) * ((100vw - 300px) / (1920 - 300))) !important; */
    /* line-height: 1.3em; */
    font-size: 26px;
    line-height: 19px;
}
#footer_link {
    position: relative;
    /* bottom: 5.566vh; */
    left: 6.994%;
    z-index:98;
    max-width: 86.111%;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    display: inline-block;
    /* line-height: 1.3em; */
}
.hideme {
    opacity: 0;
}
#menu {
    position: fixed;
    top: 5.566vh;
    right: 6.994%;
    z-index:100;
    max-width: 86.111%;
    letter-spacing: 0.05em;
    text-align: right;
    font-size: 24px;
    line-height: 19px;
}

#container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 7vh;
}

.flex_grid, .flex_grid_posts {
    display: flex;
    flex-flow: row wrap;
    /* max-width: 1920px;
    margin: auto; */
}

.flex_grid_small {
    display: flex;
    flex-flow: row wrap;
    margin: 0 6.994%;
    align-items: center;
    justify-content: center;
}

.flex_grid_small > div {
    margin-bottom: 10vh;
}

.col {
    flex-basis: auto;
    flex-grow: 1;
    margin: 0 6.994%;
}


.col_centered {
    flex-basis: auto;
    flex-grow: 1;
    margin: 0 6.994%;
}

.col_full {
    flex-basis: auto;
    flex-grow: 1;
    margin: 0;
  /*  max-height: 93vh; */
}

.col_text {
    flex-basis: auto;
    flex-grow: 1;
    margin: 0 29.861%;
    }

.col_text_block {
    flex-basis: auto;
    flex-grow: 1;
    margin: 14% 29.861%;
    font-size: 1.2rem;
    }

.contact_text_block {
    margin: 7% auto;
    font-size: 1.2rem;
    float: none;
    text-align: center;
}

.contact_text_block > a:link {
    color: #0ff;
}

contact_text_block > a:visited {
    color: #f0f;
}

contact_text_block > a:active {
    color: #f00;
}

.col_img_fullwidth {
    position:relative;
    left:0;
    right:0;
    margin: 0 0 5% 0;
}

.col_img_fullwidth > img {
    width: 100vw;
    height: auto;
}

/* caption / credit */
.col_credit_block, figcaption {
    flex-basis: auto;
    flex-grow: 1;
    margin: 0 29.861%;
    font-size: 0.8rem;
    opacity: 0.65;
    text-align: center;
    }
.col_credit_block {
    margin-top: -5%;
}
.hero_credit_block {
    margin-top: 0 !important;
}
figcaption {
    margin-top: 2%;
    margin-bottom: -5%;
}

.col_img_block, .col_img_original {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    margin: 7% 12.847%;
    text-align: center;
    justify-content: center;
    }

.col_img_block > img, .col_img_block > video {
    width: 100%;
    max-width: 1240px;
    height: auto;
    display: inline-block;
}

.col_img_original > img, .col_img_original > video {
    /* width: 100%; */
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.img_shadow > img, .img_shadow > video {
   -webkit-filter: drop-shadow(0px 3px 6px #bbb);
  filter: drop-shadow(0px 3px 6px #bbb);
}

.browser_frame > img, .browser_frame > video {
    border-top: 30px solid #1F1F1F;
    border-radius: 15px 15px 0 0;
}

.closer {
    margin-top: -1% !important;
}
.col_small {
    flex-basis: 44.81%; /* 510px */
    margin: 0 2.083%;
    flex-grow: 1;
}

.col2 {
    flex-basis: 28.81%; /* was 22.916% */
    margin: 0 3.77%; /* was 2.083% */
    flex-grow: 2;
}
.col2_box { /* box of 2 cols with 1 empty from each side */
    display: flex;
    flex-flow: row wrap;
    flex-basis: 68.74%;
    margin: 0 15.62%;
    flex-grow: 1;
}
/*
.col2_box img { /* show 2 images 
    width: 50%;
}
*/
.col3 {
    margin: 0 4.166%; /*was 2.083% */
    flex-grow: 1; 
}

.main_text_box {
    display: block;
    font-size: 0.846rem;
    /* line-height: 34px; */
    font-weight: 300;
    margin-top: 28vh; /* was 24  was 18xh */
    margin-bottom: calc(32vh - 50px); /* was 15 was 18vh */
    
    /* margin-top: 17.485vh; /* 6.994% * 2.5 */
    /* margin-bottom: 17.485%; */
}

.link_box {
    margin: 0 2.25% 2.775% 2.25%;
}

.no_break {
    white-space: nowrap;
}

.limit_height {
    width: 100%;
    height: 62.5vw;
    max-height: 80vh;
    min-height: 580px;
    display: block;
    margin: auto;
}

.limit_smaller {
    width: 25vw;
    height: 25vw;
    margin: 0 auto; 
}

.fullsize {
    width: 100%;
}

.half_width {
   max-width: 60%;
}

/* items styling */
.frame_mobile {
    max-width: 320px;
    min-width: 240px;
    background: #F1F1F1;
    border-radius: 30px;
    box-shadow: 0px 0px 15px 0 rgba(0,0,0,0.24);
    padding: 53px 0;
    line-height: 0;
}

.frame_mobile_black {
    max-width: 320px;
    min-width: 240px;
    background: #0f0f0f;
    border-radius: 30px;
    box-shadow: 0px 0px 15px 0 rgba(0,0,0,0.24);
    padding: 53px 0;
    line-height: 0;
}

.white, .white:visited, .white:active, .white:hover {
    color: #fff;
    stroke: #fff;
}

.black, .black:visited, .black:active, .black:hover {
    color: #000;
    stroke: #000;
}



.stick {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
}

/* styling */
.shadow_wrapper {
    box-shadow: 0px 0px 24px 0 rgba(0,0,0,0.15);
}

.frame_browser {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    align-items: center;
    padding-left: .875rem;
    height: 1.5rem;
    /* background: #2f2f2f; (dark theme )*/
    border-radius: 8px 8px 0 0;
}

.frame_browser > .btn {
    border-radius: 99px;
    display: block;
    width: 0.6em;
    max-width: 12px;
    height: 0.6em;
    max-height: 12px;
    margin-right: 8px;
}

.btn:nth-of-type(1){
    background-color: #979797;
}
.btn:nth-of-type(2){
    background-color: #cacaca;
}
.btn:nth-of-type(3){
    background-color: #b0b0b0;
}


/* layout */
.icon_pos {
    margin: 0 2.5vw 2.5vw 2.5vw;
    height: 7vh;
}


/* For small screen devices */

@media only screen and (max-width: 720px) {
    body {
            font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2.6em;
        line-height: 1.1em;
    }
    
    .col_text {
        margin: 0 13.998%;
    }
    
    .col_text_block {
    margin: 22vh 19% 18vh 19%; /* was 28% 13.998% */
    font-size: 1.2rem;
    }
    
    .col_img_block {
        flex-basis: auto;
        flex-grow: 1;
        margin: 14% 6.998% 14% 6.998%;
        text-align: center;
    }
    
    .main_text_box {
        font-size: 0.846rem;
        /* line-height: 34px; */
        margin-top: 28vh; /* was 24  was 18xh */
        margin-bottom: calc(32vh - 50px); /* was 15 was 18vh */
    }
    
    .col_credit_block, figcaption {
        margin: 0 14.5%;
    }
    
    .col_credit_block {
        margin-top: -5%;
    }
    
    .limit_height, .limit_smaller {
        width: 100%;
        height: 100vw;
        max-height: 100vw;
        min-height: 100vw;

        margin: 0 auto;
    }

    .limit_smaller {
        margin-bottom: 12vh;
    }
    
    .flex_grid_small {
        margin: 0 6.994% 0 6.994%;
    }
    
    .flex_grid_posts {
        margin: 0 0 12vh 0;
    }
    
    .post_title, .post_title_small  {
        margin: 0 5px;
    }
    
    .post_title_small {
        margin-top: 5px;
    }
    
    .space_box {
        display: inline-block;
        min-height: 12vh;
        height: 12vh;
    }
    
    .browser_frame > img, .browser_frame > video {
        border-top: 15px solid #1F1F1F;
        border-radius: 9px 9px 0 0;
    }
    #home_link, #menu_icon {
        font-size: 20px;
    }
    .main_text_box {
        margin-top: 22vh; /* was 24  was 18xh */
        margin-bottom: calc(26vh - 50px); /* was 15 was 18vh */
    }

    #intro_img {
        min-height: 92vh;
        max-height: 92vh; 
    }
    
    #title {
        font-size: 1.72rem;
    }
    #footer_link {
        margin-bottom: 40px;
}

}
