:root {
    --mobile-breakpoint: 768px;
    --sidebar-width: 240px;
    --min-card-width: 150px;
    --max-card-width: 300px;
    --card-width: clamp(var(--min-card-width), calc((100vw - 2 * var(--sidebar-width)) / 5), var(--max-card-width));
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
}

.lazy-img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box; 
    background-clip: content-box;
    transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
    filter: blur(5px);
    transform: translateZ(0);
}

.lazy-img.loaded {
    filter: blur(0); /* Wordt scherp zodra high-res geladen is */
}

/*
=====================================
========== M E N U B A L K ==========
=====================================
*/

#navbar {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    box-sizing: border-box;
    z-index: 1000;
}

#navbar * {
    user-select: none;
}

#nav-brand {
    font-size: 14pt;
    color: #000000;
    text-align: left;
    margin: 0;
    cursor: default;
}

nav {
    pointer-events: none;
    margin-left: auto;
    margin-right: 0;
}

nav ul {
    font-size: 13pt;
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
}

nav li {
    pointer-events: auto;
    display: flex;
    align-items: center;
}

a {
    color: #000000;
    text-decoration: none;
}

.active a {
    /* font-style: italic; */
    text-decoration: underline;
}

@media (max-width: 430px) {
    .uitgelicht {
        display: none;
    }
}

@media (min-width: 768px) {
    #navbar {
        height: 45px;
        bottom: 0;
        top: auto;
        padding: 0 16px;
    }
    #nav-brand {
        font-size: 16pt;
    }
    nav ul {
        font-size: 14pt;
        gap: 16px;
    }
}

/*
=========================================
========== U I T G E L I C H T ==========
=========================================
*/

html.featured {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body.featured {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Alleen horizontaal verbergen */
    overflow-y: auto;   /* Verticaal mag scrollen */
}

#featured-container {
    width: 100vw;
    height: auto;       /* Groeit mee met de inhoud */
    display: flex;
    flex-direction: column;
    outline: none;
}

#featured-container a {
    cursor: default;
}

#featured-container > * {
    width: 100vw;
    height: 100vh;

    flex-shrink: 0;
    scroll-snap-align: center;

    padding: max(5vh , 45px) 5vw;
    box-sizing: border-box;
}

#featured-container > img,
#featured-container > a {
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 100%; 
    height: 100vh;
    object-fit: contain; 
}

#featured-container > a > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.featured-set {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2.5vw;
    align-items: center;
}

/* 1. De basisregels voor items in de set (zowel img als a) */
.featured-set > img,
.featured-set > a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
 
    max-height: 90vh;
    max-width: 90vw;
}

.featured-set > img {
    object-fit: contain;
    display: block;
}

/* 2. Specifieke regels voor als het een link is */
.featured-set > a {
    display: block;
    position: relative;
    width: 100%; 
    height: 100%;
}

/* 3. Het plaatje BINNEN de link */
.featured-set > a > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.featured-set > a > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
    display: block;
}

@media (max-width: 767px) {
    #featured-container > * {
        padding: max(5vh , 40px) 5vw;
}
}

@media (orientation: portrait) {
    .featured-set {
        flex-direction: column;
        gap: max(7.5vw, 5vh);
        justify-content: center;
    }
    .featured-set > img,
    .featured-set > a {
        flex: 0 1 auto;
        min-height: 0;
        height: auto;
        max-width: 75vw;
        max-height: 100%;
        margin: 0 auto;
    }
    .featured-set > a > img {
        height: auto;
        width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

@media (min-width: 1000px) {
    #featured-container > img,
    #featured-container > a {
        padding: max(8.5vh, 45px) 5vw;
    }
}

/* 
===== FEATURED OVERVIEW GRID ===
*/
#featured-overview {
    display: flex;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
}

.overview-grid {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 850px;
}

.overview-grid img {
    flex: 0 1 120px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    min-width: 0;
}

.overview-grid img:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

@media (max-width: 500px) {
    .overview-grid img {
        /* Forceer precies 3 op een rij (33.33%) */
        flex: 0 0 33.333%;
    }
}


/* 
=================================
========== S E R I E S ==========
=================================
*/

