/* /////////////////////////////////// */
/* ////// RESET STANDAARD WAARDEN //// */
/* /////////////////////////////////// */
html {
    font-size: 20px;
}

*, *::after, *::before, html {
    margin: 0;
    padding: 0;
}




/* /////////////////////////////////// */
/* ///////// ROOT VARIABELEN ///////// */
/* /////////////////////////////////// */
:root {
    --primary-red: #cd2729;
    --primary-blue: #004698;
    --primary-creme: #fbfbed;
    --primary-white: #fff;
    --primary-orange: orange;
    --textColor-black: #333333;


    /* Scherm-helpers */
    --totale-breedte-scherm: calc(100vw - (100vw - 100%));
    --zijkanten-breedte: calc((100vw - var(--totale-breedte-section-content)) / 2);

    /* Layout-breedtes */
    --totale-breedte-section-content: 1160px;
    --large-content-breedte: calc(0.93 * var(--totale-breedte-section-content));
    --medium-content-breedte: calc(0.8 * var(--totale-breedte-section-content));
    --small-content-breedte: calc(0.7 * var(--totale-breedte-section-content));

    /* Gradient-zijvlakken */
    --zijkant-gradient-breedte-factor: 0.9;
    --gradient-solid-stop: 10%;
    --gradient-transparent-stop: 100%;
    --gradient-kleur: var(--primary-white);

    /* Spacing & radius */
    --hoogte-header-nav: 5em;
    --home-gap-afstand: 5em;
    --section-gap: 1em;
    --border-radius-fotos: 1em;

    /* Carousel */
    --carousel-height: 8em;
    --carousel-item-width: 8em;
    --carousel-gap: 1em;
    --carousel-scroll-interval: 5000ms;
    --carousel-border-color: rgba(0, 0, 0, 0.2);

    /* Landing illustraties */
    --min-grootte-landing-img: 100px;
    --default-grootte-landing-img: 20vw;
    --max-grootte-landing-img: 220px;
}


/* /////////////////////////////////// */
/* //////// ALGEMENE STYLING ///////// */
/* /////////////////////////////////// */

/* PAGINA INDDELING */
body {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    color: var(--textColor-black);
    background-image: url(../media/photos/achtergrond/PoffernierTegeltjes.png);
    background-size: 19%;

    z-index: 0;
}

header {
    position: sticky;
    top: 0;

    width: 100vw;

    z-index: 1000;
}

/* WIT-TRANSPARANTE ZIJVLAKKEN */
main::before,
main::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    width: calc(var(--zijkanten-breedte) * var(--zijkant-gradient-breedte-factor));

    pointer-events: none;
    z-index: 1;
}

/* LINKERKANT VAN MAIN */
main::before {
    left: calc(-1 * var(--zijkanten-breedte) * var(--zijkant-gradient-breedte-factor));

    background: linear-gradient(to left,
            var(--gradient-kleur) 0%,
            var(--gradient-kleur) var(--gradient-solid-stop),
            transparent var(--gradient-transparent-stop));
}

/* RECHTERKANT VAN MAIN */
main::after {
    right: calc(-1 * var(--zijkanten-breedte) * var(--zijkant-gradient-breedte-factor));

    background: linear-gradient(to right,
            var(--gradient-kleur) 0%,
            var(--gradient-kleur) var(--gradient-solid-stop),
            transparent var(--gradient-transparent-stop));
}

main {
    position: relative;
    display: flex;
    flex-direction: column;

    width: var(--totale-breedte-section-content);
    min-height: calc(100vh - var(--hoogte-header-nav));
    margin: 0 auto;

    gap: var(--section-gap);

    background: var(--primary-white);

    z-index: 2;
}

main>section:nth-last-child(2) {
    margin-bottom: 12em;
}

.bakeenheid-detail {
    height: 100%;
}

/* STANDAARD BREEDTE VAN DE DIRECTE SECTIONS */
main>section {
    width: var(--medium-content-breedte);
    margin: 0 auto;
}

/* TEKST STYLING */
h1 {
    font-family: "Sail", system-ui;
    font-weight: 200;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-top: 0.3em;
    margin-bottom: 0.5em;
}

h2 {
    font-family: "Sail", system-ui;
    font-weight: 200;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-bottom: 0.3em;
}

.bakeenheid-detail h2 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    font-size: 1.5em;
    color: var(--primary-blue);
    justify-content: left;
    margin-bottom: 0;
}

h3 {
    color: var(--primary-blue);
    margin-top: .3em;
}

.tekstBlauw {
    color: var(--primary-blue);
    white-space: pre;
}

a {
    text-decoration: none;
    color: var(--textColor-black);
}

li {
    list-style: none;
}



/* /////////////////////////////////// */
/* //////// NAVIGATIE STYLING //////// */
/* /////////////////////////////////// */

nav {
    height: var(--hoogte-header-nav);
    background-image: linear-gradient(var(--primary-white) 0% 85%,
            var(--primary-red) 85% 90%,
            var(--primary-white) 90% 95%,
            var(--primary-blue) 95% 100%);
    display: flex;
    justify-content: center;
}

.navCompleet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    list-style: none;
    margin: 0;
}

.logoNav {
    flex: 0 0 20%;
}

.logoNav img.logo {
    height: auto;
}

.desktopNav {
    flex: 0 0 80%;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5em;
    list-style: none;
    padding: 0;

}

.nav-links li {
    width: fit-content;
    min-width: 0;
}

.nav-links li a {
    text-decoration: none;
    width: fit-content;
    min-width: 0;
}

.mobileNav {
    display: none;

}

