@media (max-width: 1200px) {
	content[type="main"] {
		width: 100% !important;
	}

	content[type="sub"] {
		display: none;
	}
}

section {
	display: flex;
}

iframe[name="hiddenFrame"] {
	display: none;
}

section {
	width: 100%;
	padding: 0 !important;
	min-height: calc(100vh - var(--top));
	align-items: unset;
	gap: 0;
}

content {
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 20px;
	padding: 30px 20px;
}

content[type="main"] {
	width: 65%;
}

content[type="sub"] {
	width: 35%;
	background-color: var(--text-primary);
	background-image: url(../icons/background-1.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

section h1 {
	margin: 0;
	font-size: 2.5rem;
}

content[type="sub"] h1 {
	color: var(--background);
}

section h2 {
	margin: 0;
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: normal;
}

content[type="sub"] h2 {
	color: var(--background-secondary);
}

form {
	display: flex;
	flex-direction: column;
	width: 500px;
	margin-top: 20px;
	gap: 30px;
}

field {
	display: flex;
	align-content: center;
	justify-content: center;
}

input-field {
	position: relative;
	display: block;
	width: 100%;
}

input-field:before {
	position: absolute;
	top: -0.4rem;
	left: 10px;
	padding: 0 10px;
	line-height: 0.8rem;
	content: attr(title);
	background-color: var(--background);
	font-size: 0.8rem;
	transition: color 0.3s;
}

input-field:focus-within:before {
	color: var(--primary);
}

input-field[error]:before {
	content: attr(error);
	color: var(--error);
}

input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"] {
	display: block;
	width: calc(100% - 32px);
	height: 18px;
	padding: 15px;
	font-size: 0.8rem;
	border: none;
	color: var(--text-primary);
	background-color: transparent;
	border: solid 1px var(--background-shimmer);
	border-radius: 5px;
	transition: border 0.3s;
	outline: none;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
	border: solid 1px var(--primary);
}

input-field[error] input[type="email"],
input-field[error] input[type="password"],
input-field[error] input[type="tel"],
input-field[error] input[type="text"] {
	border: solid 1px var(--error);
}

field input-field:nth-child(1) {
	margin-right: 10px;
}

field input-field:nth-child(2) {
	margin-left: 10px;
}

content div {
	text-align: left;
}

content div a {
	text-decoration: none;
	color: var(--secondary);
	transition: color 0.3s;
}

content div a:hover {
	color: var(--primary);
}

content div a[disabled] {
	color: var(--text-primary);
}

input[type="submit"] {
	display: none;
}

label[type="submit"] {
	display: block;
	width: fit-content;
	height: 18px;
	border-radius: 5px;
	padding: 11px 20px;
	line-height: 18px;
	font-size: 1rem;
	color: var(--background);
	text-decoration: none;
	cursor: pointer;
	background-color: var(--secondary);
	transition: background-color 0.3s;
}

label[type="submit"]:hover {
	background-color: var(--secondary);
}

label[type="submit"][disabled] {
	color: var(--background);
	background-color: var(--text-secondary);
}

pow {
	display: flex;
	align-items: center;
	gap: 10px;
}

pow svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: var(--text-primary);
}

response {
	display: none;
	margin: 0px auto;
	color: var(--error);
	overflow: hidden;
}

response:not(:empty) {
	display: block;
}

a.button {
	display: block;
	width: fit-content;
	height: 18px;
	line-height: 18px;
	border-radius: 5px;
	padding: 11px 20px;
	font-size: 1rem;
	color: var(--background);
	border: none;
	text-decoration: none;
	cursor: pointer;
	background-color: var(--secondary);
	transition: background-color 0.3s;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
                                supported by Chrome, Edge, Opera and Firefox */
}

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

a.button[disabled] {
	background-color: var(--ripple);
}
