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

:root {
	--darkCyan: hsl(185, 75%, 39%);
	--darkSatBlue: hsl(229, 23%, 23%);
	--darkGrayBlue: hsl(227, 10%, 46%);
	--darkGray: hsl(0, 0%, 80%); /* neutral */
	--kumbh: "Kumbh Sans", sans-serif;
}

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

/* prevents scroll bar to appear on mobile devices */
html,
body {
	overflow: hidden;
}

body {
	width: 100vw;
	height: 100vh;
	position: relative;
	background-color: var(--darkCyan);
	overflow: hidden;
	scrollbar-width: none;
	font-family: var(--kumbh);
}

.bg-top {
	position: absolute;
	transform: translate(-25%, -65%);
	top: 0;
	left: 0;
}

.bg-bottom {
	position: absolute;
	transform: translate(25%, 65%);
	bottom: 0;
	right: 0;
}

.profile-card-container {
	width: 300px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(
		-50%,
		-50%
	); /*moves -50% based on the size of profile card */
	border-radius: 7px;
	overflow: hidden;
	background-color: white;
}

.profile-img {
	display: relative;
	top: 0;
	border-radius: 50%;
	border: 4px solid white;
	object-fit: cover;
}

.prof-pic-container {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -90%);
}

.profile-heading-container {
	margin-top: 4rem;
	margin-bottom: 1.5rem;
}

.profile-heading-main {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 0.5rem;
}

.profile-heading-main h2 {
	margin-right: 0.75rem;
}

.profile-stats {
	display: flex;
	justify-content: space-between;
	border-top: 1px var(--darkGray) solid;
	padding: 1.5rem 2.5rem;
}

.profile-stats h2 {
	margin-bottom: 0.5rem;
}

.profile-heading-secondary,
.profile-stats p {
	font-size: 12px;
}

.profile-stats div,
.profile-heading-secondary {
	text-align: center;
}

h2 {
	font-size: 18px;
}

p {
	color: var(--darkGray);
}

@media (max-width: 375px) {
	.bg-top {
		top: -10%;
		left: -130%;
	}

	.bg-bottom {
		bottom: -10%;
		right: -130%;
	}

	/* prevents scroll bar to appear on mobile devices */
	html,
	body {
		scrollbar-width: none;
		overflow: hidden;
	}
}