#menuToggle {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 4;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

#menuToggle span {
    display: block;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    z-index: 4;
    position: relative;
}

#menu {
    position: fixed;
    top: var(--hoogte-header-nav);
    right: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-white);
    list-style: none;
    padding-top: 10px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1;
}

.mobileNav #menu li:not(:last-child)::after {
    content: "";
    display: block;
    height: 1px;
    width: 15em;

    margin: 0 auto;

    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    opacity: 20%;
}

#menu li {
    margin: 1em 0;
}

#menuToggle input:checked~ul {
    transform: translateX(0);
}

nav .navCompleet {
    width: 90%;
}

nav .navCompleet .desktopNav{
    margin-right: 5em;
} */

/* MARGIN ONDERKANT NAV LINKS TER COMPENSATIE VOOR RUIMTE VLAG STYLING */
nav .navCompleet {
    box-sizing: content-box;
    height: calc(100% - (0.15 * var(--hoogte-header-nav)));
}



nav .navCompleet .logoNav {
    display: flex;
    align-items: center;
}

nav .navCompleet .mobileNav {
    display: flex;
    align-items: center;
}

nav .navCompleet .logoNav a {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}

nav .navCompleet .logoNav a img {
    height: 3.5em;
    -webkit-filter: drop-shadow(2px 2px 2px #9c9c9c);
    filter: drop-shadow(2px 2px 2px #9c9c9c);
}

nav .navCompleet li .nav-links {
    display: flex;
    gap: 1.5em;
    height: 100%;
}

nav .navCompleet li .nav-links li {
    align-items: center;
    display: flex;
    position: relative;
}

nav .navCompleet li .nav-links li a {
    padding: 0.5em;
}

nav .navCompleet li .nav-links li a:hover {
    color: var(--primary-red);
}

/* UNDERLINE BIJ HOVER OVER NAV LINK */
nav .navCompleet li .nav-links li::before {
    content: "";
    position: absolute;
    bottom: 10%;
    left: 25%;
    width: 50%;
    height: 1.5px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease-in-out;
}

nav .navCompleet li .nav-links li:hover::before {
    transform: scaleX(1);
}

.currentPage {
    color: var(--primary-red);
}

.currentPage::before {
    content: "";
    position: absolute;
    bottom: 30%;
    left: 25%;
    width: 50%;
    height: 1.5px;
    background-color: var(--primary-red);
}

header {
    position: sticky;
}



/* /////////////////////////////////// */
/* /////////// HOME STYLING ////////// */
/* /////////////////////////////////// */

.homePagina {
    display: flex;
    gap: var(--home-gap-afstand);
}

.homePagina .landing {
    height: calc(100vh - var(--hoogte-header-nav));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homePagina .landing {
    width: var(--totale-breedte-section-content);
}

.homePagina .landing .mobieleBakeenhedenNav {
    margin-top: 1.5em;
    width: var(--totale-breedte-section-content);
}

.homePagina .landing .mobieleBakeenhedenNav ul {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 2.4em;
    justify-content: center;
}

.homePagina .landing .mobieleBakeenhedenNav ul li {
    height: 100%;
    position: relative;
}


.homePagina .landing .mobieleBakeenhedenNav ul li a {
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 0.5em;
}

.homePagina .landing .mobieleBakeenhedenNav ul li a:hover img {
    opacity: 80%;
}

.homePagina .landing .mobieleBakeenhedenNav ul li a img {
    height: 6em;
    transition: opacity 0.3s ease;
    -webkit-filter: drop-shadow(2px 2px 2px #9c9c9c);
    filter: drop-shadow(2px 2px 2px #9c9c9c);
}

.homePagina .landing .mobieleBakeenhedenNav ul li:nth-of-type(6) a img {
    scale: 90%;
}

.homePagina .landing .mobieleBakeenhedenNav ul li a:hover p {
    color: var(--primary-red);
}

.homePagina .landing .mobieleBakeenhedenNav ul li a p {
    text-align: center;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

/* STYLING VOOR HOVER EFFECT */
.homePagina .landing .mobieleBakeenhedenNav ul li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -1.2em;
    /* Zorgt dat hij mooi tussen de items zit */
    top: 50%;
    transform: translateY(-50%);
    height: 40%;
    width: 1px;
    background-color: var(--primary-blue);
    /* Pas dit aan naar jouw design */
    opacity: 30%;
}

/* Horizontale lijn bij hover */
.homePagina .landing .mobieleBakeenhedenNav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3em;
    /* Zorgt dat de lijn net onder het item komt */
    width: 50%;
    height: 2px;
    background-color: var(--primary-red);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateX(50%);
}

.homePagina .landing .mobieleBakeenhedenNav ul li a:hover::after {
    opacity: 1;
}





.homePagina .landing .hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}






.carousel-wrapper {
    width: var(--totale-breedte-section-content);
    margin: 0 auto;
    overflow: hidden;
    height: var(--carousel-height);
    position: relative;
}

.carousel-track {
    display: flex;
    gap: var(--carousel-gap);
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.5s ease;
    width: max-content;
}


.carousel-track.centered {
    margin: 0 auto;
    justify-content: space-between;
}

.carousel-track li {
    position: relative;
}

.carousel-track li {
    flex: 0 0 var(--carousel-item-width);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-track li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(var(--carousel-gap) / -2);
    width: 0.5px;
    height: 50%;
    background-color: var(--primary-blue);
    opacity: 0.5;
}

.carousel-track a {
    width: var(--carousel-item-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-track a:hover img {
    opacity: 80%;
}

.carousel-track img {
    max-height: 96px;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 1;
    transition: opacity 0.3s ease;
    -webkit-filter: drop-shadow(2px 2px 2px #9c9c9c);
    filter: drop-shadow(2px 2px 2px #9c9c9c);
}

.carousel-track a:hover p {
    color: var(--primary-red);
}

.carousel-track p {
    margin: 0.2em 0 0 0;
    font-size: 1em;
    height: auto;
    line-height: 1.2;
    text-align: center;
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}


.landing-hero {
    position: relative;
    width: var(--totale-breedte-section-content);
    height: calc(100vh - var(--hoogte-header-nav) - var(--carousel-height));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Inhoud container (h1 + p) */
.hero-text {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Voor latere verticale aanpassingen: */
    position: relative;
    top: -3.5em;
    transition: top 0.3s ease;
}

.hero-text li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.landing-hero h1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    font-size: clamp(2.5em, 5vw, 3.5rem);
    margin: 0;
}

.landing-hero .tekstBlauw {
    color: var(--primary-blue);
}

.landing-hero p {
    font-size: clamp(1em, 2.5vw, 1.3em);
    max-width: 35ch;
    margin: 0;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* Illustraties */
.hero-illustrations {
    position: absolute;
    inset: 0;
    z-index: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-illustrations li {
    position: absolute;
}

.hero-illustrations img {
    width: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), var(--max-grootte-landing-img));
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Poedersuiker */
.hero-illustrations li:nth-child(1) img {
    width: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), 220px);
}

/* Vlaggetjes */
.hero-illustrations li:nth-child(3) img {
    width: clamp(120px, var(--default-grootte-landing-img), 190px);
}

/* Boterkrullen */
.hero-illustrations li:nth-child(2) img {
    width: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), 180px);
}

/* Hemel op aarde */
.hero-illustrations li:nth-child(4) img {
    height: clamp(200px, var(--default-grootte-landing-img), 280px);
}

/* Opscheplepel */
.hero-illustrations li:nth-child(5) img {
    height: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), 230px);
}

/* Trechter met pin */
.hero-illustrations li:nth-child(6) img {
    width: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), 210px);
}

