html, body {
	margin: 0;
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	height: 100dvh;
}

:root {
	--vdh-font-family: "Roboto";

	--zoom: 1;
	
	--vdh-footer-font-size: calc(12px * var(--zoom));

	--vdh-input-font-size: calc(16px * var(--zoom));
	--vdh-input-label-font-size: calc(12px * var(--zoom));

	--vdh-select-font-size: calc(16px * var(--zoom));
	--vdh-select-label-font-size: calc(12px * var(--zoom));

	--vdh-button-font-size: calc(16px * var(--zoom));
    --vdh-button-filter-font-size: calc(14px * var(--zoom));

	--vdh-sheet-font-size: calc(16px * var(--zoom));

	--vdh-link-font-size: calc(16px * var(--zoom));

	--vdh-headline-font-size: calc(28px * var(--zoom));
	--vdh-body-font-size: calc(16px * var(--zoom));
	
	--vdh-menutitle-font-size: calc(22px * var(--zoom));
	--vdh-menu-item-font-size: calc(16px * var(--zoom));
	--vdh-menu-text-font-size: calc(14px * var(--zoom));

	--vdh-cardtitle-font-size: calc(22px * var(--zoom));
	--vdh-card-item-font-size: calc(14px * var(--zoom));
	--vdh-card-text-font-size: calc(14px * var(--zoom));
	
	--vdh-info-title-font-size: calc(28px * var(--zoom));

	--vdh-info-text-font-size: calc(16px * var(--zoom));
	
	--vdh-alerttitle-text-font-size: calc(24px * var(--zoom));
	--vdh-alert-text-font-size: calc(14px * var(--zoom));
}

.main-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100dvh;
    box-sizing: border-box;
    gap: 20px;
    padding: 20px;
    width: 100%;
	max-width: 400px;
    overflow-y: auto;
    background-color: #fff;
}

.test-version,
.test-version > * {
    background-color: #FFF4CC !important;
}

.logo-div {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 110px;
}

.popup-container {
	padding: 20px;
	border-radius: 10px !important;
}

/* plaatjes van artikelen + favoriet */
.image-container {
	position: relative;
	display: inline-block;
	border: 1px solid gray;
	border-radius: 5px;
	padding: 10px;
	width: 320px;
	height: 180px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-container-background {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.favoriet-overlay {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 32px;
	cursor: pointer;
	background-color: white;
	border: 1px solid black;
	border-radius: 50%;
	padding: 6px;
}

.favoriet-overlay.red {
	color: red;
}

.favoriet-overlay.gray {
	color: gray;
}

/* overlay om rest van scherm te vervagen */
.screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* actief: overlay zichtbaar en klikbaar */
.screen-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* background bij popup's */
.modal-background {
	background: rgba(0,0,0,0.2) !important;
	opacity: 0.8 !important;
}


/* info screen */
.info-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    box-sizing: border-box;
    gap: 20px;
    padding: 20px;
    width: 100%;
	max-width: 400px;
    overflow-y: auto;
    background-color: #fff;
}


/* scanner screen */
.scanner-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    box-sizing: border-box;
    gap: 20px;
    padding: 20px;
    width: 100%;
	max-width: 400px;
    overflow-y: auto;
    background-color: #fff;
}


/* icons */
.app-icons {
    position: fixed;
    top: 0;
    right: 0;
	display: flex;
    padding: 10px;
    z-index: 10000;
    cursor: pointer;
	gap: 20px;
}

.back-icon {
	cursor: pointer;
}

.material-icons {
    font-size: 24px;
}
.material-icons-outlined {
    font-size: 24px;
}

.filter-icons {
	font-size: var(--vdh-button-filter-font-size);
	padding: 0;
	margin: 0;
	line-height: 1;
	vertical-align: middle;
	display: inline-block;
}

.filter-icons:empty {
	display: none;
}

.order-icons {
    font-size: 56px;
	color: gray;
}

.vdh-nodata {
	display: none;
}


/* media */
@media (max-width: 768px) {
	.center-content {
		padding: 10px;
	}
}

