:root {
	--colorBG: #fff;
	--colorBGalt: #efeded;
	--colorText: #333;
	--colorPrimary: #f00;
	--colorPrimaryText: #fff;
	--colorSecondary: #fff;
	--colorSecondaryText: #333;
	
	--maxContentWidth: min(calc(100vw - 2rem), 1200px);
	
	--defaultFont: "Poppins", arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
	}
}

*, *::before, *::after {
	box-sizing: border-box;
	text-wrap: pretty;
}

html,
body {
	min-height: 100%;
	background: var(--colorBG);
	color: var(--colorText);
	font-size: 16px;
	margin: 0;
	padding: 0;
	font-family: var(--defaultFont);
}

a {
	color: var(--colorText);
}

img {
	max-width: 100%;
	display: inline-block;
}

input.hidden {
	position: absolute;
	appearance: none;
	width: 0px;
	height: 0px;
	opacity: 0;
}

h2 {
    margin-inline: 1rem;
    margin-top: 2.5rem;
}

.content {
	max-width: var(--maxContentWidth);
	margin-inline: auto;
}

.centercontent {
    display: flex;
	justify-content: center;
}

.spacearound {
    margin-block: 1rem;
}


.buttonPrimary {
    text-decoration: none;
    background: var(--colorPrimary);
    color: var(--colorPrimaryText);
    padding: 1rem;
    font-weight: 600;
	transition: 150ms color, 150ms background;
	border: none;
}

.buttonPrimary:hover {
    background: var(--colorPrimaryText);
    color: var(--colorPrimary);
	box-shadow: 0px 2px 3px #0008;
}

.buttonSecondary {
    text-decoration: none;
    background: var(--colorSecondary);
    color: var(--colorSecondaryText);
    padding: 1rem;
    font-weight: 600;
	transition: 150ms color, 150ms background;
	border: none;
}

.buttonSecondary:hover {
    background: var(--colorSecondaryText);
    color: var(--colorSecondary);
	box-shadow: 0px 2px 3px #0008;
}


.button_round,
.button_round_ok,
.button_round_cancel,
.button_round_small {
    appearance: none;
    border: none;
	width: fit-content;
    padding: 1rem 3.5rem 1rem 2rem;
    font-size: 1rem;
    filter: drop-shadow(0px 2px 2px #0008);
    border-radius: 2rem;
    text-align: left;
    font-weight: 500;
    position: relative;
    font-family: var(--defaultFont);
	cursor: pointer;
}

.button_round {
    background: var(--colorBG);
}

.button_round_small {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    background: forestgreen;
	color: white;
}

.button_round_ok {
    background: forestgreen;
	color: white;
}

.button_round_cancel {
    background: red;
	color: white;
	padding: 1rem 2rem;
}

.button_round:hover,
.button_round_ok:hover,
.button_round_small:hover {
    color: forestgreen;
	background: white;
}

.button_round_cancel:hover {
    color: red;
	background: white;
}

.button_round::after,
.button_round_ok::after,
.button_round_small::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
	position: absolute;
    right: 1.5rem;
	font-size: 1.5rem;
	content: "\f054";
}

.button_round_small::after {
    right: 1rem;
}

input[type=file] {
    position: absolute;
    width: 0px;
    height: 0px;
    opacity: 0;
    appearance: none;
}