nav.series {
    display: none;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: min(var(--sidebar-width), 20vw);
    height: 100%;
    overflow: hidden;
}

nav.series a {
    color: rgb(200, 200, 200);
    transition: all 0.4s ease;
}

nav.series a.active {
    color: black;
}

nav.series ul.series {
    transition: transform 0.5s ease;
}

ul.series {
    padding: calc(100vh / 2 - var(--card-width) - 2px) 32px 0 17px;
    flex-direction: column;
    gap: 6pt;
    margin: 0;
}

.series-container h1 {
    font-weight: normal;
    font-size: 12pt;
    margin: 0 0 10px 14px;
}

.series-container {
    margin: 100px 0 0 0;
    width: 100vw;
}

.series-container section {
    scroll-snap-align: start;
    scroll-margin-top: 100px;
}

.series-container section:last-child {
    margin-bottom: 300px;
}

.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, calc(100vw / 3));
    margin-bottom: 60px;
}

.series-grid > *:last-child:nth-child(3n + 1) {
        display: none;
}


.series-grid > * {
    display: block;
    position: relative;

    background-color: #e0e0e0;
    overflow: hidden;

    width: calc(100vw / 3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.series-grid > *:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.series-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.series-grid .lazy-img {
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 768px) {
    nav.series {
        display: block;
    }

    ul.series {
        padding: max(10vh, calc(100vh / 2 - 1.2 * var(--card-width))) 32px 0 17px;
    }

    .series-container section {
        scroll-margin-top: max(10vh, calc(100vh / 2 - 1.2 * var(--card-width)));
    }

    .series-container h1 {
        display: none;
    }
    .series-container {
        margin-left: min(var(--sidebar-width), 20vw);
        margin-top: 0;
        padding-top: max(10vh, calc(100vh / 2 - 1.2 * var(--card-width)));
        width: calc(100vw - min(var(--sidebar-width), 20vw));
    }

    .scroll-container {
        scroll-snap-type: y mandatory;
    }

    .series-container::after {
        content: "";
        display: block;
        height: 1vh;
    }

    .series-grid {
        grid-template-columns: repeat(4, calc(100% / 4));
        margin: 0 auto 50vh auto;
    }

    .series-grid > *:last-child:nth-child(3n + 1) {
        display: initial;
    }
    .series-grid > *:last-child:nth-child(4n + 1) {
        display: none;
    }

    .series-grid > * {
        width: calc((100vw - min(var(--sidebar-width), 20vw)) / 4);

    }
}

@media (min-width: 900px) {
    .series-grid {
        grid-template-columns: repeat(5, calc(100% / 5));
        margin: 0 auto 50vh auto;
    }

    .series-grid > *:last-child:nth-child(4n + 1) {
        display: initial;
    }
    .series-grid > *:last-child:nth-child(5n + 1) {
        display: none;
    }

    .series-grid > * {
        width: calc((100vw - min(var(--sidebar-width), 20vw)) / 5);
    }
}

@media (min-width: 1280px) {

    .series-container {
        margin-left: var(--sidebar-width);
        margin-right: var(--sidebar-width);
        width: calc(100% - 2 * var(--sidebar-width));
    }

    .series-grid {
        grid-template-columns: repeat(5, var(--card-width));
        width: fit-content;
    }

    .series-grid > * {
        width: var(--card-width);
    }
}

.transition-image {
    position: fixed; /* Essentieel: haalt hem uit de flow zodat hij niks verschuift */
    z-index: 9999;
    
    transform-origin: top left;
    pointer-events: none;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.2);  */
    
    /* Reset eventuele transforms die standaard browsers doen */
    transform: none;
}

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9998;
    pointer-events: none;
    opacity: 1; 
    transition: opacity 0.4s ease;
}

.transition-overlay.fade-out {
    opacity: 0;
}

/* 
===================================
========== G A L L E R Y ==========
=================================== 
*/

.gallery-navbar {
    justify-content: space-between;
}

.gallery-navbar > span {
    flex: 3 1 0;
}

