@use "../../scss/abstracts/colors" as *;

#contact-form-container {
	border-radius: 10px;
	background-color: #fff;
	padding: 10px;
	width: 100vw;
	display: flex;
	justify-content: center;

	#contact-form {
		min-width: 30vw;
		max-width: 340px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;

		margin: 1rem;
	}

	#contact-form > * {
		flex-basis: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0.5rem auto;
	}
}

.form-group {
	position: relative;
	width: 100%;
	margin-bottom: 10px;

	img {
		position: absolute;
		left: 0.8rem;
		top: 0.8rem;
	}

	.form-input,
	.form-textarea {
		background: white;
		width: 100%;
		padding: 1rem;
		text-align: left;
		line-height: 1.4rem;
		font-size: 1rem;
		border: 1px solid $primary;
		border-radius: 0.5rem;
	}

	.form-input {
		padding-left: 3rem;
	}
	.form-textarea {
		min-width: 100%;

		resize: vertical;
		min-height: 10rem;
	}
}

button.form-submit {
	border: 1px solid $primary;
	background: $primary;
	color: white;
	transition: box-shadow 200ms ease-out;

	&:hover,
	&:focus {
		border: 1px solid $primary;
		background: $primary;
		color: white;
		box-shadow: 0px 0px 10px 1px $primary;
	}
}
