*, *::before, *::after{
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

html, [data-component]{
    scroll-padding-top: 10vh;
}

@font-face{
    font-family: 'Afacad-Bold';
    src: url('../fonts/Afacad-Bold.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Afacad-SemiBoldItalic';
    src: url('../fonts/Afacad-SemiBoldItalic.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Bold';
    src: url('../fonts/Inter_18pt-Bold.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Inter-BoldItalic';
    src: url('../fonts/Inter_18pt-BoldItalic.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Italic';
    src: url('../fonts/Inter_18pt-Italic.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Regular';
    src: url('../fonts/Inter_18pt-Regular.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'LilitaOne-Regular';
    src: url('../fonts/LilitaOne-Regular.ttf');
    font-display: swap;
}

:root{
    --primary: #1C2C3B;
    --secondary: #304D5D;
    --secondary-transparent: #304d5d8a;
    --accent-transparent: #368bbc81;
    --accent: #368ABC;
    --highlight: #E3AF40;
    --text-dark-background: white;
    --text-light-background: var(--primary);
    --font-family-general: 'Inter-Regular';
    --font-family-heading: 'LilitaOne-Regular';
    --font-family-CTA: 'Afacad-SemiBoldItalic';
    --content-max-width: 1200px;

    --font-size-general: 18px;
    --font-size-h1: 75px;
    --font-size-h2: 60px;
    --font-size-h3: 45px;
    --font-size-h4: 30px;
    --font-size-h5: 25px;

    --border: 1px solid var(--accent);
    --underline-light-background: 0.05em solid var(--primary);
    --underline-dark-background: 0.05em solid var(--text-dark-background);
    --container-padding: 1em;
    --text-padding: 0.3em 0.6em;
    --gap: 0.2em;
}

*{
    gap: var(--gap);
    transition: 100ms ease-in-out;
}


section{
    width: 100%;
}

img, picture, svg, video{
    display: block;
    max-width: 100%;
}
div.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    --width: clamp(15px, 5vw, 30px);
    --height: clamp(15px, 5vw, 30px);
    --padding-y: clamp(15px, 1.4vw, 25px);
    --padding-x: clamp(15px, 1.4vw, 25px);
    width: calc(var(--width) + var(--padding-x));
    height: calc(var(--height) + var(--padding-y));
    cursor: pointer;
}
div.icon svg{
    width: var(--width);
    height: var(--height);
}
div.icon svg{
    fill: var(--text-light-background);
}
div.icon svg :is(path, rect){
    fill: inherit;
}
a{
    display: inline-block;
    text-decoration: none;
}
input, textarea, button, select{
    font: inherit;
}
h1, h2, h3, h4, h5{
    font-family: var(--font-family-heading);
    padding: var(--text-padding);
    height: min-content;
    color: var(--text-light-background);
}
h1{
    font-size: var(--font-size-h1);
    color: var(--text-dark-background);
}

h2{
    font-size: var(--font-size-h2);
    width: 100%;
    max-width: var(--content-max-width);
}

h3, li{
    font-size: var(--font-size-h3);
}

h4{
    font-size: var(--font-size-h4);
}

h5{
    font-size: var(--font-size-h5);
}

.font-bold{
    font-weight: bolder;
}
.font-italic{
    font-style: italic;
}
p, a, input, select, option, textarea, button, label, q{
    font-family: var(--font-family-general);
    font-size: var(--font-size-general);
    padding: var(--text-padding);
}
span{
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
}
li{
    list-style: none;
    font-family: 'Inter-Bold';
    font-size: var(--font-size-general);
    padding: var(--text-padding);
}
li.link{
    display: flex;
    align-items: center;
    cursor: pointer;
}
img{
    object-fit: cover;
    max-height: 600px;
}
@keyframes arrow{
    from{
        width: 0em;
    }
    to{
        width: 1em;
    }
}
li.link:hover::before{
    content:  url('data:image/svg+xml;charset=UTF-8,<svg height="1em" viewBox="0 0 30 30" fill="1C2C3B" xmlns="http://www.w3.org/2000/svg"><path d="M22.8281 16.875H0V13.125H22.8281L12.3281 2.625L15 0L30 15L15 30L12.3281 27.375L22.8281 16.875Z" fill="inherit"></path></svg>');
    animation: arrow 100ms ease-in forwards;
}
q{
    font-family: 'Inter-Italic';
}
label{
    font-weight: bolder;
}
a.CTA, button.CTA{
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
    background-color: var(--accent) !important;
    color: var(--text-dark-background) !important;
    font-family: var(--font-family-CTA);
    font-size: calc(var(--font-size-general) * 1.5);
    cursor: pointer;
    border: none;
}
a.CTA:hover, button.CTA:hover{
    background-color: var(--highlight) !important;
    color: var(--primary) !important;
}
.d-none{
    display: none;
}

.container{
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-component][contenteditable]:is(p, h1, h2, h3, h4, h5):not(:focus, .FAQ .question h2){
    padding-left: 0;
}

/* | Device Type            | Breakpoint Range                |
|-------------------------|---------------------------------|
| Mobile (small phones)   | max-width: 480px               |
| Mobile (large phones)   | max-width: 600px               |
| Tablets                 | min-width: 600px to 1024px     |
| Small Desktops          | min-width: 1025px to 1200px    |
| Large Desktops          | min-width: 1201px and up       |  */

@media only screen and (max-width: 1024px) {
    :root{
        --font-size-general: 16px;
        --font-size-h1: 48px;
        --font-size-h2: 36px;
        --font-size-h3: 28px;
        --font-size-h4: 22px;
        --font-size-h5: 18px;
    }
    img{
        max-height: 450px;
    }
}

@media only screen and (max-width: 600px) {
    :root{
        --font-size-general: 16px;
        --font-size-h1: 36px;
        --font-size-h2: 28px;
        --font-size-h3: 22px;
        --font-size-h4: 18px;
        --font-size-h5: 16px;
    }
    img{
        max-height: 300px;
    }
}

div.banner, div.banner * {
    /* Menno edit: webkit toegevoegd voor safari bruikbaarheid */
    -webkit-user-select: none;
    user-select: none;
}
div.banner{
    --reach: 60%;
    --height: 45vh;
    display: flex;
    justify-content: center;
    background-color: var(--secondary);
    width: 100%;
    height: var(--height);
}

div.banner div{
    display: flex;
    flex-direction: column;
    max-width: var(--content-max-width);
    width: 100%;
    position: relative;
}

div.banner div.background{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

div.banner div.background div.gradient{
    width: 100%;
    height: 100%;
    background-image:  linear-gradient(115deg, var(--secondary) 20%, var(--secondary-transparent) var(--reach), var(--secondary-transparent), var(--secondary) 90%);
}

div.banner div.background img{
    height: 100%;
    width: 100%;
    max-height: unset;
    position: absolute;
    object-fit: cover;
    z-index: -1;
}

div.banner div.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: min-content;
    padding: calc(var(--container-padding) * 3);
    position: relative;
    z-index: 1;
}

div.banner div.content div.text * {
    padding: 0;
}

div.banner div.content div.text{
    width: min-content;
    color: var(--text-dark-background);
}
.warning {
    background-color: #ffcc00; /* Yellow */
    color: #664d00; /* Darker yellow for contrast */
}

.success {
    background-color: #28a745; /* Green */
    color: #ffffff; /* White for readability */
}

.info {
    background-color: #17a2b8; /* Blue */
    color: #ffffff; /* White for readability */
}

.danger {
    background-color: #dc3545; /* Red */
    color: #ffffff; /* White for readability */
}
.feedback{
    display: flex;
    justify-content: center;
    position: fixed;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    animation: fly-out 1000ms ease-in forwards;
    animation-delay: 2200ms;
    width: 100%;
    max-width: 1200px;
    padding: var(--container-padding);
}
.feedback p{
    text-align: center;
    padding: var(--text-padding);
    font-size: var(--font-size-h3);
    width: 75%;
}
@keyframes fly-out{
    from{}
    to{
        transform: translateY(-100%);
        opacity: 0;
    }
}

div.banner div.content div.text h1{
    white-space: nowrap;
}
:has([data-component]):not(.collection, section.content){
    max-width: 100%;
}
[data-component]{
    min-width: 0;
    max-width: 100%;
}
[data-component="blog"] [contenteditable]:is(h1, h2, h3, h4, h5){
    /*width: max-content;*/
    width: 100%;
}
[data-component] [contenteditable]{
    min-width: 0;
    width: fit-content;
    overflow-wrap: anywhere;
    white-space: normal !important;
    /*overflow-x: clip;*/
    max-width: 100%;
}
[data-component="link"]{
    width: min-content;
}
[data-component="image"]{
    width: 100%;
}
[data-component="image-slider"][data-master-type-id="1"], .cms-tool:has(> .toolset):not(.blog), [data-component="faq"]{
    max-width: var(--content-max-width) !important;
}
@media only screen and (max-width: 675px) {
    div.banner div.content div.text h1 {
        white-space: normal;
    }

    div.banner div.content {
        width: 100%;
    }

    div.banner div.content div.text {
        width: 100%;
    }
}
.spinner {
    display: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(farthest-side,var(--accent) 94%,#0000) top/9px 9px no-repeat,
    conic-gradient(#0000 30%,var(--accent));
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 9px),#000 0);
    animation: spinner-c7wet2 1s infinite linear;
}
body:has(.faq) .spinner, body:has(.blog) .spinner{
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    backdrop-filter: brightness(0.4);
    z-index: 1;
}

@keyframes spinner-c7wet2 {
    100% {
        transform: rotate(1turn);
    }
}

