main {
	display: flex;
	padding: 1.5rem;
	flex-direction: column;
	align-items: center;
}

#submitForm {
	font-family: "montserrat";
}

#submitContainer {
	line-height: 1.6;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	min-width: 19rem;
	max-width: 45rem;
	padding: 0.79rem;
	gap: 0.8rem;
	margin: 0 0 2rem 0;
}

#formHeading,
#formFooter {
	display: flex;
	flex-direction: column;
	padding: 0 1.35rem 1.5rem 1.35rem;
	align-items: center;
	text-align: center;
}

#formFooter {
	margin: 0.5rem 0 0 0;
}

#formFooter p {
	color: var(--tertiary-gray-text);
}

#formHeading h1 {
	font-family: "playfair display";
	word-spacing: 0.25rem;
	letter-spacing: 0.15rem;
	font-size: 2.8rem;
}

#formHeading p {
	font-weight: 200;
	opacity: 0.5;
	font-size: 1.2rem;
}

.inputTitle {
	display: flex;
	gap: 0.55rem;
	font-weight: 550;
	font-size: 1.3rem;
	align-items: center;
}

.inputTitle img {
	width: 1.8rem;
	height: 1.8rem;
}

p a {
	color: aqua;
	font-style: italic;
	text-decoration: underline;
}

form {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
	padding: 2rem;
	border-radius: 0.5rem;
	border: 0.0001rem solid var(--border);
	background-color: var(--cards-light-gray);
	transition: border-color ease-in-out 0.5s;
	cursor: pointer;
}

form:hover {
	border-color: var(--accent-light-teal);
	box-shadow: 0.02rem 0.005rem 0.2rem var(--accent-bright-teal);
}

label {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--tertiary-gray-text);
	cursor: pointer;
}

#agree {
	margin-top: 0.259rem;
	accent-color: var(--accent-bright-teal);
	cursor: pointer;
}

#storyCategory-input {
	margin-top: 0.259rem;
	accent-color: var(--accent-bright-teal);
	cursor: pointer;
}

#agreeLabel {
	cursor: pointer;
}

#story-input {
	min-height: 9rem;
}

#imgDescription-input {
	min-height: 6rem;
}

#author {
	display: flex;
	gap: 2rem;
	width: 100%;
	flex-wrap: wrap;
}

#author label {
	flex-grow: 1;
}

.characters {
	opacity: 0.75;
	font-size: 0.9rem;
	margin: 0 0 0 0.35rem;
	color: var(--secondary-soft-gray-text);
}

/* media queries */
@media (max-width: 800px) {
	main {
		padding: 0.5rem;
	}
	#aboutContainer {
		max-width: 100%;
	}
}
