@font-face {
    font-family: RobotoFlex;
    src: url(RobotoCondensed-VariableFont_wght.ttf);
}

body {
    background-color: #ffffff;
    /* vlasblauw kleur 1b2c3e */
    font-family: 'RobotoFlex';
    text-align: center;
    font-weight: 400;
}

.privacy-link {
    display: none;
}

/* Text block for vlasblauw/contact/privacy policy */
.text_block {
    max-width: 1050px;
    margin: auto;
    text-align: left;
    margin-top: 125px;
    margin-bottom: 100px;
}

.text_block h1 {
    color: #1b2c3e;
    font-size: 20px;
    line-height: 0.0;
}

.text_block p {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 200;
}

.text_block .text-inner {
    display: flex;
    gap: 40px;
    padding: 10px 0px;
    align-items: flex-start;
    box-sizing: border-box;
}

.text_block .text-left,
.text_block .text-right {
    flex: 1 1 50%;
    box-sizing: border-box;
    overflow: hidden;
}

.text_block .text-left img,
.text_block .text-right img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

/* Top Navigation */
.topnav {
    background-color: #ffffff;
    overflow: hidden;
    padding: 20px 6px 25px 6px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.topnav .nav-container {
    max-width: 1110px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    box-sizing: border-box;
}

.topnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: visible;
}

.nav-left,
.nav-right,
.nav-left ul li,
.nav-right ul li {
    float: none;
}

.topnav .logo {
    height: 64px;
    width: auto;
    display: block;
}

.topnav .sociala {
    position: relative;
    right: 16px;
    top: 11px;
}

.topnav .social {
    height: 22px;
    width: auto;
}

.topnav .link {
    color: black;
    position: relative;
    top: 9px;
    padding: 12px 6px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

.topnav a.active {
    /* background-color: #1b2c3e; */
    position: relative;
    top: 9px;
    padding: 12px 6px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    color: #1b2c3e;
    font-weight: bold;
    background-image: url('images/dot.jpg');
    background-position-x: center;
    background-position-y: 34px;
    background-size: 10px;
    background-repeat: no-repeat;
}

/* Bottom Navigation */
.bottomnav {
    background-color: #1b2c3e;
    overflow: hidden;
    display: block;
    align-items: center;
    padding: 0px 0px;
    margin: auto;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

.bottomnav .nav-container {
    background-color: #1b2c3e;
    max-width: 1075px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    box-sizing: border-box;
}

.bottomnav p {
    color: white;
    text-align: left;
    font-size: 14px;
    padding: 6px 0px;
    margin: 0px;
}

.bottomnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: visible;
}

.bottomnav .sociala {
    position: relative;
    right: 12px;
    top: 2px;
    display: none;
}

.bottomnav .social {
    fill: white;
    height: 18px;
    width: 18px;
    margin: 0 2px;
    padding: 0 2px;
}

.bottomnav .privacy-policy{
    color: white;
    font-size: 14px;
    text-decoration: none;
    text-align: right;
}

/* Projects grid container for projects/ongoing */
#projects-container {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 12px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}

/* Project in the grid */
.project {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0px auto 0px auto;
}

.project .project-thumbnail,
.project .project-thumbnail img {
    width: 525px;
    height: 525px;
    display: block;
    align-self: center;
    object-fit: cover;
    margin: 0px auto;
}

.project .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    bottom: 10px;
}

.project .project-header h2 {
    font-size: 18px;
    margin: 0px;
    font-style: normal;
}

.project .project-header .year {
    font-size: 14px;
    color: #666;
}

.notbold {
    font-weight: normal
}

