.contact {
	--color-text: #fff;
	--color-bg: #090A0F;
	--color-link: #d4af37;
	--color-link-hover: #fff;
}

.contact-main {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6em 1.5em 8em;
}

#starfield {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.contact-form-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
}

.contact-form-wrap .subtitle,
.contact-form-wrap .author,
.contact-form-wrap .nudge {
	text-align: center;
}

.contact-form-wrap .subtitle em {
	font-style: italic;
	font-size: 1.3em;
	color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrap .author {
	font-weight: bold;
	margin-top: 10px;
	color: #fff;
}

.contact-form-wrap .nudge {
	font-size: 1.1em;
	color: rgba(255, 255, 255, 0.7);
	margin: 15px 0 32px;
}

.form-group {
	margin-bottom: 24px;
}

.contact-form-wrap label {
	display: block;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	font-size: 14px;
	margin-bottom: 8px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 0;
	padding: 10px 4px;
	font-size: 16px;
	color: #fff;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
	outline: none;
	border-bottom-color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrap textarea {
	resize: vertical;
	min-height: 100px;
}

.helper-text {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 6px;
}

.submit-btn {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--color-link);
	padding: 14px 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.submit-btn:hover {
	border-bottom-color: rgba(255, 255, 255, 0.85);
	color: var(--color-link-hover);
}

.submit-btn:disabled {
	color: rgba(212, 175, 55, 0.4);
	border-bottom-color: rgba(255, 255, 255, 0.15);
	cursor: not-allowed;
}

.success-message,
.error-message {
	display: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 14px;
	border-radius: 8px;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 500;
}

.success-message {
	color: #8ef0b0;
}

.error-message {
	color: #ff8f8f;
}

@media screen and (max-width: 55em) {
	.contact-main {
		padding: 5em 1em 7em;
	}
}