input[type=file] + label {
	background: var(--colorBGalt);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    display: block;
    width: fit-content;
    border-radius: 2rem;
    filter: drop-shadow(0px 1px 1px #0008);
    cursor: pointer;
}

input[type=file] + label:hover {
	background: var(--colorBG);
    filter: drop-shadow(0px 1px 3px #0008);
}

form div.inputerror {
    background: red;
    color: white;
    margin-block: 2rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid darkred;
    border-radius: 0.25rem;
}

form div.input.more_space {
	margin-block: 1rem 2rem;
}

form div.input {
    position: relative;
    line-height: 2rem;
    padding-left: 2rem;
    border-bottom: 1px solid var(--colorText);
	/* margin-block: 1rem 2rem; */
	margin-block: 1rem;
}

form div.input::before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
	position: absolute;
    left: 0px;
	font-size: 1.25rem;
}

form div.input.icon_at::before {
	content: "\40";
}

form div.input.icon_lock::before {
	content: "\f023";
}

form div.input.icon_world::before {
	content: "\f0ac";
}

form div.input.flag::before {
    content: "";
    width: 1.5rem;
    height: 2rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

form div.input.flag_nl::before {
    background-image: url(../flags/nl.svg);
}

form div.input.flag_en::before {
    background-image: url(../flags/uk.svg);
}


form div.input input {
    appearance: none;
    border: none;
    font-size: 1rem;
    outline: none;
    font-family: var(--defaultFont);
	max-width: 100%;
	width: 30ch;
}

form button.button_login {
    appearance: none;
    border: none;
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    background: var(--colorBG);
    filter: drop-shadow(0px 2px 2px #0008);
    border-radius: 2rem;
    text-align: left;
    font-weight: 500;
    position: relative;
    font-family: var(--defaultFont);
	cursor: pointer;
}

form button.button_login:hover {
    background: var(--colorBGalt);
}

form button.button_login::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
	position: absolute;
    right: 1rem;
	font-size: 1.5rem;
	content: "\f054";
}

.content-ontop {
    position: absolute;
	width: 100%;
    z-index: 10;
}

.content-right {
    max-width: var(--maxContentWidth);
    margin: 0 auto;
    text-align: right;
}

.iconbutton {
    display: inline-block;
	color: #fff8;
	filter: drop-shadow(1px 1px 1px #000);
	cursor: pointer;
}

.iconbutton:hover {
	color: #fff;
	filter: drop-shadow(1px 1px 3px #000);
}

.iconbutton_round {
    color: var(--colorText);
    background: var(--colorBGalt);
    display: grid;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    justify-items: center;
    align-items: center;
	filter: drop-shadow(0px 1px 2px #000);
    cursor: pointer;
}

.iconbutton_round:hover {
    color: var(--colorText);
    background: var(--colorBG);
	/* filter: drop-shadow(0px 3px 3px #000); */
}

.checkered {
	--checkeredBGColor: #eee;
	--checkeredSquareColor: #ccc;
	--checkeredSquareSize: 1rem;
    background-color: var(--checkeredBGColor);
    background-image:
      linear-gradient(45deg, var(--checkeredSquareColor) 25%, transparent 25%), 
      linear-gradient(135deg, var(--checkeredSquareColor) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, var(--checkeredSquareColor) 75%),
      linear-gradient(135deg, transparent 75%, var(--checkeredSquareColor) 75%);
    background-size:calc(2 * var(--checkeredSquareSize)) calc(2 * var(--checkeredSquareSize)); 
    background-position:0 0, var(--checkeredSquareSize) 0, var(--checkeredSquareSize) calc(-1 * var(--checkeredSquareSize)), 0 calc(-1 * var(--checkeredSquareSize)); 
}




header {
	position: sticky;
    z-index: 12;
    top: 0px;
	background: var(--colorBG);
    box-shadow: 0px 1px 3px #0008;
}

header .content {
	max-width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto 2.5rem;
    align-items: center;
    gap: 1rem;
}

header nav {
	position: relative;
}

header nav ul {
	position: absolute;
    right: 0px;
    list-style: none;
    width: 100vw;
    padding: 0px;
    top: calc(3rem - 1px);
    margin: 0;
}

header nav a,
header nav a.buttonPrimary {
    padding-inline: 1rem;
	padding-block: 0px;
}

header nav a {
    display: block;
    white-space: nowrap;
    text-decoration: none;
    background: var(--colorBG);
	transition: 150ms padding, 150ms opacity;
}

header nav a:hover {
	opacity: 0.75;
}

header nav li {
    overflow: hidden;
    line-height: 0rem;
	transition: 150ms line-height;
}

header nav input[type=checkbox]:checked + label.hamburger + ul li {
    line-height: 1.5rem;
}
header nav input[type=checkbox]:checked + label.hamburger + ul li a {
    padding-block: 0.5rem;
}

header nav .hamburger::after {
    font-weight: 600;
    font-family: "Font Awesome 6 Pro";
	content: "\f0c9";
	font-size: 2rem;
}
header nav input[type=checkbox]:checked + .hamburger::after {
	content: "\e59b";
}

@media (min-width: 800px) {
	header .content {
		grid-template-columns: 1fr auto auto;
		max-width: var(--maxContentWidth);
	}
	header nav label {
		display: none;
	}
	
	header nav ul {
		position: static;
		width: fit-content;
	}
	header nav li {
		line-height: 1.5rem;
		overflow: visible;
		display: inline-block;
	}
	header nav a.buttonPrimary {
		padding-block: 0.5rem;
	}
}
header .logo {
    padding: 0.25rem;
}

header .logo img {
    max-height: 3rem;
}

header .socials {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

header .socials a {
    display: flex;
    border: 1.5px solid var(--colorText);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
}
@media (min-width: 800px) {
	header .logo img {
		max-height: 4rem;
	}

	header .socials a {
		width: 2.5rem;
		height: 2.5rem;
	}
}






.row-hero {
	position: relative;
	height: 50vh;
}

.row-hero .slide,
.row-hero .slidestatic {
	position: absolute;
    display: grid;
    justify-items: center;
    align-items: center;
	height: 50vh;
	width: 100%;
	isolation: isolate;
	overflow: hidden;
	transition: 1s opacity;
	opacity: 0;
    background-size: cover;
    background-position: 50% 50%;
	pointer-events: none;
}

.row-hero img,
.row-hero .herocontent {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	text-align: center;
}

.row-hero img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.row-hero .slide.active,
.row-hero .slidestatic {
	opacity: 1;
	pointer-events: visible;
}

.row-hero .slide.active img {
	transition: 5s scale linear;
	scale: 1.25;
}

.row-hero .herocontent {
	z-index: 2;
}

.row-hero .herocontent h1 {
    color: var(--colorBG);
    filter: drop-shadow(0px 2px 2px #000);
	padding-block: 1rem;
}



.row-projects .project {
    display: grid;
    justify-items: start;
    align-items: end;
	margin-block: 1rem;
	position: relative;
	cursor: pointer;
}

.row-projects .project img,
.row-projects .project video,
.row-projects .project .project_description {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	text-align: center;
    object-fit: cover;
	transition: 150ms opacity;
}

.row-projects .project img,
.row-projects .project video {
    aspect-ratio: 1;
	width: calc(100vw - 2rem);
	margin-inline: 1rem;
}

.row-projects .project:hover img {
	opacity: 0.75;
}

.row-projects .project:has(video):hover img {
	opacity: 0;
}

.project_description {
    background: var(--colorBG);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    position: relative;
    box-shadow: 0px 1px 5px 2px #0004;
    margin-bottom: 1rem;
	pointer-events: none;
}

@media (min-width: 800px) {
	.row-projects {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		max-width: var(--maxContentWidth);
		margin-inline: auto;
		margin-bottom: 1rem;
	}
	
	.row-projects h2 {
		grid-column: 1 / 4;
	}
	.row-projects div.centercontent {
		grid-column: 1 / 4;
	}

	.row-projects .project img,
	.row-projects .project video {
		width: calc(100% - 2rem);
	}
}






.row-3panels {
	padding-block: 2rem;
}

.row-3panels .content {
	display: grid;
	grid-gap: 2rem;
}

.row-3panels img {
	display: block;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.row-3panels .panel {
	padding-inline: 1rem;
}


@media (min-width: 800px) {
	.row-3panels .content {
		grid-template-columns: 1fr 1fr 1fr;
		max-width: var(--maxContentWidth);
		margin: 0 auto;
	}
	
	.row-3panels .panel {
		padding-inline: 0;
	}

}


.row-text {
	background: var(--colorBGalt);
	padding-block: 2rem;
}
.row-text .content {
	max-width: var(--maxContentWidth);
	margin: 0 auto;
	padding-inline: 1rem;
	text-align: center;
}

.row-text img {
	border-radius: 50%;
	height: 6rem;
	box-shadow: 0px 2px 4px #0008;
}

@media (min-width: 800px) {
	.row-text .content {
		max-width: calc(var(--maxContentWidth) / 2);
	}
}


.row-clients {
	--time: 20s;
    overflow: hidden;
	display: inline-block;
    white-space: nowrap;
    background: var(--colorText);
	position: relative;
	padding-block: 1rem;
    width: 100%;
}

.row-clients::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: var(--colorText);
    mask-image: linear-gradient(90deg, #fff 0vw, transparent 20vw, transparent 80vw, #fff 100vw);
    z-index: 2;
	pointer-events: none;
}

.scroller_wrapper {
	overflow: hidden;
    width: 100%;
}

.scroller_content {
	white-space: nowrap;
    width: fit-content;
	animation: clients-scroll-horizontal var(--time) linear infinite;
}

.scroller_content:hover {
	animation-play-state: paused;
}

.scroller_segment {
	display: inline-grid;
    grid-auto-flow: column;
    min-width: 100vw;
}

.scroller_item {
    display: grid;
    align-items: center;
    justify-items: center;
}

.row-clients img {
	transition: 150ms opacity;
}

.row-clients img,
img.clientlogo {
	max-width: 7.5rem;
	padding-inline: 0.5rem;
	max-height: 7.5rem;
	opacity: 0.9;
}

.row-clients:has(a:hover) img:not(:hover) {
	opacity: 0.3;
}

@keyframes clients-scroll-horizontal {
	0% {
		translate: 0%;
	}

	100% {
		translate: -50%;
	}
}




.row-window {
    display: grid;
    min-height: 60vh;
    align-items: center;
    align-content: center;
    justify-items: center;
	background: var(--colorBGalt);
}

.row-window_frame {
	filter: drop-shadow(0px 1px 2px #0004);
	max-width: var(--maxContentWidth);
}

.row-window_header {
    background: var(--colorText);
    color: var(--colorBG);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0px 0px;
	font-weight: 600;
}

.row-window_content {
    background: var(--colorBG);
	padding: 1rem;
    border-radius: 0px 0px 0.5rem 0.5rem;
}





.tabs {
    display: grid;
    grid-auto-flow: column;
    width: fit-content;
    gap: 0.25rem;
    margin-inline: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: -1px;
    z-index: 2;
    position: relative;
}

.tab {
    border: 1px solid var(--colorText);
    background: var(--colorBGalt);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0px 0px;
    user-select: none;
    cursor: pointer;
}

.tab:hover {
	background: var(--colorBG);
}

.tab.active {
    background: var(--colorBG);
    border-bottom: 1px solid var(--colorBG);
}

.tabcontent {
    min-height: 4rem;
    border-top: 1px solid var(--colorText);
	padding: 1rem;
	display: flex;
	gap: 1rem;
}


.select_list,
.select_details {
    border: 1px solid var(--colorBGalt);
	height: fit-content;
}

.select_details {
	padding: 1rem;
}

.select_item {
    padding: 0.5rem;
    user-select: none;
    cursor: pointer;
}

.select_item:hover,
.select_item.active {
	background: var(--colorBGalt);
}

ul.sortable {
	list-style: none;
	margin: 0px;
    padding: 0px;
}

ul.sortable li[draggable="true"] {
	border: 1px solid var(--colorBGalt);
	padding: 0.5rem 1rem 0.5rem 2rem;
	position: relative;
	margin-block: 0.25rem;
	display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

ul.sortable li[draggable="true"]::before {
	position: absolute;
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
	content: "\f047";
	font-size: 1rem;
    left: 0.25rem;
}


footer .content {
    display: grid;
    gap: 1rem;
    /* margin: 0.5rem auto; */
    /* max-width: var(--maxContentWidth); */
}
footer .content > div {
    position: relative;
}
footer .content > div::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #8888;
    left: 0px;
    display: block;
    top: -0.5rem;
}

footer .content div:first-child::before {
    content: unset;
}

footer .about,
footer .address {
	font-weight: 300;
    font-size: 0.9rem;
}

footer .copyright {
    display: grid;
    justify-items: center;
	font-size: 0.75rem;
	font-weight: 500;
	grid-column: 1 / -1;
}

footer h3 {
	margin: 0;
	font-size: 1.25rem;
}

footer nav {
	position: relative;
	display: none;
}

@media (min-width: 800px) {
	footer .content {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 1rem 2rem;
	}
	
	footer nav {
		display: block;
	}
	
	footer .content > div::before,
	footer nav::before {
		content: "";
		position: absolute;
		width: 1px;
		height: 100%;
		background: #8888;
		top: 0px;
		display: block;
		left: -1rem;
	}
		
	footer .content > div.copyright::before {
		content: unset;
	}

	footer ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	
	footer nav a {
		text-decoration: none;
		line-height: 1.5rem;
        display: block;
	}
	
	footer nav a:hover {
		text-decoration: underline;
	}
}



.modal {
    position: fixed;
    inset: 0px;
    background: #0008;
    z-index: 20;
    display: none;
    justify-items: center;
    align-items: center;
}

.modal.open {
    display: grid;
}

.modal_window {
    width: fit-content;
	max-width: var(--maxContentWidth);
    filter: drop-shadow(0px 2px 3px #0008);
    display: grid;
    grid-template-rows: auto 1fr auto;
    max-height: 90vh;
    background: #fff;
	border-radius: 0.5rem;
}

.modal_title {
    background: #ddd;
    padding: 0.5rem;
	border-radius: 0.5rem 0.5rem 0px 0px;
	font-weight: 600;
}
.modal_content {
    padding: 0.5rem;
	overflow: auto;
	overscroll-behavior: contain;
}
.modal_buttons {
    padding: 0.5rem;
	border-radius: 0px 0px 0.5rem 0.5rem;
	display: flex;
    justify-content: space-evenly;
}

.modal_buttons .button_ok,
.modal_buttons .button_cancel,
.modal_buttons .button_save,
.modal_buttons .button_close {
    appearance: none;
    padding: 0.5rem 2rem;
    border: none;
    color: #fff;
    font-size: 1rem;
    border-radius: 0.25rem;
	cursor: pointer;
}

.modal_buttons .button_ok:hover,
.modal_buttons .button_cancel:hover,
.modal_buttons .button_save:hover,
.modal_buttons .button_close:hover {
	filter: brightness(1.25);
}

.modal_buttons .button_ok,
.modal_buttons .button_save,
.modal_buttons .button_close {
    background: forestgreen;
}

.modal_buttons .button_cancel {
    background: red;
}




.toast {
    position: fixed;
    z-index: 100;
    top: -5rem;
    left: 50%;
    width: fit-content;
    max-width: calc(100% - 6rem);
    transform: translateX(-50%);
    background: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0.5rem 1rem;
    filter: drop-shadow(0px 0px 2px #000);
    transition: 500ms top ease-in-out;
}

.toast:has(.toastok) {
    background: #0a0;
}

.toast:has(.toasterror) {
    background: #c00;
}

.toast:has(.toastok) #toastcontent,
.toast:has(.toasterror) #toastcontent {
    color: #fff;
}

.toast i {
    padding-right: 0.5rem;
}