#nav-title {
    flex: 4 1 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    /* background-color: rgba(249, 158, 173, 0.512); */

    /* gradient mask */
    mask-image: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1) 25%,
        rgba(0,0,0,1) 75%,
        rgba(0,0,0,0) 100%
    );
}

#nav-title::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

#nav-title-scroll {
    display: inline-flex;
    width: calc(max(120px, 14vw) * var(--series-count));
    justify-content: space-around;
    align-items: center;
    padding-inline: 15vw;
    /* background-color: rgba(106, 213, 255, 0.51); */
}

@media (min-width: 768px) {
    #nav-title {
        mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0) 5%,
            rgba(0,0,0,0.4) 22.5%,
            rgba(0,0,0,1) 35%,
            rgba(0,0,0,1) 65%,
            rgba(0,0,0,0.6) 77.5%,
            rgba(0,0,0,0) 95%
    );
    }
    #nav-title-scroll {
        padding-inline: 20vw;
    }
}

#nav-title-scroll > * {
    display: inline-block;
    cursor: default;
    font-weight: normal;
    scroll-snap-align: center;
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform 0.2s ease, color 0.2s ease;
}

#nav-brand {
    font-weight: bold;
    text-align: left;
    cursor: default;
}

#photo-counter {
    text-align: right;
    justify-content: flex-end;
    pointer-events: none;
    /* color: #000; */
}

#gallery-container {
    z-index: 0;
    cursor: none;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding: 0 5vw;       /* ruimte links/rechts bij eerste/laatste slide */
    gap: 5vw;             /* ruimte tussen slides */
    align-items: center;   /* verticale centrering */

    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Verberg scrollbalk (Chrome, Safari, Opera) */
#gallery-container::-webkit-scrollbar {
    display: none;
}

#gallery-container img {
    flex: 0 0 100vw;            /* elk img = 1 slide */
    scroll-snap-align: center;
    display: block;
    max-width: 90vw;
    max-height: min(90vh, calc(100vh - 80px));
    margin: 0 auto;             /* horizontaal centreren binnen slide */
    object-fit: contain;
    z-index: 1;   
}

@media (min-width: 768px) {
    #gallery-container > img {
        max-height: min(90vh, calc(100vh - 90px));       
}
}

#cursor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    font-size: 16px;
    font-weight: normal; 
    will-change: transform;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 0;
    height: 0;
    white-space: nowrap;
    
    color: white; 
    mix-blend-mode: difference;
}

/*
========== T O U C H  C O N T R O L S ==========
*/

/* De wrapper container */
#touch-controls {
    display: none; /* Standaard verbergen (desktop) */
    position: fixed;
    z-index: 2000;
    pointer-events: none; /* Laat clicks door de lege ruimtes heen */
    inset: 0; /* Pakt het hele scherm */
}

/* De gedeelde stijl voor alle knoppen */
.touch-btn {
    pointer-events: auto; /* Knoppen zelf wel klikbaar */
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.touch-btn .icon {
    width: 24px;
    height: 24px;
    color: #222;
    transition: color 0.2s ease;
}

.touch-btn:active {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0.95);
}

.touch-btn:active .icon {
    color: #000;
}

/*
   LAYOUT LOGICA
*/

/* Alleen tonen op touch devices */
@media (pointer: coarse) {
    #touch-controls {
        display: block; /* Container wordt zichtbaar */
    }

    /* PORTRAIT: Alles onderin, naast elkaar 
       Volgorde in HTML: Prev - Close - Next
    */
    @media (orientation: portrait) {
        #touch-controls {
            display: flex;
            align-items: flex-end;     /* Onderin uitlijnen */
            justify-content: center;   /* Horizontaal centreren */
            padding-bottom: max(30px, 5vh);      /* Afstand tot rand */
            gap: 20px;                 /* Ruimte tussen de bollen */
        }
        
        /* Reset eventuele positionering */
        .touch-btn {
            position: relative;
            transform: none !important;
            top: auto; left: auto; right: auto; bottom: auto;
        }
    }

    /* LANDSCAPE: Verspreid over het scherm
    */
    @media (orientation: landscape) {
        #touch-controls {
            display: block; /* Geen flexbox, gewoon losse elementen */
        }

        .touch-btn {
            position: absolute;
        }

        /* Vorige: Links verticaal gecentreerd */
        #touch-prev-btn {
            top: 50%;
            left: 20px;
            transform: translateY(-50%);
        }

        /* Volgende: Rechts verticaal gecentreerd */
        #touch-next-btn {
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
        }

        /* Close: Rechtsboven (behoud bestaande stijl) */
        #touch-close-btn {
            bottom: 20px;
            right: 20px;
        }

        @media (min-width: 768px) {
            #touch-close-btn {
                top: 20px;
                right: 20px;
                bottom: auto;
            }
        }
    }
}

