
main#pilates-products {
	width: 100%;
	max-width: var(--maxPageWidth);
	margin: auto;
	/*margin-top: 2rem;*/
	color: var(--textColor);
}

main#pilates-products > section:nth-child(1) {
	text-align: center;
}

main#pilates-products > section:nth-child(1) > h1 {
	font-size: 3rem;
	/*font-weight: 400;*/
	font-weight: 300;
	margin: 3rem 0;
}

main#pilates-products > section:nth-child(1) span {
	display: inline-block;
	width: 100%;
	max-width: 700px;
	height: 2px;
	background-color: var(--mainColor);
	marin: 1.5rem 0;
}

main#pilates-products > section:nth-child(1) > h3 {
	font-size: 1.7rem;
	font-weight: 300;
	margin: 1.5rem 0;
}


main#pilates-products > section:nth-child(2) {
	display: flex;
	/*justify-content: space-between;*/
	flex-wrap: wrap;
	gap: 2%;
}

main#pilates-products > section:nth-child(2) > div {
	width: 49%;
	border: solid 2px var(--mainColor);
	text-align: center;
	padding: 0.5rem;
	margin: 1rem 0;

	display: flex;
	flex-direction: column;
	/*justify-content: flex-start;*/
	justify-content: space-between;
}

main#pilates-products > section:nth-child(2) > div > h2 {
	color: var(--mainColor);
	font-size: 2rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
}

main#pilates-products > section:nth-child(2) > div > a {
	display: block;
	width: 100%;
}

main#pilates-products > section:nth-child(2) > div > a > img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: scale-down;
}

main#pilates-products > section:nth-child(2) > div > h5 {
	/*align-self: flex-end;*/
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	font-weight: 300;
}

main#pilates-products > section:nth-child(2) > div > a:last-child {
	color: var(--mainColor);
	/*display: inline-block;*/
	font-weight: 400;
	margin-bottom: 1rem;
	/*align-self: flex-end;*/
}


@media screen and (max-width: 700px) {
	main#pilates-products > section:nth-child(2) > div {
		width: 100%;
	}
}