*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700;9..144,900&display=swap');


body{
	background-color: hsl(31, 40%, 87%);
}

.card-container{
	margin-left: auto;
	margin-right: auto;
	margin-top: 4rem;
}
.card-container{
	background-color: hsl(0, 0%, 100%);
	width: 45%;
	height:50%;
	display: flex;
	flex-direction: row;
	border-radius: 14px;	
}
.product{
	width:100%;
	height:100%;
	border-radius: 14px 0 0 14px;
}

.text{
	padding:0.5rem;
	margin: 0 2rem;
	width:50%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.title{
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 550;
	font-size: 14px;
	letter-spacing: 5px;
	color: hsl(228, 12%, 48%);
	align-self: flex-start;
	margin-top: 0;
}

.descriptive-title{
	font-family: 'Fraunces', serif;
	font-weight: 700;
	font-size: 2.1rem;
	line-height: 1;
}

.description{
	width:90%;
}

.description p{
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: hsl(228, 12%, 48%);
	line-height: 1.5;
	letter-spacing: 0.6px;
}

.price{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width:15rem;
}

.price{
	display: flex;
	justify-content: center;
	padding: 2px ;
}

.new-price{
	font-size:2rem;
	font-family: 'Fraunces', serif;
	font-weight: 700;
	color: hsl(158, 36%, 37%);
	align-self: center;
}

.old-price{
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.6px;
	text-decoration: line-through;
	align-self: center;
	color: hsl(228, 12%, 48%);
	margin-left: auto;
	margin-right: auto;
}

.cart{
	width:15px;
	height: 15px;
	margin: 0.1rem;
}

.button-text{
	color: hsl(0, 0%, 100%);
	font-weight: 600;
	display: flex;
	justify-content: space-between;
}

.button{
	background-color: hsl(158, 36%, 37%);
	width: 15rem;
	padding: 0.6rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	border: 0;
	border-radius: 10px;
}

.button, p{
	margin: 0.2rem;
}

.svg{
	align-self: center;
}

.attribution { 
	font-family: 'Montserrat', sans-serif;
	font-size: 12px; 
	text-align: center; 
	margin-top: 2rem;
}
.attribution a { 
	color: hsl(228, 45%, 44%); 
	text-decoration: none;
}

.button:hover{
	background-color: hsl(158, 36%, 20%);
	cursor: pointer;
}

@media screen and (max-width: 375px) {
	.card-container{
		flex-direction: column;
		justify-content: space-evenly;
		width:90%;
		margin-left: auto;
		margin-right: auto;
		height:37rem;
	}
	
	.product{
		width:100%;
		height:15rem;
		object-fit: cover;
		border-radius: 14px 14px 0 0;
	}

	.text{
		width: 100%;
		height:100%;
		margin: 1rem;
		padding: 0;
		flex-direction: column;
		justify-content: space-evenly;
		align-content: space-between;
	}
}