@font-face {
	font-family: HelveticaNowText-Bold;
	src: url("/resources/fonts/HelveticaNowText-Bold.ttf");
}

body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: center;

	font-family: HelveticaNowText-Bold, sans-serif;
	text-align: center;
}

footer {
	font-size: 0.75rem;
}

a {
	color: unset;
}

h1 {
	margin: 0;
	font-size: min(12vw, 3.5rem);
	color: black;
	text-align: center;
}

p {
	margin: 0;
}

svg {
	max-height: 60vh;
	border: solid 5px black;
}

svg.use-height {
	height: var(--svg-height);
}

button,
input {
	all: unset;
	cursor: revert;
}

button {
	cursor: pointer;
}

input:disabled {
	cursor: revert;
	color: revert;
}

.inputs {
	display: flex;
	flex-direction: column;
	gap: 1rem;

	width: 100%;
	max-width: 50rem;

	font-size: 2rem;
	text-align: center;
}

.inputs input[type="file"] {
	display: none;
}

.inputs > * {
	width: 100%;
}

.inputs small {
	font-size: 0.8125rem;
}

.inputs label,
.inputs button,
.inputs input {
	overflow: auto;
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;

	box-sizing: border-box;
	width: 100%;
	height: 2.5rem;
	border-bottom: solid 0.25rem rgb(0 0 0 / 35%);

	line-height: 1;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;

	background: rgb(127 127 127 / 15%);
}

.choice {
	display: flex;
}

.choice button.selected,
*:not(.choice) > .square-button,
input[type="checkbox"] {
	background-color: rgb(0 0 0 / 30%);
}

.input-group {
	display: flex;
	flex-direction: column;
}

.input-with-extra {
	display: flex;
	flex-direction: row;
}

.input-with-extra > *:last-child {
	flex-shrink: 0;
}

.inputs .square-button,
input[type="checkbox"] {
	flex: none;

	width: 2.5rem;

	background-repeat: no-repeat;
	background-position: center;
	background-size: 2rem 2rem;
}

.rows-columns {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

dialog {
	max-width: 90%;
}

dialog > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#modal-header {
	display: flex;
	width: 100%;
}

#modal-header h2 {
	flex-grow: 1;
	margin: 0;
	text-align: start;
	text-transform: uppercase;
}

#modal-header button {
	flex-shrink: 0;
}

input[type="checkbox"]:checked {
	background-image: url("/resources/icons/tick.svg");
}
