<script lang="ts">
	export let title: string;
	export let subtitle: string = '';
</script>

<header>
	<h1>{title}</h1>
	{#if subtitle}
		<h2>{subtitle}</h2>
	{/if}
</header>

<style>
	header {
		font-family: shadowsintolight;
		margin: 0px;
		padding: 0px;
		text-align: center;
	}

	h1 {
		margin-bottom: 0px;
	}

	h2 {
		margin-top: 0px;
	}
</style>
