/* Responsive Classes */
.mobile {
	display: none;

	@media (max-width: 767px) {
		display: block !important;
	}
}
.desktop {
	display: block;

	@media (max-width: 768px) {
		display: none !important;
	}
}

/* colors */
.bg-gray {
	background-color: #d7e1e7;
}

/* Custom */
.stripes {
	overflow: hidden;
	position: relative;
	width: 100%;

	&:before,
	&:after {
		position: absolute;
		z-index: 1;
		bottom: 0;
		pointer-events: none;
		height: 100%;
		content: '';
		top: 0;
		left: 60%;
		width: 140px;
		background-color: #e3eaee;
		transform: skew(-25deg);
	}

	&::after {
		z-index: 0;
		left: calc(60% + 200px);
	}

	&.translucent,
	&.opaque {
		&:before,
		&:after {
			background-color: rgba(255, 255, 255, 0.2);
		}
	}

	&.alt {
		&:before,
		&:after {
			background-color: #7ecdc4;
		}
	}

	@media (max-width: 767px) {
		&:before,
		&:after {
			display: none;
		}
	}
}

.sticky-header {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
	padding: 80px 0 200px 0px;
	background-color: #d7e1e7;
	background-position: center left;
	background-size: cover;
	background-repeat: no-repeat;

	@media (max-width: 767px) {
		padding: 0;
		article {
			padding: 1rem 0;
		}
	}

	article {
		h1 {
			margin-bottom: 1rem;
		}
		p {
			text-wrap: balance;
			max-width: 720px;

			&:has(a) {
				display: flex;
				flex-wrap: wrap;
				gap: 1rem;
			}

			&:last-child {
				margin-bottom: 0;
			}
		}
	}
}

/* Container */

.container {
	@media (max-width: 767px) {
		.row {
			flex-direction: column;
			> div {
				min-width: 100%;
			}
		}
	}
}

/* Article */
section {
	&.pt {
		padding-top: 6rem !important;
	}
	&.pb {
		padding-bottom: 6rem !important;

		&.pb-5 {
			padding-bottom: 5rem;
		}
	}
	&.bg-lightgray {
		background-color: #edf2f5;
	}
	&.bg-gray {
		background-color: #d7e1e7;
	}
	&.bg-teal {
		background-color: #7ecdc4;
	}

	&.new {
		background-color: #d7e1e7;
		position: relative;
		overflow: hidden;
		padding: 100px 0px;
		margin: 0;

		@media (max-width: 767px) {
			padding: 5px 0px;
		}

		article {
			text-align: left;

			h2 {
				margin-top: 5rem;
				margin-bottom: 1rem;

				&:first-child {
					margin-top: 0;
				}
			}

			p,
			li,
			td {
				font-size: 16px;
				line-height: 26px;
				letter-spacing: 0.657px;
				font-weight: 300;
			}

			ul {
				li {
					position: relative;
					padding-left: 25px;
					margin-bottom: 10px;

					&:before {
						content: '';
						display: inline-block;
						position: absolute;
						left: 0;
						top: 50%;
						transform: translateY(-50%);
						width: 16px;
						height: 12px;
						background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6.10206L5.34257 9.39397L5.8768 10L14 2' stroke='%23000027' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
						background-repeat: no-repeat;
						background-size: contain;
					}
				}
			}
			ol {
				li {
				}
			}
		}
	}
}

/* How it works */
.inner_how_it_works {
	.row {
		&.row-2 {
			flex-direction: row-reverse;
		}
	}

	article {
		h3 {
			display: flex;
			justify-content: left;
			align-items: center;
			gap: 1rem;
			font-size: 2rem;

			&::before {
				font-size: 1.5rem;
				display: inline-flex;
				justify-content: center;
				align-items: center;
				height: 3rem;
				border-radius: 50%;
				background-color: #7ecdc4;
				aspect-ratio: 1/1;
			}
		}
		p {
			font-size: 1.5rem;
			line-height: 2rem;
			margin-left: 4rem;
		}

		&.step-1 {
			h3::before {
				content: '1';
			}
		}
		&.step-2 {
			h3::before {
				content: '2';
			}
		}
		&.step-3 {
			h3::before {
				content: '3';
			}
		}
	}
	figure {
		text-align: center;
		img {
			width: 75%;
		}
	}
}

/* Breadcrumb */
.breadcrumbs {
	background-color: #d7e1e7;
	padding: 1rem 0;

	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;

	a,
	span {
		font-size: 16px;
		line-height: 26px;
		letter-spacing: 0.657px;
		font-weight: 300;
		display: inline-block;
		margin-right: 2rem;
	}

	a {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		position: relative;
		color: #000;
		text-decoration: none;

		&::after {
			position: absolute;
			left: 100%;
			margin-right: 2rem;
			content: url("data:image/svg+xml,%3Csvg width='8' height='10' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1L6.5 6L1.5 11' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
			width: 2rem;
			text-align: center;
			text-decoration: none;
		}

		&:hover {
			text-decoration: underline;
		}

		span {
			font-style: normal;
		}
	}
}

.assign_country {
	display: flex;
	position: absolute;
	gap: 5px;
	margin: 5px;

	.a_flag {
		width: 30px;
		aspect-ratio: 4/3;
		background-size: cover;
		border-radius: 5px;

		&.finlad_flag {
			background: url(../images/flags/4x3/fi.svg) no-repeat;
		}

		&.chinese_flag {
			background: url(../images/flags/4x3/cn.svg) no-repeat;
		}

		&.spanish_flag {
			background: url(../images/flags/4x3/es.svg) no-repeat;
		}

		&.georgia_flag {
			background: url(../images/flags/4x3/gb.svg) no-repeat;
		}

		&.estonia_flag {
			background: url(../images/flags/4x3/ee.svg) no-repeat;
		}

		&.latvia_flag {
			background: url(../images/flags/4x3/lv.svg) no-repeat;
		}
	}
}
