:root {
	font-family:
		"Avenir Next",
		"Segoe UI",
		"Noto Sans",
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	line-height: 1.5;
	color: #1f2933;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: inherit;
	color: inherit;
	background: #f8fafc;
}

#app {
	min-height: 100vh;
}

#app:empty {
	display: grid;
	place-items: center;
	padding: 1rem;
	color: #6b7280;
	font-weight: 500;
}

#app:empty::before {
	content: "Loading...";
	opacity: 0.65;
	animation: app-loading-pulse 1.6s ease-in-out infinite;
}

@keyframes app-loading-pulse {
	0%,
	100% {
		opacity: 0.65;
	}
	50% {
		opacity: 1;
	}
}

header {
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

nav,
main {
	width: min(56rem, 100%);
	margin: 0 auto;
	padding-inline: 1rem;
}

nav {
	padding-block: 0.75rem;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	margin: 0;
}

nav a {
	color: cornflowerblue;
}

nav a:hover {
	color: black;
}

nav li.active > a,
nav a.active,
nav a.router-link-active,
nav a.router-link-exact-active {
	font-weight: 600;
	text-decoration: none;
	color: black;
	text-decoration: none;
}

nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.7rem;
	border: 1px solid transparent;
	border-radius: 0.45rem;
	background: transparent;
	font: inherit;
	line-height: 1.2;
	color: inherit;
}

nav button {
	border-color: #d1d5db;
	background: #fff;
	cursor: pointer;
}

nav button:hover {
	background: #f3f4f6;
}

nav a:focus-visible,
nav button:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

nav li.active > button {
	background: #1f2937;
	border-color: #1f2937;
	color: #fff;
	font-weight: 600;
}

main {
	position: relative;
	padding-block: 1.25rem 2rem;
}

h1 {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.25;
}

.page-enter-active,
.page-leave-active {
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
}

.page-enter-from {
	opacity: 0;
	transform: translateY(8px);
}

.page-leave-to {
	opacity: 0;
	transform: translateY(-8px);
}

.route-loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgb(255 255 255 / 0.4);
	backdrop-filter: blur(1px);
	pointer-events: none;
}

.loading-fade-enter-active,
.loading-fade-leave-active {
	transition: opacity 0.15s ease;
}

.loading-fade-enter-from,
.loading-fade-leave-to {
	opacity: 0;
}
