:root {
	--text-color: black;
	--link-color: rgb(0, 167, 244);
	--background-color: white;
	--font: 'Inter', sans-serif;
	--header-font: 'Inter', sans-serif;
	--color-1: rgb(58, 58, 100);
	--footer-color: #111;
	--header-size: 100px;
	--selected-item-color: rgb(72, 84, 97);
	--gap: 1px;
	--inset: 30px;
	--font-size: 14pt;
	--letterbox-height: 500px;
}


body {
	font-family: var(--font);
	color: var(--text-color);
	background-color: var(--background-color, white);
	margin: 0;
}

input {
	all: unset;
	font-size: var(--font-size);
	border: none;
	background-color: transparent;
	color: var(--text-color);
	padding: 12px;
}

input:active, input:focus {
	outline: none;
}

input[type="text"] {
	width: 100%;
	border-bottom: solid rgba(255, 255, 255, 0.5) 1px;
	font-size: var(--font-size);
	box-sizing: border-box;
}

input[type="number"] {
	width: 30px;
	text-align: right;
}

button {
	all: unset;
	font-size: var(--font-size);
	color: var(--link-color, blue);
	background: none;
	padding: 20px;
	opacity: 0.8;
	position: relative;
}

button:hover {
	opacity: 1;
}

button:active {
	opacity: 0.3;
}

button:disabled {
	opacity: 0.5;
	pointer-events: none;
}

button sup {
	all: unset;
	background: rgb(255, 90, 57);
	color: white;
	border-radius: 8px;
	padding: 8px;
	margin-left: 10px;
	min-width: 15px;
	display: inline-block;
	text-align: center;
}

h1, h2, h3, h4, button {
	text-transform: uppercase;
	font-family: var(--header-font);
	padding: 10px;
}

menu, header {
	background-color: var(--color-1, rgba(0, 0, 0, 0.8));
	height: var(--header-size);
	display: flex;
	justify-content: center;
	align-items: center;
	position: sticky;
	top: 0px;
	z-index: 1;
	padding: unset;
}

menu, header h1 {
	color: white;
	margin: 0;
}

footer {
	padding: 30px;
	background-color: var(--color-1, rgba(0, 0, 0, 0.8));
}

footer a {
	color: var(--link-color);
}

[data-effect] {
	position: relative;
}

[data-effect="true"] {
	animation: fx0 0.4s;
}

[data-effect="false"] {
	animation: fx1 0.4s;
}

@keyframes fx0 {
	0% {
		bottom: 0;
	}
	1% {
		bottom: 10px;
		opacity: 0.5;
	}
	100% {
		bottom: 0;
		opacity: 1;
	}
}

@keyframes fx1 {
	0% {
		bottom: 0;
	}
	1% {
		bottom: 10px;
		opacity: 0.5;
	}
	100% {
		bottom: 0;
		opacity: 1;
	}
}

[data-selected] {
	cursor: pointer;
	position: relative;
}

[data-selected="true"] {
	background-color: var(--selected-item-color);
}

[data-selected]:active {
	opacity: 0.3;
}

[data-click="false"] {
	animation: fx2 0.5s;
}

[data-click="true"] {
	animation: fx3 0.5s;
}

@keyframes fx2 {
	0% { opacity: 0.3; }
	100% { opacity: 1; }
}

@keyframes fx3 {
	0% { opacity: 0.3; }
	100% { opacity: 1; }
}

[data-selected="true"]::before {
	content: '✓';
	position: absolute;
	bottom: 4px;
	right: 4px;
	font-size: 20pt;
	width: 32px;
	height: 32px;
	background: var(--selected-item-color);
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 16px;
}

[data-selected] h3 {
	padding: 8px;
	height: 30px;
	margin: 0;
}

[data-selected] div {
	padding: 8px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--gap, 10px);
	overflow: auto;
}

.grid[data-open="false"] {
	max-height: var(--letterbox-height, 500px);
	overflow: hidden;
}

.grid[data-open="true"] {
	max-height: auto;
}

.grid * {
	user-select: none;
	-webkit-user-select: none;
}

.grid img {
	width: 100%;
}

.inset {
	padding: var(--inset, 30px);
}

.item h3 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin: 0;
}

.ordering-system .item {
	cursor: pointer;
}

.popup .item {
	display: flex;
	flex-direction: column;
	background-color: var(--color-1);
	padding-bottom: var(--inset);
	cursor: default;
}

.popup .item h3 {
	white-space: unset;
}

.popup .item img {
	width: 100%;
}

.order {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: var(--font-size);
}

.order .item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	border-bottom: solid rgba(255, 255, 255, 0.5) 1px;
	padding: 5px 15px;
	animation: fx2 1s;
}

.trailing {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
}

.list {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.modal .popup {
	background-color: var(--background-color);
	width: 500px;
	animation: fx2 0.3s;
}

@media screen and (max-width: 500px) {
	.modal .popup {
		width: 100%;
	}
}

.modal .popup .trailing button.close {
	font-size: 20pt;
}

.picture {
	cursor: pointer;
}

.picture img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.picture-gallery {
	padding-bottom: 50px;
}

.medium .grid {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.small .grid {
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}

a {
	all: unset;
	text-decoration: underline;
	color: var(--link-color);

}

a:hover {
	text-decoration: none;
}

.text {
	padding: 20px;
	text-align: center;
	box-sizing: border-box;
	max-width: 600px;
	margin: auto;
}

.disc {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 60px;
	height: 60px;
	background: url('./library/whatsapp.svg');
	color: transparent;
	background-size: cover;
	z-index: 1;
}

.ordering-system {
	background-color: #282828;
	color: white;
}

.row {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	margin: 0;
	padding: 0;
	height: var(--letterbox-height);
	background-color: var(--color-1);
	color: white;
}

.split > * {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
}

.split > *.variation {
	background-color: var(--background-color, white);
	color: var(--text-color, black);
}

.split .picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.split .picture img {
	display: flex;
	width: 100%;
}

.split button {
	background: var(--color-1);
	color: white;
	border-radius: 30px;
	padding: 10px 20px;
}

.split.variation .picture img {
	object-fit: contain;
}

@media screen and (max-width: 500px) {
	.split {
		grid-template-columns: 1fr;
		height: unset;
	}
}

.center {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

body > .text {
	padding: 50px 0;
}

section {
	max-height: var(--letterbox-height, 500px);
}

section .picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero-transition {
	object-fit: cover;
	position: fixed;
	z-index: 2;
	transition: all 0.5s;
	cursor: pointer;
}

.modal {
	position: fixed;
	z-index: 2;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	transition: opacity 0.2s;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	overflow: auto;
}

.modal.darken {
	background-color: rgba(0, 0, 0, 0.5);
}

.apple-map {
	height: var(--letterbox-height, 500px);
}

.form {
	max-width: 500px;
	padding: 20px 20px 50px 20px;
	background-color: var(--color-1);
	color: white;
}

.form input {
	color: white;
}

.form button {
	background: var(--link-color);
	color: white;
}
