:root {
	--primary: #d28d16;
	--secondary: #9b9b9b;
	--light: #f5f5f5;
	--dark: #161616;
	/* 自定义主题 */
	--custom-primary: #f7a400;
	--secondary-1: #1c1c27;
	--secondary-2: #d4d2ce;
	--secondary-3: rgb(127 75 10);
	--secondary-4: #fae682;
	--secondary-5: #fff0cc;
}

.contact {
	background: #000;
	height: 74rem;
	padding-top: 3.2rem;
}

.form-container {
	height: 57rem;
	background-color: #d4d2ce;
	padding: 3.2rem 4.6667rem;
	border-radius: 10px;
}

.flex {
	display: flex;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.flex .flex-column:nth-child(2) {
	margin-left: 1.3333rem;
}

.flex-1 {
	flex: 1;
}

li {
	list-style: none;
}

label {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

label > span {
	color: var(--custom-primary);
	font-size: 0.5rem;
	vertical-align: top;
}

#contact-form input,
select {
	height: 3.6667rem;
}

#contact-form input,
textarea,
select {
	border: 1px solid var(--custom-primary) !important;
	border-radius: 5px !important;
	font-size: 1.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
	background-color: #fff !important;
	color: #000 !important;
}

select {
	background: url('../svg/down.svg') no-repeat right 0.5rem center;
	background-size: 2rem 2rem;
}

select:focus {
	background: url('../svg/up.svg') no-repeat right 0.5rem center;
	background-size: 2rem 2rem;
}

textarea {
	min-height: 7.5rem !important;
}

#submit-btn {
	border-radius: 10px;
	width: 28.4rem;
	height: 3.7333rem;
	margin: 54px auto;
	background-color: var(--custom-primary);
	font-size: 1.25rem;
	color: #fff;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	border: none;
}

@media (max-width: 767.99px) {
	#submit-btn {
		width: 14rem;
	}

	.form-container {
		padding: 2rem;
		height: 80rem;
	}

	.contact {
		height: 87rem;
	}
}

.form-control {
	border-radius: 0;
}

.form-control:focus {
	box-shadow: 0 0 0 0.05rem var(--custom-primary);
}
