/* general styles */

:root {
	--clr-kirby: #cd2027;
	--clr-font: #333333;
}

* {
	box-sizing: border-box;
	text-align: center;
}

html {
	display: flex;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 800px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	background-color: #f9f9f9;
}

body {
	display: flex;
	margin: 0;
	padding: 8rem 2.2rem 0 2.2rem;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
	background-color: #ffffff;
	color: var(--clr-font);
	min-height: 100vh;
	flex-direction: column;
	align-items: center;
}

/* watermark backdrop */

img.watermark {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.2;
	width: 50vw;
	max-width: 300px;
	height: auto;
	z-index: 0;
	pointer-events: none;
}

/* top section */

.header,
main {
	position: relative;
	z-index: 1;
	flex: 1;
}
.header {
	max-height: 150px;
}
h1.pageTitle {
	margin-bottom: 0.25rem;
	font-size: 2rem;
}
.header h2 {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--clr-font);
	margin-top: 0;
}
p.tagline {
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--clr-kirby);
}

/* list in middle (normal screens) */

ul.info {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	position: relative;
}
li::before {
	content: "• ";
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--clr-kirby);
	margin-right: 1rem;
	text-align: left;
}

@media screen and (min-width: 601px) {
	li {
		margin: 4px 0;
		text-align: left;
		display: block;
		margin-left: 50%;
		transform: translateX(-50%);
		width: 80%;
	}
}

/* list in middle (small screens) */

@media screen and (max-width: 600px) {
	ul.info {
		list-style: none;
		padding: 0;
		margin: 1rem 0;
		display: flex;
		flex-direction: column;
		position: relative;
	}
	ul > * {
		font-size: 16px;
	}
	li::before {
		content: "• ";
		font-size: 1.1rem;
		font-weight: 800;
		color: var(--clr-kirby);
		margin-right: 1rem;
	}
	li {
		margin: 4px 0;
		text-align: left;
	}
}

/* email entry (general) */

input.earlyEmail {
	font-size: 1rem;
	text-align: left;
	padding: 0.5rem;
	margin-top: 0.5rem;
	max-width: 300px;
	border: 2px solid var(--clr-font);
	border-radius: 4px;
	transition: 0.3s ease;
}
input.earlyEmail:focus {
	outline: none;
	border-color: var(--clr-kirby);
}
button {
	font-size: 1rem;
	padding: 0.5rem 1rem;
	background-color: var(--clr-kirby);
	color: #ffffff;
	border: 2px solid var(--clr-kirby);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
button:hover {
	background-color: #fff;
	color: var(--clr-font);
}

/* email entry (small screen tweaks) */

@media screen and (max-width: 600px) {
	form {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	input.earlyEmail {
		width: 100%;
		margin-bottom: 1rem;
		text-align: center;
	}
	button {
		max-width: 100%;
		transition: transform 0.3s ease;
		transform: translateX(-1.5%);
	}
	button:active {
		transform: scale(0.9);
		background-color: #fff;
		color: var(--clr-font);
	}
}

/* recaptcha */

.g-recaptcha {
	display: block;
	left: 50%;
	margin: 1rem 29%;
}
