:root {
	--very-dark-blue: hsl(233, 47%, 7%);
	--dark-desaturated-blue: hsl(244, 38%, 16%);
	--soft-voilet: hsl(277, 64%, 61%);
	--white: hsl(0, 0%, 100%);
	--transparent-white-1: hsla(0, 0%, 100%, 0.75);
	--trasnparent-white-2: hsla(0, 0%, 100%, 0.6);
	--primary-font: "Inter", sans-serif;
	--secondary-font: "Lexend Deca", sans-serif;
}

/* Style Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

img {
	display: block;
	height: auto;
	width: 100%;
}

body {
	font-size: 15px;
	background-color: var(--very-dark-blue);
	color: var(--white);
	font-family: var(--primary-font);
}

.container {
	margin: 5rem auto 2rem auto;
	padding: 0 1.6rem;
	max-width: 1200px;
}

.img-container {
	position: relative;
	border-radius: 10px 10px 0 0;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: var(--soft-voilet);
	opacity: 0.6;
	border-radius: 10px 10px 0 0;
}

.desktop-img {
	display: none;
}

.mobile-img {
	border-radius: 10px 10px 0 0;
}

.stats-container {
	background-color: var(--dark-desaturated-blue);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-radius: 0 0 10px 10px;

	h1 {
		font-size: 1.8rem;

		.insights {
			color: var(--soft-voilet);
		}
	}

	p {
		padding: 1.2rem 0;
		line-height: 1.6rem;
		font-weight: 300;
		color: var(--transparent-white-1);
	}
}

.stats-numbers {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.numbers {
	p {
		padding: 0.2rem 0;
		text-transform: uppercase;
		font-size: 0.8rem;
		color: var(--trasnparent-white-2);
	}
}

@media screen and (min-width: 600px) and (max-width: 1100px) {
	.container {
		max-width: 650px;
	}
}

@media screen and (min-width: 1100px) {
	.container {
		height: 50vh;
		margin-top: 10rem;
	}

	.mobile-img {
		display: none;
	}

	.img-container {
		width: 50%;
		height: 100%;
		border-radius: 0 10px 10px 0;
	}

	.desktop-img {
		display: block;
		height: 100%;
		border-radius: 0 10px 10px 0;
	}

	.hero-overlay {
		border-radius: 0 10px 10px 0;
	}

	.stats-preview-card {
		display: flex;
		flex-direction: row-reverse;
		justify-content: center;
		align-items: center;
		height: 100%;
	}

	.stats {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.stats-container {
		max-width: 50%;
		height: 100%;
		border-radius: 10px 0 0 10px;
		text-align: start;
		padding: 4rem 8.2rem 2.4rem 4rem;
		justify-content: space-around;

		h1 {
			font-size: 2.4rem;
		}
	}

	.stats-numbers {
		flex-direction: row;
		width: 100%;
		justify-content: space-between;
		padding-right: 2.6rem;

		h3 {
			font-size: 1.4rem;
		}
	}
}
