:root {
	--weightBold: 700;
	--weightNormal: 400;
	--weightLight: 400;
	
	--flow-space: 0.7em;
	--gap0: 0.5rem;
	--gap1: calc(var(--gap0) * 2);
	--gap2: calc(var(--gap0) * 4);
	--gap3: calc(var(--gap0) * 6);
}



/*
  Made by Elly Loel - https://ellyloel.com/
  With inspiration from:
    - Josh W Comeau - https://courses.joshwcomeau.com/css-for-js/treasure-trove/010-global-styles/
    - Andy Bell - https://piccalil.li/blog/a-modern-css-reset/
    - Adam Argyle - https://unpkg.com/open-props@1.3.16/normalize.min.css / https://codepen.io/argyleink/pen/KKvRORE

  Notes:
    - `:where()` is used to lower specificity for easy overriding.
*/

* {
	/* Remove default margin on everything */
	margin: 0;
	/* Remove default padding on everything */
	padding: 0;
	/* Calc `em` based line height, bigger line height for smaller font size and smaller line height for bigger font size: https://kittygiraudel.com/2020/05/18/using-calc-to-figure-out-optimal-line-height/ */
	line-height: calc(0.4rem + 1em + 0.4rem);
}

/* Use a more-intuitive box-sizing model on everything */
*,
::before,
::after {
	box-sizing: border-box;
}

/* Remove border and set sensible defaults for backgrounds, on all elements except fieldset progress and meter */
*:where(:not(fieldset, progress, meter)) {
	border-width: 0;
	border-style: solid;
	background-origin: border-box;
	background-repeat: no-repeat;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
}

/* Outgoing page */
::view-transition-old(root) {
  /* animation-name: fade-out; */
}

/* Incoming page */
::view-transition-new(root) {
  animation-name: fade-in;
}

/* @view-transition { navigation: auto; } */

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-300px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



html {
	/* Allow percentage-based heights in the application */
	block-size: 100%;
	/* Making sure text size is only controlled by font-size */
	-webkit-text-size-adjust: none;
}


	html.p800, 
	html.p768, 
	html.p720 {
		transform: scale(0.667);
		transform-origin: top left;
		overflow: hidden;
	}

	html.p720 .kiosk, 
	html.p720 .events {
		width: 1920px;
		height: 1080px;
	}
	
	html.p800 .kiosk, 
	html.p800 .events {
		width: 1920px;
		height: 1200px;
	}
	
	html.p768 .kiosk, 
	html.p768 .events {
		width: 1920px;
		height: 1152px;
	}



/* Smooth scrolling for users that don't prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
	html:focus-within {
		scroll-behavior: smooth;
	}
}

body {
	/* Improve text rendering */
	-webkit-font-smoothing: antialiased;
	/* https://marco.org/2012/11/15/text-rendering-optimize-legibility */
	text-rendering: optimizeSpeed;
	/* Allow percentage-based heights in the application */
	min-block-size: 100%;
	/* https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter#example_2 */
	/* scrollbar-gutter: stable both-edges; Removed until this bug is fixed: https://bugs.chromium.org/p/chromium/issues/detail?id=1318404#c2 */
	
	font-family: var(--family1);
	background-color: #fff;
}




/* Improve media defaults */
:where(img, svg, video, canvas, audio, iframe, embed, object) {
	display: block;
}

:where(img, svg, video) {
	block-size: auto;
	max-inline-size: 100%;
}

/* Remove stroke and set fill colour to the inherited font colour */
:where(svg) {
	stroke: none;
	fill: currentColor;
}