/* Single Project Page */
button {
    background-color: white;
    color: black;
    font-family: 'Roboto Flex';
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.buttons {
    max-width: 1075px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 125px auto 0 auto;
}

.project-top {
    display: inline-block;
}

.single-project-header {
    max-width: 1075px;
    margin: 0px auto 0px auto;
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
}

.single-project-header h2 {
    font-size: 24px;
    line-height: 1;
    color: black;
}

.project-description {
    max-width: 1075px;
    margin: 0px auto 20px auto;
}

.project-description p {
    max-width: 1075px;
    margin: 0px auto 10px auto;
    font-size: 14px;
    line-height: 1;
    color: #333;
    text-align: left;
}

.project-tasks {
    max-width: 1075px;
    margin: 0px auto 0px auto;
    font-size: 12px;
    line-height: 1.4;
    color: #444;
    text-align: left;
    position: relative;
    bottom: 20px;
}

.single-project-header #year {
    margin: 0 0 0 8px;
    font-size: 16px;
    line-height: 1;
    color: #666;
}

.credits {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    text-align: right;
}

.project-thumbnail {
    max-width: 1075px;
    margin: 12px auto 0px auto;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-thumbnail .thumb-wrap img {
    max-height: 650px;
    width: auto;
    height: auto;
    display: block;
    margin: 0px auto 0px auto;
}

/* Project image gallery */
.project-gallery {
    max-width: 1075px;
    margin: 20px auto 100px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.project-gallery .gallery-item {
    width: auto;
    height: auto;
}

/* credit text under each gallery image */
.project-gallery .gallery-item .gallery-credit {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    text-align: right;
}

.project-gallery .gallery-item img {
    max-height: 650px;
    max-width: 1075px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
}

/* Lightbox - fullscreen imaage viewer */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    padding: 20px;
}

.lightbox[aria-hidden="false"] {
    display: flex;
}

.lightbox .lb-inner {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    /* allow custom pinch / pan handling */
}

.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: grab;
    transform-origin: center center;
    will-change: transform;
    transition: transform 120ms ease-out;
}

.lightbox img:active {
    cursor: grabbing;
}

