/* 
table of content: 

A. LANDING_PAGE
	00. RESET
	00.1 IMPORTS
	00.2 VARIABLES
	00.3 HELPER
	01. HEADER
	02. MAIN
	03. FOOTER
	04. RESPONSIVE
	04.1 TABLET
	04.2 MOBILE

B. THANK_YOU_PAGE
	00. MAIN

*/

/* :::::: 00.1 IMPORTS :::::: */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Sora:wght@400;700&display=swap");

/* :::::: 00.2 VARIABLES :::::: */

:root {
	--purple: #43043b;
	--orange: #f16749;
}

/* :::::: 00.3 HELPER :::::: */

.container {
	padding-right: 30px;
	padding-left: 30px;
	position: relative;
	margin: 0 auto;
	max-width: 1400px;
}

@media (hover: hover) {
	.button-hover:hover {
		opacity: 0.75;
	}
}

.display-inline {
	display: inline !important;
}

/* :::::: 00. RESET :::::: */

html {
	scroll-behavior: smooth;
	font-size: 10px;
	font-family: "Sora", sans-serif;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

/* :::::: A. LANDING_PAGE  :::::: */
/* :::::: A 01. HEADER ::::::: */
header {
	padding-top: 84px;
	padding-bottom: 120px;
	background-color: var(--purple);
}

.introduction {
	width: 50%;
}

.header-logo {
	width: 207px;
}

.header-text {
	margin-top: 90px;
	font-weight: normal;
	font-size: 30px;
	line-height: 40px;
	color: var(--orange);
}
.header-text-small {
	margin-top: 25px;
	font-weight: normal;
	font-size: 18px;
	line-height: 26px;
	color: var(--orange);
}

.form-container {
	padding-top: 50px;
	padding-right: 73px;
	padding-left: 73px;
	padding-bottom: 66px;
	position: absolute;
	top: 0;
	right: 0;
	width: 567px;
	background-color: var(--orange);
	color: var(--purple);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 1;
}

form {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.form-title {
	font-family: Sora;
	font-weight: bold;
	font-size: 24px;
	line-height: 30px;
}

form label {
	font-family: Sora;
	font-weight: 600;
	font-size: 14px;
	line-height: 30px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-top: 25px;
}

.has-error {
	color: var(--purple);
	font-size: 12px;
	margin-top: 10px;
	display: none;
}

.has-error-border {
	box-shadow: 0 0 8px 0 var(--purple) !important;
}

form .input-box {
	margin-top: 2px;
	padding-right: 15px;
	padding-left: 15px;
	height: 62px;
	width: 100%;
	border: none;
	border-radius: 0;
	background-color: #fff;
	color: var(--purple);
	font-size: 22px;
	border: 1px solid transparent;
	transition: all ease 0.2s;
}

form .input-box:focus {
	outline: none;
	border: 1px solid var(--purple);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

input[type="number"] {
	-moz-appearance: textfield;
}

#terms {
	opacity: 0;
	width: 0;
	height: 0;
}

.custom-checkbox:after {
	content: "";
	border-radius: 50%;
	position: absolute;
	left: -1px;
	top: -1px;
	width: 10px;
	height: 10px;
	border: 1px solid var(--orange);
	background-color: var(--purple);
	opacity: 0;
	transition: all ease 0.2s;
}

#terms:checked ~ .custom-checkbox:after {
	opacity: 1;
}

.terms-conditions {
	cursor: pointer;
	display: grid;
	grid-template-columns: auto auto;
}

.custom-checkbox {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid var(--purple);
	border-radius: 50%;
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}

.terms-text {
	margin-left: 9px;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	text-transform: none;
	grid-row: 2 / 3;
}

.form-cta {
	margin-top: 34px;
	padding-top: 23px;
	padding-bottom: 23px;
	width: 100%;
	color: var(--orange);
	background-color: var(--purple);
	font-weight: 600;
	font-size: 26px;
	line-height: 30px;
	border: none;
	cursor: pointer;
	transition: all ease 0.2s;
	opacity: 1;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

/* :::::: A 02. MAIN ::::::: */

main .image {
	height: 735px;
	background-image: url(./images/stock-image.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}

.how-it-works {
	background-color: #fff;
}

.how-it-works .container {
	padding-top: 91px;
	padding-bottom: 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.how-it-works-title {
	font-weight: 600;
	font-size: 36px;
	line-height: 45px;
	color: var(--orange);
}

.how-it-works-grid {
	margin-top: 60px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 78px;
}

.how-it-works-step {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 156px 84px auto;
	align-items: center;
	justify-content: center;
}

.how-it-works-image-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-header {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	align-self: flex-end;
}

.step-header .step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Lato";
	font-weight: bold;
	font-size: 14px;
	line-height: 24px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--purple);
	color: #fff;
}

.step-header .step-title {
	margin-left: 8px;
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #7b2e6f;
}

.step-body {
	margin-top: 8px;
	font-family: "Lato";
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	color: #393939;
	align-self: flex-start;
}

.how-it-works-cta {
	margin-top: 60px;
	padding: 19px 60.5px;
	font-weight: 600;
	font-size: 26px;
	line-height: 32px;
	text-align: center;
	color: #fff;
	border: none;
	background-color: var(--orange);
	cursor: pointer;
	transition: all ease 0.2s;
}

/* :::::: A 03. FOOTER :::::: */

footer {
	background-color: var(--purple);
	display: flex;
	justify-content: center;
	align-items: center;
}

footer .container {
	padding-top: 96px;
	padding-bottom: 122px;
}

footer img {
	width: 159px;
}

/* :::::: A 04. RESPONSIVE :::::: */
/* :::::: A 04.00 EXTRAS :::::: */
@media only screen and (max-width: 1460px) {
	.form-container {
		right: 30px;
	}

	main .image {
		background-position: center 0;
	}
}

/* :::::: A 04.1 TABLET :::::: */
@media only screen and (max-width: 1024px) {
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.header-text {
		margin-top: 60px;
	}

	.introduction {
		width: 85%;
		margin-bottom: 90px;
	}

	.form-container {
		width: 85%;
		position: static;
	}

	main .image {
		background-position: center center;
	}

	.how-it-works-grid {
		grid-template-columns: 1fr;
		row-gap: 80px;
	}

	.step-body {
		width: 60%;
		justify-self: center;
	}

	footer .container {
		padding-top: 76px;
		padding-bottom: 102px;
	}
}

/* :::::: A 04.2 MOBILE :::::: */
@media only screen and (max-width: 767px) {
	header {
		padding-top: 60px;
		padding-bottom: 0px;
	}

	.container {
		padding-right: 0;
		padding-left: 0;
	}

	.header-logo {
		width: 170px;
	}

	.header-text {
		font-size: 26px;
		line-height: 34px;
	}

	.introduction {
		width: 90%;
	}

	.form-container {
		width: 100%;
		padding-right: 25px;
		padding-left: 25px;
		padding-bottom: 50px;
	}

	.form-title {
		font-size: 22px;
		line-height: 28px;
	}

	form .input-box {
		height: 56px;
	}

	.form-cta {
		font-size: 24px;
		line-height: 26px;
	}

	main .image {
		height: 550px;
	}

	.step-body {
		width: 85%;
	}

	.how-it-works .container {
		padding-top: 71px;
		padding-bottom: 90px;
	}

	footer .container {
		padding-top: 60px;
		padding-bottom: 80px;
	}

	.how-it-works-cta {
		font-size: 24px;
		line-height: 26px;
	}
}

/* :::::: B. THANK_YOU_PAGE  :::::: */
/* :::::: B 01. MAIN  :::::: */

.thank-you-page main {
	background-color: var(--purple);
	color: var(--orange);
	padding-top: 83px;
	padding-bottom: 83px;
	min-height: 100vh;
}

.wrapper {
	position: relative;
	display: flex;
}

.thank-you-text-container {
	width: 45%;
}

.thank-you-title,
.follow-us-text {
	margin-top: 80px;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
}

.follow-us-text {
	margin-top: 40px;
}

.thank-you-text {
	margin-top: 60px;
	font-weight: normal;
	font-size: 26px;
	line-height: 40px;
}

.follow-us-container {
	margin-top: 50px;
	transition: all ease 0.2s;
}

.follow-us-icon {
	display: inline-block;
}

.follow-us-icon + .follow-us-icon {
	margin-left: 40px;
}

@media (hover: hover) {
	.follow-us-icon:hover {
		text-decoration: none;
		opacity: 0.75;
	}
}

.thank-you-images {
	position: relative;
	margin-left: 5%;
	width: 50%;
}

.thank-you-image {
	position: absolute;
}

.image-1 {
	left: 0;
	top: 100px;
}

.image-2 {
	right: 29px;
	top: 280px;
}

.image-3 {
	right: 0;
}

/* :::::: B 02. RESPONSIVE  :::::: */
@media only screen and (max-width: 1024px) {
	.wrapper {
		flex-direction: column;
	}

	.thank-you-text-container,
	.thank-you-images {
		width: 100%;
		margin: 0;
	}

	.image-1 {
		left: 0;
		top: 90px;
	}

	.image-2 {
		left: 25%;
		top: 200px;
	}

	.image-3 {
		right: 0;
	}
}

@media only screen and (max-width: 991px) {
	.thank-you-page main {
		padding-top: 120px;
	}

	.thank-you-title {
		margin-top: 120px;
	}

	.thank-you-images {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	.thank-you-page main {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.thank-you-page .container {
		padding-right: 15px;
		padding-left: 15px;
	}

	.thank-you-title,
	.follow-us-text {
		font-size: 28px;
		line-height: 36px;
		margin-top: 60px;
	}

	.follow-us-text {
		margin-top: 40px;
	}

	.follow-us-container {
		margin-top: 40px;
	}

	.thank-you-text {
		margin-top: 40px;
		font-weight: normal;
		font-size: 22px;
		line-height: 32px;
	}
}