/* SVG's without a fill attribute */
:where(svg):where(:not([fill])) {
	/* Remove fill and set stroke colour to the inherited font colour */
	stroke: currentColor;
	fill: none;
	/* Rounded stroke */
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Set a size for SVG's without a width attribute */
:where(svg):where(:not([width])) {
	inline-size: 5rem;
}

/* Remove built-in form typography styles */
:where(input, button, textarea, select),
:where(input[type="file"])::-webkit-file-upload-button {
	color: inherit;
	font: inherit;
	font-size: inherit;
	letter-spacing: inherit;
}

/* Change textarea resize to vertical only and block only if the browser supports that */
:where(textarea) {
	resize: vertical;
}

@supports (resize: block) {
	:where(textarea) {
		resize: block;
	}
}

/* Avoid text overflows */
:where(p, h1, h2, h3, h4, h5, h6) {
	overflow-wrap: break-word;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
:where(ul, ol)[role="list"] {
	list-style: none;
}

/* More readable underline style for anchor tags without a class. This could be set on anchor tags globally, but it can cause conflicts. */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make it clear that interactive elements are interactive */
:where(a[href], area, button, input, label[for], select, summary, textarea) {
	cursor: pointer;
	touch-action: manipulation;
}

:where(input[type="file"]) {
	cursor: auto;
}

:where(input[type="file"])::-webkit-file-upload-button,
:where(input[type="file"])::file-selector-button {
	cursor: pointer;
}

/* Animate focus outline */
@media (prefers-reduced-motion: no-preference) {
	:focus-visible {
		transition: outline-offset 145ms cubic-bezier(0.25, 0, 0.4, 1);
	}

	:where(:not(:active)):focus-visible {
		transition-duration: 0.25s;
	}
}

:where(:not(:active)):focus-visible {
	outline-offset: 5px;
}

/* Make sure users can't select button text */
:where(button, button[type], input[type="button"], input[type="submit"], input[type="reset"]),
:where(input[type="file"])::-webkit-file-upload-button,
:where(input[type="file"])::file-selector-button {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
	text-align: center;
}

/* Disabled cursor for disabled buttons */
:where(button, button[type], input[type="button"], input[type="submit"], input[type="reset"])[disabled] {
	cursor: not-allowed;
}



.font__200 { font-size: var(--font__200); }
.font__100 { font-size: var(--font__100); }
.font__90  { font-size: var(--font__90); }
.font__80  { font-size: var(--font__80); }
.font__60  { font-size: var(--font__60); }
.font__55  { font-size: var(--font__55); }
.font__50  { font-size: var(--font__50); }
.font__45  { font-size: var(--font__45); }
.font__40  { font-size: var(--font__40); }
.font__35  { font-size: var(--font__35); }
.font__30  { font-size: var(--font__30); }
.font__25  { font-size: var(--font__25); }



h1, h2, h3, h4 {
	font-weight: 400;
}






/* Base button */
.b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;

	min-height: 100px;
	padding: 0.7em 1em;
	border-radius: 5px;
	border: 4px solid transparent;

	font-size: var(--font__25);
	font-family: var(--family1);
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: 
		background-color .3s, 
		color .3s, 
		border-color .3s;
}


.b--ghost {
	color: #fff;
	border-color: #fff;
	background-color: transparent;
}

	.b--ghost:hover {
		background-color: rgba(255, 255, 255, 0.5);
		color: var(--color__bordo);
	}

.b--ghostBordo {
	color: var(--color__bordo);
	border-color: var(--color__bordo);
	background-color: transparent;
}

	
	.b--ghostBordo.b--icon img {
		filter: brightness(0) invert(1);
		transition: filter 0.3s ease;
		filter: brightness(0) saturate(100%)
			invert(16%) sepia(46%) saturate(1550%) hue-rotate(330deg)
			brightness(90%) contrast(95%);
	}

.b--primary {
	padding: 0.7em 3em;
	text-transform: uppercase;
	color: #fff;
	background-color: var(--color__bordo);
	border-color: var(--color__bordo);
}

	.b--primary.active {
		background-color: transparent;
		color: var(--color__bordo);
	}

.b--icon {
	width: 100px;
	aspect-ratio: 1;
	padding: 0;
}

	.b--icon img {
		width: 1.7em;
		height: auto;
	}

	.b--icon.b--ghost {
		background-color: transparent;
	}
	


.flow > * + * {
	margin-top: var(--flow-space, 1.5rem);
}









.variables-debug {
	display: none;
}

.variables-debug--active {
	display: block;
	position: fixed;
	bottom: 0;
	right: 0;
	width: 70%;
	padding: 1em;
	
	background-color: #39CCCC;
	color: #000;
}

.lockWarning {
	width: 4px; 
	height: 100%;
	position: fixed; 
	right: 0; 
	top: 0; 
	z-index: 500; 
	
	background-color: #f00;
	font-size: 10px;
	color: #000;	
}

.lockWarning:hover {
	padding: 1em;
	width: 200px; 
}


