/* Poffertjes */
.hero-illustrations li:nth-child(7) img {
    width: clamp(200px, var(--default-grootte-landing-img), 300px);

}

/* Individuele positionering van de illustraties (voorbeeld) */
/* Poedersuiker */
.hero-illustrations li:nth-child(1) {
    top: 8%;
    left: 5%;
}

/* Boterkrullen */
.hero-illustrations li:nth-child(2) {
    top: 6%;
    right: 8%;
    transform: rotate(15deg);
}

/* Vlaggetjes */
.hero-illustrations li:nth-child(3) {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

/* Hemel op aarde */
.hero-illustrations li:nth-child(4) {
    bottom: 15%;
    left: 80%;
}

/* Opscheplepel */
.hero-illustrations li:nth-child(5) {
    bottom: 9%;
    right: 20%;
}

/* Trechter met pin */
.hero-illustrations li:nth-child(6) {
    bottom: 7%;
    right: 37%;
}

/* Poffertjes */
.hero-illustrations li:nth-child(7) {
    bottom: 15%;
    left: 20%;
    transform: translateX(-50%);
}


























.homePagina .ambachtelijkePoffertjes ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

.homePagina .ambachtelijkePoffertjes ul li:first-child {
    flex: 1.5;
}

.homePagina .ambachtelijkePoffertjes ul li:last-child {
    flex: 1;
}


.homePagina .ambachtelijkePoffertjes ul li:first-child {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.homePagina .ambachtelijkePoffertjes ul li img {
    max-width: 100%;
    max-height: 95%;
    border-radius: var(--border-radius-fotos);
}



.homePagina .poffertjesFlyer img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius: var(--border-radius-fotos);
}

.homePagina .poffertjesFlyer {
    will-change: transform;
}

.homePagina .poffertjesFlyer ul li {
    display: flex;
    flex-direction: column;
    gap: 1em;
}


.homePagina .mobieleBakEenheden ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5em;
}

.homePagina .mobieleBakEenheden ul li:first-child {
    flex: 1;
}

.homePagina .mobieleBakEenheden ul li:last-child {
    flex: 1;
}


