@font-face {
    font-family: 'MarkPro';
    src: url('../fonts/MarkPro-Medium.woff2') format('woff2'),
        url('../fonts/MarkPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MarkPro';
    src: url('../fonts/MarkPro.woff2') format('woff2'),
        url('../fonts/MarkPro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MarkPro';
    src: url('../fonts/MarkPro-Bold.woff2') format('woff2'),
        url('../fonts/MarkPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root
{
    --basis: #ffffff;
    --achtergrond: #ecf2f9;
    --text: #1c1c1c;
    --focus: #d2e1eb;
    --steun: #3655be;
    --fout: rgb(255,51,51);
    --fout_achtergrond: rgba(255,51,51,0.25);
    --waarschuwing: rgb(246, 134, 14, 0.5);
    --waarschuwing_achtergrond: rgba(252, 170, 19, 0.5);
    --succes: rgba(0, 128, 0, 1);
    --succes_achtergrond: rgba(0, 128, 0, 0.5);
}

*
{
    box-sizing: border-box;
    font-family: MarkPro, Verdana, Calibri, Arial, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html
{
    scroll-behavior: smooth;
    font-size: 18px;
}

body.popup
{
    overflow: hidden;
}

div#container
{
    transition: filter 1s, opacity 1s;
}

h1
{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--steun);
}

h2
{
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--steun);
}

ul
{
    list-style: none;
}

p
{
    line-height: 1.5em;
    padding-bottom: 1.5rem;
}

a
{
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.25s;
    color: var(--steun);
}

a:hover
{
    opacity: 1;
}

input,
select
{
    width: 100%;
    border: 1px solid var(--focus);
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 0.25rem;
    color: var(--text);
    transition: all .25s;
    font-size: 0.9rem;
}

input[type='submit']
{
    background: var(--steun);
    cursor: pointer;
    opacity: 0.9;
    color: var(--basis);
}

input[type='submit']:hover
{
    opacity: 1;
}

label
{
    width: 100%;
    display: block;
    font-weight: 500;
    padding-bottom: 0.5rem;
    cursor: pointer;
}

input:focus,
input:hover,
select:hover
{
    box-shadow: var(--focus) 0 0 0 .25rem;
    outline: none;
    cursor: pointer;
}

select
{
    appearance: none;
    width: 100%;
    outline: none;
}

div.popup
{
	background: #ffffff;
	position: fixed;
	left: 50%;
	top: 3rem;
	transform: translateX(-50%);
	padding: 2rem;
	display: none;
    width: 25rem;
    border-radius: 0.5rem;
    overflow-y: auto;
    max-height: 90%;
	box-shadow: 0 0 1rem 0.25rem rgba(0,0,0,0.25);
}

div.veld
{
    margin-top: 2rem;
}

div.popup div.veld:has(a)
{
    margin-top: 0;
}

div.popup div.veld a
{
    min-height: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

[inert]
{
	opacity: 0.75;
	filter: blur(0.5rem);
}

@media only screen and (max-width: 40rem)
{
    div.popup
    {
        left: 0;
        top: 0;
        transform: none;
        border-radius: 0;
        min-height: 100dvh;
        width: 100%;
    }
}