@import url("../reset.css");
@import url("../shared.css");

@import url("../footer.css");
@import url("../header.css");

.app-how-it-works-main {
	background: linear-gradient(
		153.73deg,
		rgba(179, 201, 188, 0.99) 16.52%,
		rgba(94, 123, 121, 0.99) 79.59%
	);
}

.app-how-it-works-main-inner {
	min-height: 400px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;

	padding-left: calc((100vw - var(--app-container-width)) / 2);
}

[dir="rtl"] .app-how-it-works-main-inner {
	padding-right: calc((100vw - var(--app-container-width)) / 2);
    padding-left: 0;
    padding-top: 120px;
}

.app-how-it-works-main__info {
	width: 40%;
	padding-top: 140px;
	padding-bottom: 30px;
}

[dir="rtl"] .app-how-it-works-list-item__title,
[dir="rtl"] .app-how-it-works-list-item__text,
[dir="rtl"] .app-how-it-works-main__info {
    text-align: right;
}


.app-how-it-works-main-title {
	color: #fff;
	font-size: 48px;
	margin-bottom: 25px;
}

.app-how-it-works-main-sub-title {
	font-size: 28px;
	margin-bottom: 30px;
	color: #fff;
}

.app-how-it-works-main__box-img {
	display: flex;
	align-items: flex-end;
}

.app-how-it-works-main__img {
}

.app-how-it-works-list {
	padding-bottom: 25px;
	background: #fffefe;
}

.app-how-it-works-list-box {
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: relative;
	padding: 30px 0 60px;
	margin-bottom: 20px;
}

.app-how-it-works-list-box::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 1px;
	height: 100%;
	background: #64807e;
}

.app-how-it-works-list-box__row {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	gap: 60px;
}

.app-how-it-works-list-item {
	display: flex;
	flex-direction: column;
	flex: 1;
	/* align-items: flex-end; */
}

.app-how-it-works-list-item:last-child {
	margin-top: 140px;
	align-items: flex-end;
}

.app-how-it-works-list-item__number {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #526b69;
	display: flex;
	align-items: center;
	justify-content: center;

	font-weight: 500;
	font-style: Medium;
	font-size: 40px;
	color: #fff;
	margin-bottom: 22px;
}

.app-how-it-works-list-item__title {
	font-weight: 500;
	font-style: Medium;
	font-size: 20px;
	color: #333;
	margin-bottom: 3px;
}

.app-how-it-works-list-item__text {
	font-size: 20px;
	color: #333;
}

.app-how-it-works-list-item:last-child .app-how-it-works-list-item__text {
	align-self: flex-start;
}

.app-how-it-works-list-item__list {
	list-style-type: disc;
	padding-left: 30px;
}

.app-how-it-works-list-item:last-child .app-how-it-works-list-item__list {
	align-self: flex-start;
}

.app-how-it-works-list-item__list-item {
	font-size: 20px;
	color: #333;
}

.app-how-it-works-list-footer {
	text-align: center;
}

.app-how-it-works-list-footer__text {
	font-size: 20px;
	max-width: 40%;
	margin: 0 auto 10px;
}

@media (max-width: 1200px) {
	.app-how-it-works-main-inner {
		padding-left: 15px;
		align-items: center;
	}
}

@media (max-width: 768px) {
	.app-how-it-works-main-inner {
		flex-direction: column;
	}

	.app-how-it-works-main__info {
		padding-top: 120px;
		width: 100%;
	}

	.app-how-it-works-main-title {
		font-size: 30px;
	}

	.app-how-it-works-main-sub-title {
		font-size: 18px;
	}

	.app-how-it-works-main__box-img {
		width: 100%;
	}

	.app-how-it-works-list-box {
		gap: 40px;
	}

	.app-how-it-works-list-box::after {
		content: none;
	}

	.app-how-it-works-list-box__row {
		flex-direction: column;
		gap: 40px;
	}

	.app-how-it-works-list-item {
		text-align: center;
		align-items: center;
		justify-content: center;
	}

	.app-how-it-works-list-item__list {
		list-style-type: none;
	}

	.app-how-it-works-list-item:last-child {
		margin-top: 0;
		align-items: center;
	}

	.app-how-it-works-list-item:last-child .app-how-it-works-list-item__text {
		align-self: center;
	}

	.app-how-it-works-list-item__number {
		width: 60px;
		height: 60px;
		font-size: 30px;
	}

	.app-how-it-works-list-item__title,
	.app-how-it-works-list-item__list-item,
	.app-how-it-works-list-item__text {
		font-size: 16px;
	}

	.app-how-it-works-list-footer__text {
		max-width: 100%;
		font-size: 16px;
	}
}