/*
=======================================
========== P R O J E C T E N ==========
=======================================
*/

#navbar * {
    transition: color 0.3s ease;
}
#navbar.dark * {
    color: rgba(255, 255, 255, 0.33);
}

#navbar.dark {
    background: rgba(0, 0, 0, 0.332);
}

@media (hover: hover) {
    #navbar.dark:hover * {
        color: rgba(255, 255, 255, 0.95);
    }
}

main.padded {
    padding-top: 40px;
}

@media (min-width: 768px) {
    main.padded {
        padding-top: 0;
    }
}

body.scrollable {
    overflow-y: auto;
    overflow-x: auto;
}


.LieS {
    font-family: "Charter", Georgia, 'Times New Roman', Times, serif;
}

.hero-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    background-image: url('img/projects/LieShero-M.avif');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    margin: 0 0 10px 0;
}

.hero-img::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: black;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-img {
        margin-top: 0;
        background-image: url('img/projects/LieShero-L.avif');
    }
    .hero-img::before {
        display:none;
    }
}

.hero-text {
    width: min(495px, 94vw);
    margin: auto;
    padding-top:calc(70vw + 15px);
    color: black;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text > .description {
    font-size: 12pt;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin: 0;
}

.content > p {
    font-size: 12pt;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.hero-text > .title {
    line-height: 2.1;
    font-size: min(6vw, 24pt);
    font-weight: bold;
}

.extra-text {
    display: none;
}

.content {
    width: min(495px, 94vw);
    margin: auto;
}

.content > * {
    width: 100%;
    display: block;
    height:auto;
    margin: 30px 0 30px 0;
}

.content > a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: block;
    height: auto;
}

.content > a > img {
    width: 100%;
    display: block;
    height: auto;
}

.hero-buttons {
    display: none;
    gap: 12px;
}

.button-row {
    display: inline-flex;
    gap: 10px;            
    float: right;         
    align-items: center;
}

.pre-order-button {
    opacity: 1;
    padding: 6px 12px;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11pt;
    border: 2px solid #000;
    border-radius: 6px;
    background-color: transparent;
    color: black;
    cursor: pointer;
    transition: all 0.1s ease-out;
}

.pre-order-button:hover {
    background-color: #000;
    color: #fff;
}

.pre-order-button.hero {
    display: none;
    width: fit-content;
    border-color: rgba(255, 255, 255, 0.85);
    color: rgba(255, 255, 255, 0.85);
}
.pre-order-button.hero:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: black;
}

.LieS:last-child {
    padding-bottom: 20vh;
}

@media (max-width: 375px) {
    .button-row {
        display: flex;
        float: none;
        margin-top: 15px;
        justify-content: flex-start;
    }
}
@media (max-width: 450px) {
    .pre-order-button {
        padding: 6px 6px;
    }
}

@media (min-width: 495px) {
    .hero-text > .description {
        font-size: 13pt;
    }
    .content > p {
        font-size: 13pt;
    }
}

@media (min-width: 1000px) {
    .hero-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    background-color: black;
    gap: 6.5vw;
    padding: 0 14vw;
    margin-bottom:max(10px, 7.5vw);
    }
    .hero-text {
    width: 100%;
    margin: 0 0 80px 0;
    padding:0;
    height: min(50vw, 100vh);
    color: rgba(255, 255, 255, 0.85);
    grid-column: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    }
    .hero-text > .description {
    font-size: min(4.5vw, 13pt);
    line-height: 1.4;
    margin-bottom: 11pt;
    text-align: left;
    hyphens: none;
    }
    .hero-text > .title {
    font-size: min(2.5vw, 24pt);
    font-weight: bold;
    }
    .hero-buttons {
        display: flex;
    }

    .pre-order-button.hero {
        display: inline-block;
    }
    .content {
    width: min(50vw, 640px);
    margin: auto;
    }
    .content > p {
        text-align: left;
        hyphens: none;
    }
}