.lightbox .sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Project videos */
.project-videos {
    max-width: 1075px;
    margin: 12px auto 24px auto;
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.project-videos .video-item {
    display: block;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.project-videos .video-item .img-wrap {
    display: inline-block;
    /* shrinkwrap to video width so credit aligns */
    text-align: right;
}

.project-videos video {
    display: block;
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 60vh;
    background: #000;
}

.project-videos .video-credit {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
    color: #666;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 1075px) {

    /* Text block for vlasblauw/contact/privacy policy */
    .text_block {
        margin: 60px auto 60px;
        padding: 0px 10px;
    }

    .text_block .text-inner {
        flex-direction: column;
        gap: 20px;
    }

    .text_block .text-right,
    .text_block .text-left {
        flex: 0 0 100%;
        width: 100%;
    }

    .text_block .text-right {
        justify-content: center;
    }

    .text_block p {
        font-size: 15px;
        line-height: 1.4;
    }

    /* Top Navigation */
    .topnav {
        padding: 8px 6px 8px 6px;

    }

    .topnav .nav-container {
        padding: 6px 4px;
    }

    .topnav .logo {
        height: 40px;
    }

    .topnav .sociala {
        position: relative;
        right: 12px;
        top: 5px;
    }

    .topnav .social {
        height: 24px;
        width: 24px;
        margin: 0 2px;
        padding: 0 2px;
    }

    .topnav ul {
        gap: 14px;
    }

    .topnav .link {
        font-size: 18px;
        top: 2px;
        padding: 18px 4px;
    }

    .topnav a.active {
        font-size: 18px;
        top: 2px;
        padding: 18px 4px;
        background-size: 9px;
        background-position-y: 39px;
    }

    /* Bottom Navigation */
    .bottomnav {
        padding: 0px 0px;
        margin: auto;
    }

    .bottomnav .nav-container {
        background-color: #1b2c3e;
        max-width: 1075px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 12px;
        box-sizing: border-box;
    }

    .bottomnav p {
        color: white;
        font-size: 14px;
    }

    .bottomnav ul {
        gap: 14px;
    }

    .bottomnav .sociala {
        display: none;
    }

    a[href^="tel"] {
        color: inherit;
        text-decoration: none;
    }

    /* Projects grid container for projects/ongoing */
    .project-header {
        max-width: 1075px;
        margin: 2px auto;
        display: flex;
        gap: 12px;
        align-items: baseline;
    }

    .project-header h2 {
        font-size: 24px;
        line-height: 2;
        color: black;
    }

    .project-header #year {
        margin: 0 0 0 8px;
        font-size: 16px;
        line-height: 1.2;
        color: #666;
    }

    .project-thumbnail {
        max-width: 1075px;
        margin: 12px auto 8px auto;
        max-height: 650px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-bottom: 12px;
    }

    .project-thumbnail .thumb-wrap img {
        max-height: 650px;
        width: auto;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    #projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 75px auto;
    }

    .project .project-thumbnail,
    .project .project-thumbnail img {
        width: 85vw;
        height: 85vw;
    }

    .project .project-header {
        width: 100%;
        bottom: 16px;
    }

    /* Single Project Page */
    .buttons {
        margin: 80px auto 0 auto;
        padding: 0 10px;
    }

    button {
        font-size: 14px;
    }

    .credits {
        font-size: 10px;
        margin: 0px auto 0px auto;
        bottom: 10px;
        position: relative;
    }

    .project-thumbnail {
        width: 85vw;
        height: auto;
        margin: 8px auto 0px auto;
    }

    .project-thumbnail .thumb-wrap img {
        width: 85vw;
        height: auto;
        object-fit: cover;
        margin: 0px auto 0px auto;
        ;
    }

    .project-header {
        margin: 0px auto 0px auto;
        position: relative;
        bottom: 10px;
    }

    .project-header h2 {
        font-size: 18px;
    }

    .project-description {
        margin: 0px auto 20px auto;
    }

    .project-description p {
        margin: 0px auto 10px auto;
        font-size: 14px;
        line-height: 1;
        color: #333;
        text-align: left;
    }

    .project-tasks {
        margin: 0px auto 0px auto;
        font-size: 10px;
    }

    .project-header #year {
        font-size: 13px;
    }

    /* Project image gallery */
    .project-gallery {
        max-width: 85vw;
    }

    .project-gallery .gallery-item {
        max-width: 85vw;
        max-height: 85vh;
        width: auto;
        height: auto;
        margin-bottom: 30px;
    }

    .project-gallery .gallery-item .gallery-credit {
        font-size: 10px;
    }

    .project-gallery .gallery-item img {
        width: auto;
        height: auto;
        max-width: 85vw;
        max-height: 85vh;
    }

    /* Project video gallery */
    .project-videos {
        max-width: 85vw;
        margin: 12px auto 24px auto;
        padding: 0 0px;
    }

    .project-videos video {
        max-width: 85vw;
    }

    .project-videos .video-credit {
        font-size: 10px;
        line-height: 0.2;
    }

    .privacy-link {
        display: none
    }

    .privacy-link:hover {
        opacity: 0.5;
    }
}

