main {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 6rem);
	padding: 9rem 3rem 0;
}

form.contact-form {
	width: 31.25%;
}

li.input-wrapper {
	position: relative;
	padding-top: 2rem;
	margin-bottom: 4rem;
}

ul.input-list > li:last-child {
	margin-top: 7rem;
}

li.input-wrapper > label {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2rem;
	font-weight: 300;
	transform: translateY(160%);
	transition: transform 0.3s;
}

li.input-wrapper > label.filled {
	transform: translateY(0);
}

li.input-wrapper > input {
	height: 3.6rem;
}

li.input-wrapper > textarea {
	height: 15rem;
	resize: none;
}

li.input-wrapper > input,
li.input-wrapper > textarea {
	width: 100%;
	appearance: none;
	border: none;
	border-bottom: 1px solid #a5a5a5;
	border-radius: 0;
	background: transparent;
	outline: none;
	padding: 0.5rem;
	font-size: 1.6rem;
	color: var(--text-color);
}

li.input-wrapper > input:focus,
li.input-wrapper > textarea:focus {
	border-bottom-color: var(--text-color);
}

button.send-btn {
	width: 100%;
	height: 4rem;
	background: transparent;
	border: 1px solid var(--text-color);
	outline: none;
	font-size: 1.6rem;
	color: var(--text-color);
	transition: all 0.3s;
}

button.send-btn:hover {
	background: var(--text-color);
	color: var(--bg-color);
}

button.send-btn:active {
	background: #000;
}

div.wrapper {
	text-align: center;
}

div.wrapper h4 {
	font-size: 2rem;
	font-weight: 500;
}

div.wrapper p {
	font-size: 1.4rem;
	margin-top: 1rem;
}

div.wrapper a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 1.4rem;
	white-space: nowrap;
}

div.wrapper a::before {
	content: '';
	flex: 0 0 0.7rem;
	height: 0.7rem;
	border-top: 1px solid var(--text-color);
	border-left: 1px solid var(--text-color);
	transform: rotate(-45deg);
	margin-right: 0.7rem;
	transition: margin-right 0.3s;
}

div.wrapper a:hover::before {
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	main {
		height: auto;
		min-height: calc(100vh - 6rem);
		padding: 10rem 2rem;
	}

	form.contact-form {
		width: 100%;
	}

	button.send-btn {
		height: 3.6rem;
		font-size: 1.2rem;
	}
}
