/* CSS Document */

:root {
    --suffix-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --kleur-mokka: #efe0d5;
    --kleur-rood: #ea515b;
}

html {
    font-family: "Arial", var(--suffix-family);
    font-size: 16px;
    word-break: break-word;
}

html,
body {
    height: 100%;
    margin: 0;
    background-color: var(--kleur-mokka);
    color: var(--kleur-rood);
}

@media (max-width: 768px) {
    html {
        font-size: 8px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 8px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 10px;
    }
}

@media (min-width: 1280px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 1600px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1700px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 16px;
    }
}

/* CONTAINERS */

body:not(.home) main>div#page_content {
    padding-top: 6rem;
    max-width: 60%;
    margin: 0 auto;
}


svg#scene {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
}


#canvas_1920x1080 {
    display: none;
}

#klikplaat_startscherm {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999999999;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    cursor: pointer;
}

#klikplaat_startscherm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    /* Start with 0 opacity (transparent) */
    z-index: 1;
    animation: fadeInBackground 0.4s ease-out forwards;
    /* Apply animation */
}

#klikplaat_instructie {
    position: relative;
    z-index: 99999999;

    background-color: var(--kleur-mokka);
    color: var(--kleur-rood);

    background-image: url(../../images/knop_sluiten.svg);
    background-repeat: no-repeat;
    background-size: 4rem 4rem;
    background-position: calc(100% - 2rem) 2rem;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-content: center;
    align-items: flex-start;

    padding: 6rem;

    border: 2px #ea515b solid;
    border-radius: 25px;

    width: 50%;

    overflow: hidden;
    font-size: 1.4rem;

}

#klikplaat_instructie > * {
    display: block;
}

#klikplaat_instructie > h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}


#klikplaat_menubalk {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3rem;

    background-color: var(--kleur-rood);
    color: #ffffff;


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

    padding-left: 2rem;
    padding-right: 2rem;
    gap: 3rem;

    font-size: 1.4rem;
    text-transform: uppercase;
}

#klikplaat_menubalk a {
    position: relative;
    text-decoration: none;
    padding-top: 4px;
    padding-bottom: 4px;
}

#klikplaat_menubalk a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    /* Thickness of the underline */
    background-color: #ffffff;
    /* Color of the underline */
    transition: width 0.4s ease;
    /* Duration and easing of the underline expansion */
}

#klikplaat_menubalk a:hover::after {
    width: 100%;
    /* Full width of the text */
}






/* --------------------------------------- TYPOGRAFIE */

mark {
    background-color: #ffd07b;
    color: inherit;
    padding: 2px 5px
}

article,
aside,
details,
figcaption,
figure,
label,
footer,
header,
hgroup,
menu,
nav,
section,
main {
    display: block;
    width: 100%
}

p:empty {
    display: none
}

p+p,
p+table,
p+ol,
p+ul,
table+p,
ol+p,
ul+p {
    margin-top: 16px
}

ol,
ul {
    margin: 0;
    padding-left: 24px
}

li {
    width: 100%
}

li:not(:last-child) {
    margin-bottom: 10px
}

ul {
    list-style: outside disc
}

ol {
    list-style: outside decimal
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    cursor: hand;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s
}

a * {
    cursor: pointer;
    cursor: hand;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Antipasto Pro", var(--suffix-family);
    font-weight: 700;
    line-height: 1.17;
}

.h1-ct {
    margin-bottom: 2rem;
}

h1 {
    font-size: 4rem;
}

.h2-ct {
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
}

h3,
h4,
h5,
h6 {
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 0.6rem;
}

p {
    font-size: 1.6rem;
}

p a,
ul a,
ol a,
table a {
    text-decoration: underline;
}

p a:hover,
ul a:hover,
ol a:hover,
table a:hover {}

strong,
b {
    font-weight: 700
}

img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center
}

/* --------------------------------------- TYPOGRAFIE einde */


#clickplate_popup_wrapper {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 999;

}