@media (max-width: 600px) {

    /* Text block for vlasblauw/contact/privacy policy */
    .text_block {
        margin: 60px auto 60px;
        padding: 0px 10px;
    }

    .text_block .text-inner {
        flex-direction: column;
        gap: 20px;
    }

    .text_block .text-right,
    .text_block .text-left {
        flex: 0 0 100%;
        width: 100%;
    }

    .text_block .text-right {
        justify-content: center;
    }

    .text_block p {
        font-size: 15px;
        line-height: 1.4;
    }

    /* Top Navigation */
    .topnav {
        padding: 4px 3px 8px 3px;
    }

    .topnav .nav-container {
        padding: 6px 4px;
    }

    .topnav .logo {
        height: 28px;
    }

    .topnav .sociala {
        position: relative;
        right: 12px;
        top: 5px;
        display: none;
    }

    .topnav .social {
        height: 18px;
        width: 18px;
        margin: 0 2px;
        padding: 0 2px;
    }

    .topnav ul {
        gap: 10px;
    }

    .topnav .link {
        font-size: 16px;
        top: 2px;
        padding: 18px 4px;
    }

    .topnav a.active {
        font-size: 16px;
        top: 2px;
        padding: 18px 4px;
        background-size: 8px;
        background-position-y: 36px;
    }

    /* Bottom Navigation */
    .bottomnav {
        padding: 0px 0px;
        margin: auto;
    }

    .bottomnav .nav-container {
        padding: 6px 12px;
    }

    .bottomnav p {
        color: white;
        font-size: 11px;
    }

    .bottomnav ul {
        gap: 10px;
    }

    .bottomnav .sociala {
        position: relative;
        right: 12px;
        top: 2px;
        display: block;
    }

    .bottomnav .social {
        fill: white;
        height: 18px;
        width: 18px;
        margin: 0 2px;
        padding: 0 2px;
    }

    a[href^="tel"] {
        color: inherit;
        text-decoration: none;
    }

    /* Projects grid container for projects/ongoing */
    .project-header {
        max-width: 1075px;
        margin: auto;
        display: flex;
        gap: 12px;
        align-items: baseline;
    }

    .project-header h2 {
        font-size: 24px;
        line-height: 1;
        color: black;
    }

    .project-header #year {
        margin: 0 0 0 8px;
        font-size: 16px;
        line-height: 1;
        color: #666;
    }

    .project-thumbnail {
        max-width: 1075px;
        margin: 12px auto 8px auto;
        max-height: 650px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-bottom: 12px;
    }

    .project-thumbnail .thumb-wrap img {
        max-height: 650px;
        width: auto;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    #projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 75px auto;
    }

    .project .project-thumbnail,
    .project .project-thumbnail img {
        width: 85vw;
        height: 85vw;
    }

    .project .project-header {
        width: 100%;
        bottom: 16px;
    }

    /* Single Project Page */
    .buttons {
        margin: 60px auto 0 auto;
        padding: 0 10px;
    }

    button {
        font-size: 10px;
    }

    .credits {
        font-size: 10px;
        margin: 0px auto 0px auto;
        bottom: 10px;
        position: relative;
    }

    .project-thumbnail {
        width: 85vw;
        height: auto;
        margin: 8px auto 0px auto;
    }

    .project-thumbnail .thumb-wrap img {
        width: 85vw;
        height: auto;
        object-fit: cover;
        margin: 0px auto 0px auto;
        ;
    }

    .project-header {
        margin: 0px auto 0px auto;
        position: relative;
        bottom: 10px;
    }

    .project-header h2 {
        font-size: 18px;
    }

    .project-description {
        margin: 0px auto 20px auto;
    }

    .project-description p {
        margin: 0px auto 10px auto;
        font-size: 14px;
        line-height: 1;
        color: #333;
        text-align: left;
    }

    .project-tasks {
        margin: 0px auto 0px auto;
        font-size: 10px;
    }

    .project-header #year {
        font-size: 13px;
    }

    /* Project image gallery */
    .project-gallery {
        max-width: 85vw;
    }

    .project-gallery .gallery-item {
        max-width: 85vw;
        max-height: 85vh;
        width: auto;
        height: auto;
        margin-bottom: 30px;
    }

    .project-gallery .gallery-item .gallery-credit {
        font-size: 10px;
    }

    .project-gallery .gallery-item img {
        width: auto;
        height: auto;
        max-width: 85vw;
        max-height: 85vh;
    }

    /* Project video gallery */
    .project-videos {
        max-width: 85vw;
        margin: 12px auto 24px auto;
        padding: 0 0px;
    }

    .project-videos video {
        max-width: 85vw;
    }

    .project-videos .video-credit {
        font-size: 10px;
        line-height: 0.2;
    }

    .privacy-link {
        display: block;
        position: relative;
        bottom: 40px;
        color: black;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 11px;
        text-decoration: italic;
        z-index: 9999;
        text-align: right;
        justify-content: flex-end;
    }

    .privacy-link:hover {
        opacity: 0.5;
    }

    .bottomnav .privacy-policy{
    display:none;
}

}