@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Karla:wght@400;700&family=Lexend+Deca&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	font-family: 'Big Shoulders Display', cursive;
	font-family: 'Karla', sans-serif;
	font-family: 'Lexend Deca', sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: hsl(204, 43%, 93%);
}

main{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wrapper{
	display: flex;
	flex-direction: column;
	justify-content:center;
	align-items: center;
	max-width: 43rem;
	border-radius: 0.6rem;
	box-shadow: 1px 10px 18px 0 rgba(56, 56, 56, 0.288);
}

.banner, .pricing, .persuasion{
	padding:2.4rem 3rem;
	max-width: 100%;
}

.banner{
	display: flex;
	flex-direction: column;
	gap:1.5rem;
	background-color: white;
	border-radius: 0.6rem 0.6rem 0 0;
	max-width: 100%;
}

.banner h1{
	font-family: 'Karla', sans-serif;
	font-size: 1.5rem;
	color: hsl(179, 62%, 43%);
}

.banner h2{
	color:hsl(71, 73%, 54%);
	font-size: 1.1rem;
	letter-spacing: 1px;
}

.details{
	font-family: 'Karla', sans-serif;
	display: flex;
	flex-direction: column;
	gap:0.75rem;
	color: hsl(218, 22%, 67%);
}

.details p{
	line-height: 1.75rem;
}

.bottom{
	display: flex;
	flex-direction: row;
	max-width: 100%;;
}

.pricing{
	display: flex;
	flex-direction: column;
	gap:1.5rem;
	background-color: hsl(179, 62%, 43%);
	color: white;
	max-width: 21rem;
	border-radius:0 0 0 0.6rem;
}

.pricing h2{
	font-family: 'Karla', sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 1.5px;
}

.price-details{
	display: flex;
	flex-direction: column;
	gap:1rem;
}

.price{
	display: flex;
	flex-direction: column;
	gap:0.5rem;
}

.price-details-flex-class{
	font-family: 'Karla', sans-serif;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap:1rem;
}

.amount{
	font-size:1.9rem;
	font-weight: 600;
}

.duration{
	color: hsla(203, 44%, 93%, 0.582);
}

.access{
	font-family: 'Karla', sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: hsla(203, 44%, 93%, 0.966);
}

button{
	border:0;
	padding: 1rem 2rem;
	border-radius: 0.3rem;
	color: white;
	font-size: 1rem;
	font-weight: 600;
	background-color: hsl(71, 73%, 54%);
	box-shadow: 0 8px 12px 0 hsla(179, 66%, 28%, 0.397);
}

button:hover{
	cursor: pointer;
	background-color: hsla(71, 73%, 54%, 0.74);
}

.persuasion{
	display: flex;
	flex-direction: column;
	gap:1.2rem;
	background-color: hsl(179, 47%, 51%);
	color: white;
	max-width: 21rem;
	border-radius: 0 0 0.6rem 0 ;
}

.persuasion h2{
	font-family: 'Karla', sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
}

.persuasion-par{
	max-width: 21rem;
}

.persuasion p{
	font-size: 0.9rem;
	font-weight: 300;
	line-height:1.4rem;
	color: hsla(203, 44%, 93%, 0.651);
}

@media screen and (max-width: 700px) {
	.wrapper{
		max-width:21.5rem;
	}
	.bottom{
		display: flex;
		flex-direction: column;
	}
	.pricing{
		border-radius: 0;
		max-width: 100%;
	}
	.persuasion{
		border-radius: 0 0 0.6rem 0.6rem;
		max-width: 100%;
	}
	.banner br{
		display: none;
	}
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }