@font-face {
	font-family: 'Nothing You Could Do';
	src: url('/static/NothingYouCouldDo.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'Sys';
	src: url('/static/Sys.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'PragmataPro';
	src: url('/static/PragmataPro.woff2') format('woff2');
	font-display: swap;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

body {
	font-family: 'Sys', sans-serif;
}

header {
	background: #333333;
	color: #ffffff;
}

nav a {
	color: #ffffff;
	text-decoration: none;
}

nav a:hover {
	background: #446644;
	color: inherit;
}

.event-name {
	font-family: 'Nothing You Could Do', cursive;
}

.user-avatar {
	border-radius: 1em;
}

.logo-container {
	animation: fadeIn 0.5s ease-in-out forwards;
}

.logo-canvas {
	mask-image: url('/static/square-feathered-192.png');
	mask-size: cover;
}

@supports (mask-image: url('/static/square-feathered-192.webp')) {
	.logo-canvas {
		mask-image: url('/static/square-feathered-192.webp');
	}
}

.timer {
	font-family: 'PragmataPro', monospace;
}

.footnote {
	color: #aaa;
}

.notice {
	text-shadow:
		-0.03em -0.03em 0 #000000,
		 0      -0.03em 0 #000000,
		 0.03em -0.03em 0 #000000,
		 0.03em  0      0 #000000,
		 0.03em  0.03em 0 #000000,
		 0       0.03em 0 #000000,
		-0.03em  0.03em 0 #000000,
		-0.03em  0      0 #000000;
}

form select, form input, form textarea {
	font-family: 'Sys', sans-serif;
}

select:invalid {
	color: grey !important;
}

button {
	appearance: none;
	border-radius: 5px;
	background: #ddeeff;
	color: black;
	font-family: 'Sys', sans-serif;
}

button:disabled {
	color: rgba(0, 0, 0, 0.5);
}

button:not(:disabled) {
	cursor: pointer;
}

button:not(:disabled):hover {
	background: #fff !important;
}

button:not(:disabled):active {
	box-shadow: inset 0 0 3px black;
}

h1 {
	text-shadow:
		-0.04em -0.04em 0 #000000,
		 0      -0.04em 0 #000000,
		 0.04em -0.04em 0 #000000,
		 0.04em  0      0 #000000,
		 0.04em  0.04em 0 #000000,
		 0       0.04em 0 #000000,
		-0.04em  0.04em 0 #000000,
		-0.04em  0      0 #000000;
}

h2 {
	text-shadow:
		-0.04em -0.04em 0 #000000,
		 0      -0.04em 0 #000000,
		 0.04em -0.04em 0 #000000,
		 0.04em  0      0 #000000,
		 0.04em  0.04em 0 #000000,
		 0       0.04em 0 #000000,
		-0.04em  0.04em 0 #000000,
		-0.04em  0      0 #000000;
}

strong {
	color: #ffbbaa;
}

a {
	color: #aaccff;
	text-shadow:
		-0.04em -0.04em 0 #000000,
		 0      -0.04em 0 #000000,
		 0.04em -0.04em 0 #000000,
		 0.04em  0      0 #000000,
		 0.04em  0.04em 0 #000000,
		 0       0.04em 0 #000000,
		-0.04em  0.04em 0 #000000,
		-0.04em  0      0 #000000;
}

a:hover {
	color: #ddeeff;
}

.total-amount {
	color: #88ffaa;
}

/* TTF styling */

line {
	font-family: 'PragmataPro';
	text-shadow:
		-0.04em -0.04em 0 #000000,
		 0      -0.04em 0 #000000,
		 0.04em -0.04em 0 #000000,
		 0.04em  0      0 #000000,
		 0.04em  0.04em 0 #000000,
		 0       0.04em 0 #000000,
		-0.04em  0.04em 0 #000000,
		-0.04em  0      0 #000000;
}

[giant] {
	text-shadow:
		-0.06em -0.06em 0.15em #000000,
		 0      -0.06em 0.05em #000000,
		 0.06em -0.06em 0.15em #000000,
		 0.06em  0      0.05em #000000,
		 0.06em  0.06em 0.15em #000000,
		 0       0.06em 0.05em #000000,
		-0.06em  0.06em 0.15em #000000,
		-0.06em  0      0.05em #000000;
}

[big] {
	text-shadow:
		-4.0px -4.0px 0.15em #000000,
		 0.0px -4.0px 0.05em #000000,
		 4.0px -4.0px 0.15em #000000,
		 4.0px  0.0px 0.05em #000000,
		 4.0px  4.0px 0.15em #000000,
		 0.0px  4.0px 0.05em #000000,
		-4.0px  4.0px 0.15em #000000,
		-4.0px  0.0px 0.05em #000000;
}