.homePagina .mobieleBakEenheden ul .info {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.homePagina .mobieleBakEenheden h2 {
    margin-left: -0.3em;
}

.homePagina .mobieleBakEenheden .bakeenheid-button {
    width: fit-content;
}

.homePagina .mobieleBakEenheden img {
    max-width: 100%;
    max-height: 350px;
}

.homePagina .video {
    height: 20em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homePagina .video img {
    max-width: 100%;
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.homePagina .video iframe {
    width: 90%;
    max-height: 100%;
    border: none;
    scale: 1.10;
    z-index: 1;
    object-fit: cover;
    margin: 0;
}



.homePagina video {
    width: 88%;
    height: 88%;
    object-fit: cover;
}


/* //////////////// */
/* OVER ONS STYLING */
/* //////////////// */

.overOnsPagina section {
    width: var(--small-content-breedte);
    display: flex;
    flex-direction: column;
}

.overOnsPagina section ul {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}

.overOnsPagina section:nth-of-type(1) ul li:nth-of-type(2) {
    background-color: rgba(205, 39, 41, 0.1);
    margin-left: 2em;
    margin-right: 2em;
    padding: 1em;
    border-radius: var(--border-radius-fotos);
    text-align: center;

}

.overOnsPagina section ul li h2 {
    font-size: 2em;
}

.overOnsPagina section ul li:nth-of-type(1) ul li {
    display: flex;
    flex-direction: column;
    gap: .8em;
}

.overOnsPagina section:nth-of-type(1) ul li img {
    width: 100%;
    display: flex;
    border-radius: var(--border-radius-fotos);
}


/* /////////////////////////// */
/* MOBIELE BAKEENHEDEN STYLING */
/* /////////////////////////// */

.bak-eenheden {
    width: var(--small-content-breedte);
}

main section .bakeenheden-list {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

main section .bakeenheden-list .bakeenheid>ul {
    display: grid;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    gap: 2rem;
    align-items: center;
}

main section .bakeenheden-list .bakeenheid ul .bakeenheid-info-mb {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

main section .bakeenheden-list .bakeenheid ul .bakeenheid-info-mb h2 {
    align-self: flex-start;
    margin-left: -0.3em;
}

main section .bakeenheden-list .bakeenheid ul .bakeenheid-info-mb a {
    width: fit-content;
}

main section .bakeenheden-list .bakeenheid img {
    max-width: 100%;
    max-height: 50vh;
}

main section .bakeenheden-list .bakeenheid div a {
    width: fit-content;
}

.bakeenheid-info-mb h2 {
    color: var(--primary-blue);
}

.bakeenheid-info-mb p {
    color: var(--textColor-black);
}

.bakeenheid-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--primary-white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 400;
    font-size: .9em;
    transition: background-color 0.3s ease;
    width: auto;
}

.bakeenheid-button:hover {
    background-color: #a82f2f;
}




/* /////////////////////////////////////// */
/* MOBIELE BAKEENHEDEN INDIVIDUEEL STYLING */
/* /////////////////////////////////////// */

.bakeenheid-detail .backButton {
    display: flex;
    width: 2em;
    position: absolute;
    margin-top: 2em;
}

.bakeenheid-detail .bakeenheid-content>ul {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
}

.bakeenheid-detail .bakeenheid-content ul li:nth-of-type(1) {
    flex: 55%;
}

.bakeenheid-detail .bakeenheid-content ul li:nth-of-type(2) {
    flex: 45%;
}

.bakeenheid-detail .bakeenheid-content img {
    width: 100%;
}

.bakeenheid-detail .bakeenheid-content .bakeenheid-info>ul {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.bakeenheid-detail .bakeenheid-content .bakeenheid-info>ul>li:first-child li {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.bakeenheid-detail .bakeenheid-content .bakeenheid-info>ul>li:last-child ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.bakeenheid-detail .bakeenheid-content .bakeenheid-info>ul>li:last-child p {
    border-bottom: rgb(194, 194, 194) 1px solid;
    color: rgb(99, 98, 97);
    font-size: 20px;
    font-weight: 100;
}

.bakeenheid-detail h2 {
    margin-bottom: .3em;
}

.bakeenheid-detail h3 {
    margin-bottom: .3em;
}


.foto-galerij {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 1rem;

}

.foto-galerij img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-fotos);
}


/* ///////////////////////////////////////// */
/* MOBIELE BAKEENHEDEN POFFERTJESBOOT STYLING */
/* ///////////////////////////////////////// */
.poffertjesbootPagina .glympse-live-locatie {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}


.poffertjesbootPagina .glympse-live-locatie iframe {
    width: 600px;
    height: 500px;
}

.poffertjesbootPagina .glympse-live-locatie::before {
    content: "";
    position: absolute;
    border-radius: 20px;
    top: 3em;
    left: 50%;
    width: 4em;
    height: 4.15em;
    background-color: var(--primary-white);
    transform: translateX(-50%);
    z-index: 1;
}

.poffertjesbootPagina .glympse-live-locatie::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3em;
    background-color: var(--primary-white);
}

#document {
    display: none;
}

.poffertjesbootPagina .poffertjesboot-werkwijze {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: -1em;
}

.poffertjesbootPagina .poffertjesboot-werkwijze span {
    color: var(--primary-blue);
}

.poffertjesbootPagina .poffertjesboot-werkwijze a {
    color: var(--primary-blue);
}

.poffertjesbootPagina .poffertjesboot-werkwijze h2 {
    color: var(--primary-red);
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul>li:last-of-type {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 1em;
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul>li>p:first-of-type {
    text-decoration-thickness: 1px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-blue);
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul>li>ul {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul>li>ul>li {
    list-style: disc;
    margin-left: 20px;
}

.poffertjesbootPagina .poffertjesboot-werkwijze>ul>li>ul>li::marker {
    color: var(--primary-blue);
}

.poffertjesbootPagina .poffertjesboot-werkwijze .toggle-button {
    display: none;
}

/* /////////////// */
/* GALERIJ STYLING */
/* /////////////// */

.collage {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 300px;
    gap: 1em;
    margin: 0 auto;
    margin-bottom: 10px;
}

.collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-fotos);
}

.collage img:nth-of-type(6n+1) {
    grid-row: span 2;
    grid-column: span 2;
}

.collage img:nth-of-type(6n+5) {
    grid-column: span 2;
    grid-row: span 2;
}

@media only screen and (max-width: 800px) {
    .collage {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .collage img:nth-of-type(6n+4) {
        grid-row: span 2;
        grid-column: span 2;
    }

    .collage img:nth-of-type(6n+5) {
        grid-row: span 1;
        grid-column: span 1;
    }
}

@media only screen and (max-width: 500px) {
    .collage {
        display: grid;
        grid-template-columns: 1fr;
    }

    .collage img {
        grid-row: span 1 !important;
        grid-column: span 1 !important;
    }
}


/* ////////////// */
/* AGENDA STYLING */
/* ////////////// */

.agendaPagina h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}



/* /////////////// */
/* CONTACT STYLING */
/* /////////////// */

/* ALGEMENE STYLING FORM */
.contactPagina>section:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
}

form label {
    height: 100%;
    display: inline;
    font-style: italic;
    font-family: 'Segoe UI', sans-serif;
}

form label:not(.floating-label) {
    font-size: 0.7em;
}

form>ul {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    font-family: 'Segoe UI', sans-serif;
}

form button {
    padding: 10px 20px;
    width: fit-content;
    margin: 0 auto;
    border: none;
    background-color: var(--primary-red);
    color: var(--primary-white);
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    border-radius: 5px;
    font-size: 0.9em;
}


/* INPUT VELD STYLING    */

form .floating-label input,
form .floating-label select,
form .floating-label textarea {
    height: 100%;
    background-color: rgb(252, 237, 233);
    border: 0;
    padding-left: 10px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
}

/* Focus styles voor inputvelden */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
form select:focus,
form textarea:focus {
    border: 2px solid var(--primary-red);
    outline: none;
    box-sizing: border-box;
}

form select:focus {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Lege date/time inputs transparant maken */
input[type="date"]:required:invalid::-webkit-datetime-edit,
input[type="time"]:required:invalid::-webkit-datetime-edit {
    color: transparent;
}

/* Focus op date/time toont tekst */
input[type="date"]:focus::-webkit-datetime-edit,
input[type="time"]:focus::-webkit-datetime-edit {
    color: black !important;
}


/* FLOATING LABEL STYLING    */

form .floating-label {
    display: flex;
    position: relative;
    width: 100%;
    height: 2em;
}



form .floating-label textarea {
    padding-top: 10px;
    padding-right: 10px;
}

form .floating-label span {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
}


/* ////////////////////////// */
/* FORM SECTIES PER LI-TYPE  */
/* ////////////////////////// */

/* Naam + e-mail */
form>ul>li:nth-of-type(1) {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

/* Datum, tijd, locatie */
form>ul>li:nth-of-type(2) ul {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
}

form>ul>li:nth-of-type(2) ul li:nth-of-type(1) label input {
    padding-right: 10px;
}

form>ul>li:nth-of-type(2) ul li:nth-of-type(1),
form>ul>li:nth-of-type(3) ul li:nth-of-type(1) {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 1em;
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(1) {
    min-width: 6.5em;
}

form>ul>li:nth-of-type(2) ul li:nth-of-type(2) {
    flex: 1;
}

form>ul>li:nth-of-type(2) ul li:nth-of-type(2) label {
    min-width: 10em;
}

/* Type + personen/porties */
form>ul>li:nth-of-type(3) ul {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
}

form>ul>li:nth-of-type(3) ul li {
    border-radius: 5px;
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(2) {
    flex: 1;
    min-width: 12em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    background-color: rgb(252, 237, 233);
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(2) label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2em;
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(2) label:nth-of-type(1) {
    padding-left: 10px;
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(2) label:nth-of-type(2)::after {
    content: "";
    width: 1px;
    height: 50%;
    background-color: rgb(153, 153, 153);
    margin-left: 0.5em;
}

form>ul>li:nth-of-type(3) ul li:nth-of-type(2) label:nth-of-type(3) {
    margin-left: -1em;
}

/* Betaalwijze */
form>ul>li:nth-of-type(4) {
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding-left: 10px;
}

form>ul>li:nth-of-type(4) label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2em;
}

/* Opmerkingenvelden */
form>ul>li:nth-of-type(5) label,
#vraag-form>ul>li:nth-of-type(2) label {
    height: 100%;
}

form>ul>li:nth-of-type(5) label span,
#vraag-form>ul>li:nth-of-type(2) label span {
    top: 10px;
    transform: none;
}

form>ul>li:nth-of-type(5) label textarea,
#vraag-form>ul>li:nth-of-type(2) label textarea {
    width: 100%;
    height: 12em;
    resize: vertical;
}


/* ////////////////////// */
/* TOGGLE BUTTONS        */
/* ////////////////////// */

.contactPagina .form-toggle {
    display: flex;
    justify-content: center;
    gap: 1em;
    width: 100%;
    box-sizing: border-box;
}

.contactPagina .form-toggle button {
    padding: 5px 15px;
    border: none;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    color: black;
    background: #eee;
    cursor: pointer;
    width: 6em;
    font-size: 0.8em;
    border-radius: 5px;
}

.contactPagina .form-toggle button.active {
    background: var(--primary-red, #d00);
    color: #fff;
    border-color: var(--primary-red, #d00);
}


/* ////////////////////// */
/* CONTACT INFO STYLING  */
/* ////////////////////// */

.contactPagina h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.contactPagina .contact-info {
    display: flex;
    flex-direction: row;
    width: clamp(300px, 80vw, 800px);
    gap: 2em;
    justify-content: center;
    align-items: center;
    margin-top: 3em;
}

.contactPagina .contact-info ul:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    gap: .8em;
}

.contactPagina .contact-info ul li p {
    color: #888;
    font-size: .9em;
}


/* ////////////////////// */
/* OVERIG                */
/* ////////////////////// */

.contactPagina .hidden {
    display: none;
}

.contactPagina form label span {
    margin-left: 10px;
    font-size: 0.7em;
}

.contactPagina form input {
    box-sizing: border-box;
    display: inline-block;
}

.floating-label input:focus+span,
.floating-label input:valid+span,
.floating-label input:not([type="date"]):not([type="time"]):not(:placeholder-shown)+span,
.floating-label input[type="date"]:required:valid,
.floating-label input[type="time"]:valid,
.floating-label select:focus+span,
.floating-label select:valid+span,
.floating-label textarea:focus+span,
.floating-label textarea:valid+span{
    top: -7px;
    font-size: 0.6em;
    background-color: rgb(245, 241, 240);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    background-color: none;
    padding: 0 4px;
    font-style: normal;
}

.floating-label select:focus+span,
.floating-label textarea:focus+span,
.floating-label input:focus+span {
    border-left: 2px solid var(--primary-red);
    border-top: 2px solid var(--primary-red);
    border-right: 2px solid var(--primary-red);
}

.floating-label textarea:focus+span,
.floating-label textarea:valid+span,
#vraag-form>ul>li:nth-of-type(2) label textarea:valid+span,
#vraag-form>ul>li:nth-of-type(2) label textarea:focus+span {
    top: -16px;
}


/* ////////////// */
/* FOOTER STYLING */
/* ////////////// */

main .huisjesFooter {
    margin-top: 0;
    justify-self: end;
    position: absolute;
    bottom: 0;
}

main .huisjesFooter {
    width: var(--totale-breedte-section-content);
    overflow: hidden;
    margin-bottom: -0.4em;
    margin-top: 2em;
}

main .huisjesFooter ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, 140px);
    /* alleen hele kolommen */
    grid-auto-rows: 140px;
    /* vaste hoogte */
    gap: 0;
    justify-content: center;
    height: 140px;
    /* zorgt dat rijen niet toenemen */
}

main .huisjesFooter li {
    background-size: cover;
    background-position: center;
    margin-left: -0.11em;
    margin-right: -0.11em;
}

main .huisjesFooter li {
    background-image: url(../media/photos/ilustraties/lowResHuisjesflyer.png);
}

main .huisjesFooter li:nth-of-type(2) {
    background-image: url(../media/photos/ilustraties/lowResBrugflyer.png);
}







footer {
    background-color: var(--primary-red);
}

footer section>ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.3em;
    margin-left: 1em;
    margin-right: 1em;
    align-items: center;
}

footer section>ul>li {
    display: flex;
}

footer section>ul>li:nth-of-type(1) {
    justify-content: flex-start;
    gap: 1.2em;
    align-items: center;
}

footer section>ul>li:nth-of-type(1) ul {
    display: flex;
    gap: 1em;
}



footer section>ul>li:nth-of-type(2) {
    justify-content: center;
}

footer section>ul>li:nth-of-type(2) img {
    width: 1em;
    padding-right: .2em;
}

footer section>ul>li:nth-of-type(3) {
    justify-content: flex-end;
}

footer section>ul>li:nth-of-type(3) p {
    opacity: 65%;
}

footer section>ul>li:nth-of-type(3) p span {
    opacity: 75%;
}

footer section>ul>li p {
    color: var(--primary-white);
    font-size: .9em;

}

footer section>ul>li a img {
    width: 1em;
}







.constructie {
    background-image: none;
    height: 100vh;
    width: 100vw;
    overflow: hidden;


}

.constructieBannerBoven {
    top: 0;
    left: 0;
}

.constructieBannerOnder {
    left: 0;
    bottom: 0;
}



.constructie main {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    gap: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.constructie main>.constructieBannerBoven, .constructie main>.constructieBannerOnder {
    position: absolute;
    z-index: 5;
    width: clamp(700px, 100vw, 1070px);
}

.constructie main div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85vw;
    text-align: center;
    gap: 1em;
}



.constructie div .constructieIcoon {
    width: 8em;
}

.constructie div h1 {
    font-size: 2em;
    margin: 0;
}

.constructie div ul li {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.poffernierConstructieIcoon {
    width: clamp(10em, 40vw, 15em);
    position: absolute;
    top: 5vw;
    z-index: 10;
}


/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


@media (max-width: 768px) {
    :root {
        --totale-breedte-section-content: 100vw;
        --home-gap-afstand: 4em;
        --hoogte-header-nav: 3.5em;


        --carousel-height: 8em;
        --carousel-item-width: 7.5em;
        --carousel-tekst-grootte: 1em;
        --carousel-scroll-interval: 5000ms;
        --default-grootte-landing-img: 50vw;
    }

    html {
        width: 100vw;
    }



    nav .navCompleet .desktopNav {
        display: none;
    }

    nav .navCompleet .logoNav a img {
        height: 2.5em;
    }

    main::after,
    main::before {
        display: none;
    }

    main {
        width: 100vw;
        /* Maak de main breedte 100% van het scherm */
        margin: 0;
        /* Verwijder de marge */
    }

    main>section,
    main>section>ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    h1 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        font-size: initial;
        font-size: 2.5em;
        max-width: 100%;
        line-height: .95em;
        margin-bottom: .2em;
        margin-left: 0;


    }

    h2 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        font-size: initial;
        font-size: 2em;
        max-width: 100%;
        line-height: .95em;
        margin-bottom: .2em;
        margin-left: 0;
    }

    p {
        font-size: .8em;
    }




    .homePagina .mobieleBakEenheden img {
        max-width: 90%;
    }

    .homePagina .mobieleBakEenheden ul li:last-child {
        display: flex;
        justify-content: center;
    }

    .homePagina .mobieleBakEenheden ul {
        display: flex;
        flex-direction: column;
    }

    .homePagina .mobieleBakEenheden .bakeenheid-button {
        align-self: flex-start;
    }

    .homePagina .mobieleBakEenheden ul .info {
        gap: .7em;
    }

    .homePagina .mobieleBakEenheden ul {
        gap: 1em;
    }

    .homePagina .poffertjesFlyer ul li {
        gap: .7em;
    }

    .homePagina .ambachtelijkePoffertjes ul {
        gap: .8em;
    }

    .overOnsPagina section:nth-of-type(1) ul li:nth-of-type(2) {
        margin: 0;
    }

    main section .bakeenheden-list {
        gap: 0;
    }

    main section .bakeenheden-list .bakeenheid>ul {
        display: flex;
        flex-direction: column;
        gap: .5em;
    }

    main section .bakeenheden-list .bakeenheid:nth-of-type(3) {
        margin-top: -2.5em;
    }

    main section .bakeenheden-list .bakeenheid:nth-of-type(3) ul li:nth-of-type(2) {
        margin-top: -2em;
    }

    main section .bakeenheden-list .bakeenheid>ul li:nth-of-type(2) .bakeenheid-info-mb {
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    main section .bakeenheden-list .bakeenheid>ul li a {
        height: 100%;
        width: 100%;
    }


    .bakeenheid-button {
        font-size: .8em;
        padding: 0.5rem 1rem;
        margin: 0 auto;
        margin-top: 1em;
    }

    main .bak-eenheden h1 {
        margin-left: 0;
        margin-bottom: .5em;
    }

    main section .bakeenheden-list .bakeenheid ul .bakeenheid-info-mb h2 {
        margin-left: 0;
    }

    main section .bakeenheden-list .bakeenheid:not(:last-child)::after {
        content: "";
        display: block;
        height: 1px;
        background-color: #ccc;
        margin: 2.5rem 0;

    }

    /* poedersuiker, opscheplepel en trechter weg op klein scherm */
    .hero-illustrations li:nth-child(1) img, .hero-illustrations li:nth-child(5) img, .hero-illustrations li:nth-child(6) img {
        display: none;
    }

    /* Individuele positionering van de illustraties (voorbeeld) */
    /* Poedersuiker */
    .hero-illustrations li:nth-child(1) {
        top: 8%;
        left: 5%;
    }

    /* Boterkrullen */
    .hero-illustrations li:nth-child(2) {
        top: 4%;
        right: 13%;
        transform: rotate(15deg);
    }

    /* Vlaggetjes */
    .hero-illustrations li:nth-child(3) {
        top: 2%;
        left: 30%;
        transform: translateX(-50%);
    }

    /* Hemel op aarde */
    .hero-illustrations li:nth-child(4) {
        bottom: 4%;
        left: 50%;
        transform: rotate(10deg);
    }

    /* Opscheplepel */
    .hero-illustrations li:nth-child(5) {
        bottom: 9%;
        right: 20%;
    }

    /* Trechter met pin */
    .hero-illustrations li:nth-child(6) {
        bottom: 7%;
        right: 37%;
    }

    /* Poffertjes */
    .hero-illustrations li:nth-child(7) {
        bottom: 15%;
        left: 30%;
    }

    /* Vlaggetjes */
    .hero-illustrations li:nth-child(3) img {
        width: clamp(120px, var(--default-grootte-landing-img), 130px);
    }

    /* Boterkrullen */
    .hero-illustrations li:nth-child(2) img {
        width: clamp(var(--min-grootte-landing-img), var(--default-grootte-landing-img), 130px);
    }

    /* Poffertjes */
    .hero-illustrations li:nth-child(7) img {
        width: clamp(200px, var(--default-grootte-landing-img), 150px);

    }




    .daf33Pagina {
        display: flex;
        flex-direction: row;

    }

    .bakeenheid-detail .bakeenheid-content .bakeenheid-info>ul>li:last-child p {
        font-size: .8em;
    }

    .poffertjesbootPagina {
        gap: 2em;
    }

    .poffertjesbootPagina .glympse-live-locatie iframe {
        width: 100%;
        height: 600px;
    }

    .poffertjesbootPagina .glympse-live-locatie::before {
        display: none;
    }

    .poffertjesbootPagina .bakeenheid-content ul li:nth-of-type(1) img {
        margin-top: -3em;
        margin-bottom: -2em;
    }

    .poffertjesbootPagina h1 {
        margin-top: 0;
    }

    .poffertjesbootPagina .poffertjesboot-werkwijze h2 {
        margin-bottom: 0;
    }



    .poffertjesbootPagina .poffertjesboot-werkwijze .toggle-button {
        display: block;
        font-family: 'Times New Roman', Times, serif;
        background-color: var(--primary-red);
        color: var(--primary-white);
        border-radius: 6px;
        font-weight: 400;
        transition: background-color 0.3s ease;
        width: auto;
        font-size: .8em;
        padding: 0.5rem 1rem;
        margin: 0 auto;
        margin-top: .2em;
        border: none;
    }


    .poffertjesboot-werkwijze ul.toggle-list {
        max-height: 100px;
        /* laat de eerste paar regels zien */
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .poffertjesboot-werkwijze ul.toggle-list.expanded {
        max-height: 5000px;
        /* groot genoeg om alles te tonen */
    }

    .contactPagina .contact-info ul:nth-of-type(1) {
        align-items: center;
    }

    .contactPagina .contact-info ul:nth-of-type(1) li:nth-of-type(3) a {
        text-align: center;
    }

    main>section:nth-last-child(2) {
        margin-bottom: 8em;
    }

    main .huisjesFooter ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, 100px);
        /* alleen hele kolommen */
        grid-auto-rows: 100px;
        /* vaste hoogte */
        height: 100px;
        /* zorgt dat rijen niet toenemen */
    }

    .overOnsPagina h1 {
        display: flex;
        flex-direction: row;
        margin-bottom: .5em;
    }












    .mobiele-carousel {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: hidden;
        width: 100vw;
    }

    .mobiele-carousel li {
        flex: 0 0 50vw;
        box-sizing: border-box;
        padding: 1em 0.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobiele-carousel li a {
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .mobiele-carousel li img {
        height: 100%;
        transition: opacity 0.3s ease;
        filter: drop-shadow(2px 2px 2px #9c9c9c);
    }


    .homePagina .video {
        height: 11em;
        width: var(--totale-breedte-section-content);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .homePagina .video img {
        max-width: 100%;
        position: absolute;
        pointer-events: none;
        z-index: 2;
    }

    .homePagina video {
        width: 88%;
        height: 88%;
        object-fit: contain;
    }

    .carousel-track p {
        font-size: var(--carousel-tekst-grootte);
    }

    .carousel-track li:nth-of-type(3) img {
        scale: 1.2;
    }




}

@media (max-width: 886px) {
    footer section>ul {
        display: flex;
        flex-direction: column;
        gap: 1.2em;
        padding: 1.5em;
        text-align: center;
        margin: 0;
    }

    footer section>ul>li {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    footer section>ul>li>.socials {
        display: flex;
        flex-direction: row;
        gap: 1em;
    }

    footer section>ul>li>.contactInfo {
        display: flex;
        flex-direction: column;
        gap: .8em;
    }

    footer section>ul>li:nth-of-type(1),
    footer section>ul>li:nth-of-type(3) {
        flex-direction: column;
    }

    footer section>ul>li:nth-of-type(1) {
        gap: .8em;
        font-size: .8em;
    }

    footer section>ul>li:nth-of-type(1) ul li:nth-of-type(1) {

        display: flex;
        flex-direction: row;
        gap: 0.5em;
    }


    footer section>ul>li:nth-of-type(2) {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: left;
        gap: 0.2em;
    }

    footer section>ul>li a img {
        width: 1.2em;
    }

    footer section>ul>li:nth-of-type(2) img {
        padding-right: 0;
        margin: 0;
        width: 1.1em;
    }

    footer section>ul>li:nth-of-type(3) {
        font-size: .8em;
    }

}

@media (min-width: 769px) {
    nav .navCompleet .mobileNav {
        display: none;
    }
}

@media (max-width: 1170px) {
    :root {
        --totale-breedte-section-content: 100vw;
        --home-gap-afstand: 4em;
    }

    html {
        width: 100vw;
    }

    body {
        overflow-x: hidden;
    }

    

    #menuToggle {
        margin-right: 0;
        margin-left: auto;
        z-index: 1;
        user-select: none;
        padding: 0.5em;
        background-color: var(--primary-orange);

        border-radius: 5px;
    }


    #menuToggle a {
        text-decoration: none;
        color: #232323;

        transition: color 0.3s ease;
    }




    #menuToggle input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;

        cursor: pointer;

        opacity: 0;
        z-index: 2;

        -webkit-touch-callout: none;
    }

    .bakeenheden-list {
        text-align: center;
    }

    #menuToggle span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;

        background: #cdcdcd;
        border-radius: 3px;

        z-index: 1;

        transform-origin: 4px 0px;


    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle span:nth-of-type(1) {
        background-color: var(--primary-red);

    }

    #menuToggle span:nth-of-type(2) {
        background-color: var(--primary-white);

    }

    #menuToggle span:nth-of-type(3) {
        background-color: var(--primary-blue);
        margin-bottom: 0;
    }

    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translateX(3px) translateY(-2px);
        background: var(--primary-white);

    }

    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;

    }

    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translateX(2px) translateY(4px);
        background: var(--primary-white);
    }

    #menu li a {
        padding: 10px 20px;
        font-family: "Sail", system-ui;
        font-weight: 200;
        font-size: 1.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--primary-blue);
        margin-bottom: 0.5em;
    }

    #menu li label {
        cursor: pointer;
    }

    #menuToggle input:checked~ul {
        transform: translateX(0);
    }

    body:not(.animatie-klaar) #menu {
        transition: none !important;
    }

}