/* Keyframe animation to animate the background opacity */
@keyframes fadeInBackground {
    0% {
        background-color: rgba(0, 0, 0, 0);
        /* Start with 0 opacity (transparent) */
    }

    100% {
        background-color: rgba(0, 0, 0, 0.3);
        /* End with 30% opacity (30% black) */
    }
}

#clickplate_popup_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    /* Start with 0 opacity (transparent) */
    z-index: 1;
}

#clickplate_popup_wrapper>* {
    position: relative;
    /* Ensure all nested elements are on top of the background */
    z-index: 2;
    /* Ensure the content is above the pseudo-element background */
}

/* Keyframe Animation for both fading in and moving */
@keyframes fadeInMove {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(80px);
        /* Start 80px lower */
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
        /* End at final position */
    }
}

#clickplate_popup_inner_wrapper {
    background-color: var(--kleur-mokka);
    position: absolute;
    display: block;

    padding: 3rem;

    border: 2px #ea515b solid;
    border-radius: 25px;

    width: fit-content;
    overflow: hidden;

    left: 50%;
    top: 50%;

    opacity: 0;
    /* Initial opacity set to 0 for fade-in */
    transform: translate(-50%, -50%) translateY(80px);
}


#clickplate_popup_header {
    background-color: transparent;
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 100%;
}

/* Keyframe animation for sliding in and fading in */
@keyframes contentFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#clickplate_popup_content {
  display: block;
  font-size: 1.6rem;
  opacity: 0;          /* start hidden */
  animation: none;     /* IMPORTANT: don't animate by default */
}


/* when open, run animations */
#clickplate_popup_wrapper.is-open::before {
  animation: fadeInBackground 0.4s ease-out forwards;
}

#clickplate_popup_wrapper.is-open #clickplate_popup_inner_wrapper {
  animation: fadeInMove 0.4s ease-out forwards;
}

/* optional: if you want the content to re-animate too, scope it */
#clickplate_popup_wrapper.is-open #clickplate_popup_content {
  animation: contentFadeIn 0.6s ease-out 0.6s forwards;
}


/* Keyframe animation for sliding in and fading in */
@keyframes slideInFade_left {
    0% {
        opacity: 0;
        transform: translateX(-3rem);
        /* Start 40 pixels to the left */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* End at original position */
    }
}

@keyframes slideInFade_right {
    0% {
        opacity: 0;
        transform: translateX(3rem);
        /* Start 40 pixels to the left */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        /* End at original position */
    }
}

.enumeration {
    margin-top: 2rem;
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.enumeration-item {
    display: flex;
    flex-direction: row;
    width: 100%;

}

.enumeration-image {
    aspect-ratio: 1;
    width: 6rem;
}

.enumeration-text {
    width: calc(100% - 6rem);
    padding-left: 2rem;
}

#clickplate_popup_wrapper.is-open h1,
#clickplate_popup_wrapper.is-open h2,
#clickplate_popup_wrapper.is-open p,
#clickplate_popup_wrapper.is-open .enumeration-item {
  opacity: 0;
  transform: translateX(3rem);
  animation: slideInFade_right 0.6s ease-out 0.6s forwards;
}


.cms_text_image-wrapper {
    display: flex;
    flex-direction: row;
}



.singlecolumn {
    width: 100% !important;
}

.singlecolumn>* {
    width: 94%;
}

.clickplate_close_btn {
    cursor: pointer;
    position: absolute;
    /* Position it relative to the closest positioned ancestor */
    top: 1rem;
    /* Adjust the top distance from the container */
    right: 1rem;
    /* Adjust the right distance from the container */
    width: 4rem;
    height: 4rem;
    background-image: url(../../images/knop_sluiten.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 2;
    /* Ensure it's above other elements */
}

.clickplate_close_btn span {
    display: none;
}


#clickplate_popup_content .cms6_component_video_embed,
#clickplate_popup_content .image-ct {
    width: calc(50% - 1rem);
    float: right;
    margin-left: 1rem;
}

.cms6_component_video_embed__yt_container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.cms6_component_video_embed__yt_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cms6_component_video_embed__vimeo_container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.cms6_component_video_embed__vimeo_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}