.main > article {
	width: 100%;
	max-width: 630px;
	font-size: 18px;
}

.main > article.sent {
	max-width: 840px;
}

#hrtop,
#hrbottom,
#helpdeskillu {
	display: none;
}

nav,
header .menu {
	display: none;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 20px;
	text-align: center;
	margin-bottom: 50px;
}
article > h2:nth-of-type(2) {
	margin-bottom: 0;
}

form {
	display: grid;
	grid-template-areas:
		"to-label"
		"to-tl"
		"to-school"
		"school-name"
		"name"
		"email"
		"question-label"
		"question"
		"captcha"
		"error"
		"send"
	;
}
.error-holder {
	grid-area: error;
	color: #333;
	border: 1px solid #ff7c7c;
	background: #ffcece;
	margin-top: 34px;
	text-align: left;
	padding: 3px;
}
input,
textarea {
	font-size: 18px;
	outline: none;
	padding: 3px;
	border-radius: 0;
}

input:focus-visible,
textarea:focus-visible {
	background-color: var(--tertairy-color);
}

#h_name {
	grid-area: name;
	margin-top: 34px;
	border: none;
	border-bottom: 1px solid var(--primary-color);
}
label[for="h_name"],
label[for="h_email"] {
	display: none;
}

form > p.small {
	display: none;
}

.to-label {
	grid-area: to-label;
	margin-bottom: 20px;
}
.to-tl {
	grid-area: to-tl;
	align-items: center;
	display: flex;
	gap: 11px;
	margin: 10px 0;
}
.to-tl input[type="radio"] {
	width: 20px;
	height: 20px;
	appearance: none;
	outline: var(--primary-color) 1px solid;
	border: 2px solid white;
	border-radius: 50%;
}
.to-tl input[type="radio"]:checked {
	background-color: var(--primary-color);
}
.to-school {
	grid-area: to-school;
	align-items: center;
	display: flex;
	gap: 11px;
	margin: 10px 0 50px 0;
}
.to-school input[type="radio"] {
	width: 20px;
	height: 20px;
	appearance: none;
	outline: var(--primary-color) 1px solid;
	border: 2px solid white;
	border-radius: 50%;
}
.to-school input[type="radio"]:checked {
	background-color: var(--primary-color);
}
.to-school input[type="text"] {
	border: 1px solid var(--primary-color);
	display: flex;
	flex-grow: 1;
}

#h_email {
	grid-area: email;
	margin-top: 34px;
	border: none;
	border-bottom: 1px solid var(--primary-color);
}

label[for="h_question"] {
	grid-area: question-label;
	margin-top: 34px;
	justify-self: start;
	color: var(--text-highlight-color);
}

#h_question {
	grid-area: question;
	height: 144px;
	border: 1px solid var(--primary-color);
	margin-top: 8px;
}

.g-recaptcha {
	grid-area: captcha;
	justify-self: center;
	margin-top: 34px;
}

button[type="submit"] {
	grid-area: send;
	align-self: end;
	justify-self: center;
	font-size: 22px;
	padding: 9px 30px;
	margin-top: 34px;
}

.navigation {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media screen and (min-width: 1024px) {
	form {
		grid-template-areas:
			"to-label to-label"
			"to-tl to-tl"
			"to-school to-school"
			"name name"
			"email email"
			"question-label question-label"
			"question question"
			"error error"
			"captcha send"
		;
	}
	.error-holder {
		margin: 20px 0;
	}
	button[type="submit"] {
		justify-self: end;
	}
	.g-recaptcha {
		margin-top: 24px;
		justify-self: start;
	}
}