@media (max-width: 768px) {
    .desktopNav {
        display: none;
    }

    .mobileNav {
        display: block;
        flex: 0 0 auto;
    }
}

@media (max-width: 928px) {
    nav .navCompleet li .nav-links {
        gap: .3em;
    }
}

@media (min-width: 886px) and (max-width: 1210px) {

    footer section>ul>li:nth-of-type(1)>.socials {
        display: flex;
        flex-direction: column;
        gap: .5em;
    }

    footer section>ul>li:nth-of-type(1)>.contactInfo {
        display: flex;
        flex-direction: column;
        gap: .7em;
        margin-top: -.2em;
    }


}

@media (min-width: 800px) and (max-height: 700px) {
    .hero-text {
        top: -2em;
    }

    .hero-illustrations {
        display: none;
    }
}

@media (min-width: 800px) and (max-height: 500px) {
    .hero-text {
        top: -0.3em;
    }
}

@media (max-width: 800px) and (max-height: 800px) {
    .hero-text {
        top: -2em;
    }
}

@media (max-width: 800px) and (max-height: 650px) {
    .hero-illustrations {
        display: none;
    }
}

@media (max-width: 800px) and (max-height: 650px) {
    :root {
        --carousel-height: 6em;
        --carousel-item-width: 7.5em;
        --carousel-tekst-grootte: 1em;
    }

    .hero-illustrations {
        display: none;
    }

    .hero-text {
        top: 0;
    }
}
