header {
	flex-direction: row-reverse;
	overflow: hidden;
	background-image: url(https://assets-cdn.carwars.com/websites/callbox/dental/6Asset+1.png),
		linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
		url(https://assets-cdn.carwars.com/websites/callbox/dental/senti.jpg);

	background-size: contain, cover, cover;
	background-position: center 90%, center center, center 100%;
	background-attachment: scroll, fixed, fixed;
	transition: var(--ease);
	align-items: center;
}

header .fade {
	position: absolute;
	width: 100%;
	background: blue;
	height: 100%;
	transition: 0.3s ease;
	z-index: 1;
	background: linear-gradient(
		rgba(0, 0, 0, 0),
		rgba(0, 0, 0, 0.1),
		rgba(0, 0, 0, 0.7)
	);
}

header:hover .fade {
	opacity: 0.3;
}

header:hover .imagewrapper img {
	transform: translateY(-1rem);
}

header .textwrapper {
	box-sizing: border-box;
	width: 70%;
	text-align: left;
	margin: 0;
	margin-left: 10vw;
	max-width: inherit;
	position: relative;
	z-index: 4;
}

header .imagewrapper {
	box-sizing: border-box;
	width: 30%;
	max-height: 50vh;
	padding-right: 1.5rem;
	text-align: left;
	transition: var(--ease);
	position: relative;
	z-index: 3;
}

header .imagewrapper img {
	width: 15rem;
	margin-top: 15vh;
	transition: var(--ease);
}

section.first {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	z-index: 5;
}

section.first > div:first-of-type {
	max-width: 45rem;
	margin: auto 1.5rem;
	margin-right: 2rem;
	text-align: left;
}

section.first > div:first-of-type .title {
	font-size: 1.75rem;
	color: var(--green2);
}

#features {
	padding: 1rem 0;
	list-style: disc;
}

#features li {
	padding: calc(0.25rem + 0.75vw) 0;
	font-weight: 600;
	margin-left: 1rem;
}

#features li:first-of-type {
	padding-top: 0;
}

section.formreplace {
	z-index: 6;
}

#featuresub .title.sub:last-of-type {
	text-shadow: none;
}

@media screen and (max-device-width: 1100px) {
	header {
		background-attachment: scroll !important;
	}
}

@media screen and (max-width: 770px), screen and (max-device-width: 770px) {
	section.first {
		flex-direction: column;
		align-items: center;
	}

	section.first > div:first-of-type {
		margin: auto 1rem;
	}

	section.first > div {
		width: 100%;
	}

	#features .subtitle {
		margin: auto;
		margin-left: 1rem;
	}

	header > .textwrapper > .title {
		font-size: 2.5rem;
	}

	header {
		background-image: url(https://assets-cdn.carwars.com/websites/callbox/dental/6Asset2.png),
			linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
			url(https://assets-cdn.carwars.com/websites/callbox/dental/senti.jpg);

		background-size: contain, cover, cover;
		background-position: center 90%, center center, center 100%;
		background-attachment: scroll;
	}
}

@media screen and (max-width: 550px), screen and (max-device-width: 550px) {
	section.first > div:first-of-type {
		margin: auto;
	}

	section.first > div:first-of-type .title {
		font-size: 1.5rem;
	}

	header {
		justify-content: center;
		padding-right: 1rem;
		padding-left: 1rem;
	}

	header:hover .imagewrapper img {
		transform: none;
		opacity: 0.8;
	}

	header > .textwrapper {
		width: 100%;
		margin: auto;
		padding: 0;
	}
}

@media screen and (min-width: 1600px) {
	header .textwrapper {
		margin-left: 20vw;
	}

	header .imagewrapper {
		width: 50%;
	}

	header {
		background-image: url(https://assets-cdn.carwars.com/websites/callbox/dental/6Asset+3.png),
			linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
			url(https://assets-cdn.carwars.com/websites/callbox/dental/senti.jpg);
	}
}
