*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	padding: 1rem;
}

main {
	max-width: 10000px;
	margin: 0;
}

article {
	margin: 0;
}

.deals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
	font-family: Avenir, Roboto, Helvetica, san-serif;
	font-size: 80%;
}

.sale-item {
	display: flex;
	flex-flow: column;
	border: 1px solid black;
	border-radius: 1rem;
	padding: 2rem;
	align-items: center;
	background-color: moccasin;
}

.pic {
	padding: 0;
	width: 20em;
	height: 20em;
	object-fit: cover;
}

.sale-item > h1 {
	margin: 1rem 1rem 1rem;
}

.sale-item > ul {
	margin: 0 0 1rem;
}

.sale-item > .notes {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: small;
	width: 100%;
	aspect-ratio: 4/1;
	border: 1px solid black;
	border-radius: 1rem;
	background-color: lightgrey;
}

.sale-item > img {
	display: block;
	max-width: 100%;
	align-self: center;
	border: 1px solid black;
	border-radius: 1rem;
	margin-bottom: 1rem;
}

.sale-item > button {
	margin-top: auto;
	background: rgb(252, 253, 253);
	text-decoration: none;
	/* color: white; */
	padding: 0.5rem;
	border: none;
	border-radius: 1rem;
	font-size: 1.2rem;
}
