@import "junicode.css";

body {
	font-family: 'Junicode VF', serif;
	font-variant-numeric: lining-nums;
	margin: 0;
	padding: 0;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem;
	text-align: center;
	picture img {
		max-width: 50vw;
		max-height: 54vh;
	}
	h1 {
		font-size: 60pt;
		margin-bottom: 0;
		font-weight: 500;
	}
	h3 {
		font-size: 30pt;
		margin-top: 0;
		font-weight: 400;
	}
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: row-reverse;
	padding: 1rem;
	button {
		color: white;
		background: black;
		border-radius: 10px;
		border: none;
		padding: 10px;
		padding-bottom: 7px;
		font-size: 16pt;
		font-family: 'Junicode VF', serif;
	}
}

@media (max-width: 1000px) {
	/* mobile */
	main {
		min-height: 70vh;
		margin-left: 0;
		margin-right: 0;
		picture {
			width: 100vw;
			overflow-x: clip;
		}
		picture img {
			max-width: 140vw;
			max-height: 80vw;
			/*width: 140vw;*/
		}
		h1 {
			font-size: 30pt;
		}
		h3 {
			font-size: 20pt;
		}
	}

	nav {
		top: auto;
		bottom: 0;
		justify-content: center;
		padding: 2rem;
		button {
			border-radius: 10px;
			padding: 10px;
			padding-bottom: 7px;
			font-size: 20pt;
			width: 10ch;
		}
	}
}