@media (min-height: 700px) and (min-width: 1200px) {
    .column-container {
    width:100vw;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 57vh)) !important;
    justify-content: center !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    row-gap: 0;
    padding-inline: 14vw;
    direction: rtl;
    }
    .column-container > * {
        direction: ltr;
    }

    .column-container > .leftcol {
        grid-column: 2;
    }

    .column-container > .leftcol > *,
    .column-container > .rightcol > * {
        margin: 30px 0;
    }

    .column-container > .rightcol {
        grid-column: 1;
        position: sticky;
        top: 15px;       
        align-self: start;
    }

    .content {
        margin:0;
        width:100%;
    }
}

/*
=============================
========== I N F O ==========
=============================
*/

.info-container {
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#profielfoto {
    height: 33vh;
    min-height: 130px;
    background-image: url('img/profile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    margin-top: 0;
}

section.info {
    padding-top: 40px;
    font-size: 12pt;
    height: 100%;
    width: 100vw;
    display: flex; 
    flex-direction: column;
    overflow:auto;
}

.info-text {
    padding: 24px 14px 0 14px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.info-header a {
    text-align: right;
    margin-left: 0;
}

#lang-toggle {
    margin:-10px 0 -10px 0;
    cursor: pointer;
    display: inline-block;
    color: rgb(200, 200, 200);
    padding: 0.25rem 0.35rem;
    border: 1px solid white;
    border-radius: 4px;
    user-select: none;
    transition: all 0.3s ease;
}
#lang-toggle:hover {
    color: black;
    /* border-color: black; */
    /* background-color: black;
    color: white; */
}

form {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom:32px;
}

form input[type="email"] {
    flex: none;
    text-align: center;
    min-width: 10ch; 
    max-width: 80%;
    padding: 4px 0;
    font-size: inherit;
    border: none;
    border-bottom: 2px solid #b5b5b5;
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease;
}

form input[type="email"]:focus {
    border-bottom-color: #000;
}

#submit-button {
    opacity: 0;
    padding: 6px 12px;
    font-size: 11pt;
    border: 2px solid #000;
    border-radius: 6px;
    background-color: #fff;
    color: black;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

#submit-button:hover {
    background-color: #000;
    color: #fff;
}

#submit-button.visible {
    opacity: 0.3;
    pointer-events: auto;
    cursor: default;
}

#submit-button.valid {
    opacity: 1;
    cursor: default;
}

#submit-button.success {
    border-color: #28a745 !important;
    background-color: #28a745 !important;
    color: white !important;
    opacity: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    section.info {
        font-size: 13pt;
        width: 585px;
        padding: 0 0 45px 0;
    }
    .info-text {
        padding: 20px 0 0 0;
    }
    #profielfoto {
        height: 35vh;
        /* margin-top: 50px; */
    }
    #submit-button {
        font-size: 12pt;
    }
}

@media (min-width: 1180px)  {
    .info-container {
    display: flex;
    flex-direction: column;
    }
    #profielfoto {
    grid-column: 1;
    height: 100%;
    margin-top: 0;
    }
    section.info {
    height: auto;
    display: grid;
    grid-template-columns: 5fr 585px 4fr;
    gap: max(20px, 2vw);
    width: auto;
    padding: 45px 0;
    /* background-color: rgb(255, 189, 222); */
    }
    .info-text {
    grid-column: 2;
    justify-self: center;
    padding: 0;
    margin-top: -3pt;
    margin-bottom:-16pt;
    }
}

@media (min-width: 1380px) {
    section.info {
        grid-template-columns: 6fr 585px 5fr;
    }
}

@media (min-width: 1580px) {
    section.info {
        grid-template-columns: 1fr 585px 1fr;
    }
}