@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;500;600;700&display=swap');

:root {
	--red: #b10015;
	--red-dimmed: rgba(177, 0, 21, 0.7);
	--red-darker: rgb(99, 11, 21);
	--white: #e6efec;
	--white-dimmed: rgba(230, 239, 236, 0.8);
	--white-hover: rgba(230, 239, 236, 0.3);
	--yellow: #edc85e;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Dosis', 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif;
	font-weight: 500;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	color: var(--white);
}

body {
	overflow-x: hidden;
	width: 100%;
	background-color: var(--red);
	cursor: url("/icons/cursor-pointer.png"), auto;
}

a {
	font-size: inherit;
	text-decoration: none;
	color: inherit;
}

h1 {
	font-size: 3rem;
	font-weight: 600;
	padding-block: 1rem 0.5rem;
	border-bottom: 2px solid var(--white-dimmed);
	margin-bottom: 2rem;
}

h3 {
	display: inline-block;
	font-size: 2rem;
	font-weight: 600;
	padding-block: 0.5rem;
	border-bottom: 2px solid var(--white-dimmed);
}

h4 {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 500;
	padding-block: 0.5rem;
	border-bottom: 2px solid var(--white-dimmed);
}

p {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.note {
	color: var(--white-dimmed);
}

form {
	margin-block: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

button {
	border: none;
	background-color: transparent;
	font-weight: inherit;
	font-family: inherit;
	cursor: url("/icons/cursor-pointer-clickable.png"), pointer;
}

.section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: 0;
}

.wrapper {
	max-width: 600px;
	width: 80%;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 2rem;
	color: var(--white);
}

.input-wrapper {
	margin-bottom: 1.5rem;
	width: 100%;
}

input {
	font-size: 2rem;
	padding: 1rem;
	width: 100%;
	background-color: transparent;
	border: 2px solid var(--white-dimmed);
	color: var(--white);
	border-radius: 4px;
}

input:focus {
	outline: none;
	background-color: rgba(67, 67, 67, 0.12);
}

.button {
	background-color: var(--white);
	font-weight: 700;
	border: none;
	border-radius: 4px;
	font-size: 1.8rem;
	padding: 1rem;
	color: var(--red);
	font-family: inherit;
	cursor: url("/icons/cursor-pointer-clickable.png"), pointer;
}

.button-sm {
	font-weight: 700;
	border-radius: 4px;
	font-size: 1.6rem;
	padding: 0.5rem;
	font-family: inherit;
}

.button-secondary {
	background-color: transparent;
	border: 2px solid var(--white-dimmed);
	color: var(--white-dimmed);
}

.button-secondary:hover {
	color: var(--white);
	background-color: var(--white-hover);
}

.button-ghost {
	background-color: transparent;
	border: none;
	padding: 1rem;
	color: var(--white);
}

.button-wide {
	width: 100%;
}

.link {
	text-decoration: underline;
	color: var(--yellow);
}

.feedback {
	display: none;
	padding-top: 1rem;
	font-size: 1.5rem;
	color: var(-white);
}

.mt-1 {
	margin-top: 1rem;
}

.mt-2 {
	margin-top: 1.5rem;
}

.mt-3 {
	margin-top: 3rem;
}

.mt-4 {
	margin-top: 4.5rem;
}

.mt-5 {
	margin-top: 6rem;
}

.mb-1 {
	margin-bottom: 1rem;
}

.mb-2 {
	margin-bottom: 1.5rem;
}

.mb-3 {
	margin-bottom: 3rem;
}

.mb-4 {
	margin-bottom: 4.5rem;
}

.mb-5 {
	margin-bottom: 6rem;
}

.cta {
	border: 2px solid var(--white-dimmed);
	border-radius: 8px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.cta-ghost {
	padding: 0;
	border: none;
	gap: 1rem;
}

@media screen and (max-width: 400px) {
	a {
		font-size: 1.5rem;
		cursor: url("/icons/cursor-pointer-clickable.png"), pointer;
	}

	a:hover {
		text-decoration: underline;
	}

	h1 {
		font-size: 2.4rem;
		padding-block: 1rem 0.5rem;
	}

	h3 {
		font-size: 1.8rem;
	}

	h4 {
		font-size: 1.6rem;
	}

	p {
		font-size: 1.6rem;
	}

	.section {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-block: 20vh;
	}

	.wrapper {
		max-width: 500px;
		width: 80%;
	}

	label {
		display: block;
		margin-bottom: 0.8rem;
		font-size: 1.6rem;
	}

	input {
		font-size: 1.6rem;
	}

	.button {
		font-size: 1.6rem;
		padding: 0.8rem;
	}

	@media screen and (max-width: 400px) {
		.section {
			padding-block: initial;
		}

		.wrapper {
			width: 90%;
		}
	}
}