@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700;9..144,900&family=Kumbh+Sans:wght@400;700&family=Outfit:wght@300;700&family=Red+Hat+Display:wght@500;700;900&display=swap');

*{
	margin: 0;
	padding:0;
	box-sizing: border-box;
}

body{
	font-family: 'Fraunces', serif;
	font-family: 'Kumbh Sans', sans-serif;
	font-family: 'Outfit', sans-serif;
	font-family: 'Red Hat Display', sans-serif;
	background-color: hsl(185, 75%, 39%);
	background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg) ;
	background-position: top -48rem left -40rem, bottom -58rem right -36rem;
	background-size: 80em;
	background-repeat:no-repeat;
}

main{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.container{
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-self: center;
	gap:2rem;
}

.wrapper{
	position: relative;
	z-index: 999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	background-color: white;
	border-radius: 1rem;
}

.pattern-image{
	border-radius: 1rem 1rem 0 0;
	height: 12rem;
}

.profile-picture{
	width:9.5rem;
	border-radius: 7rem;
	border: 0.5rem solid white;
}

.details{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:0.5rem;
	transform: translateY(-3rem);
}

.name{
	font-family: 'Kumbh Sans', sans-serif;
	font-weight: 900;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
	font-size: 1rem;
	color: hsl(229, 23%, 23%);
}

.age{
	font-weight: 400;
	color:hsl(227, 10%, 46%)
}

.city{
	font-size: 1.25rem;
	color:hsl(227, 10%, 46%)
}

.two-thirds{
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	gap:0;
}

.transform{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transform: translateY(-4.7rem);
}

hr{
	min-width: 100%;
	height:1px;
	transform: translateY(-0.7rem);
	border: 1px solid hsla(227, 10%, 46%, 0.171)
}

.stats{
	font-family: 'Kumbh Sans', sans-serif;
	display: flex;
	flex-direction: row;
	justify-content:center;
	align-items: center;
	gap:4.7rem;
	padding: 1.7rem;
}

.stats h2{
	font-size: 1.5rem;
	font-weight: 600;
	color: hsl(229, 23%, 23%);
}

.stats h3{
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.125rem;
	color:hsl(227, 10%, 46%)
}

.followers, .likes, .photos{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:0.4rem;
}

.attribution { 
	font-size: 0.8rem; 
	text-align: center; 
}
.attribution a { 
	color: hsl(0, 0%, 0%); 
}