@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Patrick+Hand&display=swap');

	*, html{
		padding: 0;
		margin: 0;
		box-sizing: border-box;
		line-height: 130%;
		scrollbar-width: thin;
		scrollbar-color: #333 transparent;
	}

	body{
		background: #eddae2;
		font-size: 1.2em;
		color: #333;
	}

	::selection {
		background: #cfafbc;
		color: #ffffff;
	}
	::-moz-selection {
		background: #cfafbc;
		color: #ffffff;
	}
	::-webkit-selection{
		background: #cfafbc;
		color: #ffffff;
	}

	main{
		display: flex;
		gap: 1em 0.1em;
		width: 55em;
		margin: 0 auto;
		flex-direction: row;
		flex-wrap: wrap;
		padding: 1em;
	}

	.page{
		flex: 49%;
		max-width: 49%;
		border: 1px solid #000;
		height: 650px;
		overflow: auto;
		padding: 1em;
		background: #fff;
	}

	p{
		padding: 0.5em 0;
	}

	.center{
		text-align: center;
	}

	#title{
		text-transform: lowercase;
		background: url('comet-haley.webp');
		background-size: cover;
		color: #fff;
	}

	.title, .one, .three, .five, .six, .seven, .nine, .ten{
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.title{
		text-align: center;
	}

	.title h1{
		font: normal 2.5em 'Patrick Hand', cursive;
		text-shadow: 0 0 8px #eddae2;
	}

	.title h2{
		font: italic 1em 'Libre Baskerville', serif;
	}

	.one{
		font: normal 0.85em 'Inconsolata', monospace;
	}

	.two{
		font: normal 0.74em 'Libre Baskerville', serif;
	}

	.three{
		font: italic 1.3em 'Libre Baskerville', serif;
		background: url('comets-bg.jpg');
		background-size: cover;
		color: #fff;
	}

	.three small{
		font: normal 50% 'Verdana', sans-serif;
	}

	.four{
		position: relative;
		background: url('blue-monster.jpg');
		background-size: cover;
		color: #fff;
		font: normal 0.8em 'Verdana', sans-serif;
	}

	.four .inner{
		position: absolute;
		bottom: 1em;
		right: 1em;
		width: 95%;
		text-align: justify;
	}

	.five{
		background: url('green-fungus.jpg');
		background-size: cover;
	}

	.five h3{
		color: #17281c;
		font: normal 1.8em 'Patrick Hand';
		text-shadow: 0 0 2px #fff;
	}

	.six{
		font: normal 0.85em 'Inconsolata', monospace;
	}

	.seven{
		font: normal 1.5em/100% 'Libre Baskerville', serif;
		background: #000;
		color: #fff;
	}

	.seven .smaller{
		font-size: 50%;
		font-style: italic;
		line-height: 15px;
		text-align: center;
		width: 70%;
	}

	.eight{
		font: normal 12pt 'Patrick Hand', monospace;
		background-color: #fff;
		background-image: linear-gradient(#eee .1em, transparent .1em);
		background-size: 100% 1.2em;
	}

	.eight h4{
		font: normal 1.5em 'Patrick Hand';
		text-align: center;
		padding-bottom: 0.2em;
		margin-top: -0.1em;
	}

	.eight p{
		line-height: 13pt;
		padding: 0.6em 0;
		letter-spacing: 1px;
	}

	.nine{
		background: url('beach-twilight.jpg');
		background-size: cover;
		font: normal 0.86em 'Libre Baskerville', serif;
		color: #fff;
		text-shadow: 0 0 1px #000;
	}

	.ten{
		font: normal 0.8em 'Verdana', sans-serif;
	}

	.end{
		position: relative;
	}

	.subtitle{
		position: absolute;
		bottom: 0;
		right: 0;
	}

	#end{
		text-transform: lowercase;
		background: url('comet-haley-rev.png');
		background-size: cover;
		color: #fff;
	}

	#end h3{
		font: bold 1.2em 'Libre Baskerville', serif;
		}

	#end .subtitle{
		padding: 1em;
		}

	#end .subtitle p{
		font: normal 1em 'Patrick Hand', sans-serif;
		text-align: justify;
	}

	footer{
		text-align: center;
		display: block;
		margin: 0.5em auto 1em;
	}

	footer img:hover{
    background: #cfafbc;
    border-radius: 20px;
}

@media (max-width: 900px) {
	main {
		width: 98vw;
		padding: 0.5em;
		gap: 0.7em 0.1em;
	}
	.page {
		flex: 100%;
		max-width: 100%;
		height: 500px;
		padding: 0.7em;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 1em;
	}
	main {
		flex-direction: column;
		width: 100vw;
		padding: 0.2em;
		gap: 0.5em 0;
	}
	
	.page {
		height: auto;
		min-height: 320px;
		padding: 0.5em;
		border-width: 1px;
	}
	.seven .smaller,
	.eight h4,
	.five h3 {
		width: 100%;
		font-size: 1em;
		padding: 0.2em 0;
	}
	.four .inner {
		position: static;
		width: 100%;
		padding: 0.2em 0;
	}
	.subtitle {
		position: static;
		padding: 0.5em 0 0 0;
	}
}