/**
 * Custom Properties
 * =================
*/

:root {
	--base-spacing: calc( 2rem * 0.75 );
	--color-dark: hsl(140, 12%, 11%);
	--color-bronze: hsl(36, 46%, 35%);
	--font-weight-bold: 700;
	--page-section-padding-lr: clamp(2rem, 3vw, 4rem);
	--page-section-padding-tb: clamp(3rem, 3vw, 6rem);
	--font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

@media (min-width: 30em) {
	:root {
		--base-spacing: 2rem;
	}
}



/**
 * Reset
 * =====
*/

*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}



/**
 * Images
 * ======
*/

img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
	width: auto;
}


/**
 * Base
 * ====
*/

html {
	background-color: hsl(140, 11%, 90%);
	color: var(--color-dark);
	font-family: "Playfair", georgia, serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (min-width: 60rem) {
	html {
		font-size: 1.125em;	
	}
}

body {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

strong {
	font-weight: var(--font-weight-bold);
}



/**
 * Main
 * ====
*/

main {
	text-align: center;
}



/**
 * Headings
 * ========
*/

h1,
h2,
h3,
h4,
h5 {
	font-weight: 400;
	color: var(--color-bronze);
}

h1 {
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	text-transform: uppercase;
	font-weight: 400;
	line-height: 1.2;
}

.section-title {
	font-size: clamp(3rem, 4vw, 6rem);
	line-height: 1;
	font-style: italic;
}



/**
 * Text
 * ====
*/

.txt-align-c {
	text-align: center;
}

.txt-sans {
	font-family: var(--font-system);
}

.txt-lede {
	font-size: clamp(1.125em, 3vw, 1.25em);
}



/**
 * Vertical Rhythm
 * ===============
*/

h1,h2,h3,h4,h5,h6,hgroup,
ul,ol,dl,menu,
p,figure,
pre,table,fieldset, hr,
blockquote,
.vr {
	margin-bottom: var(--base-spacing);
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
}

.last-child-no-vr > :last-child {
	margin-bottom: 0;
}

.vr-page-section {
	margin-bottom: var(--page-section-padding-tb);
} 



/**
 * Icons
 * =====
*/

.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
	position: relative;
	color: var(--color-bronze);
}



/**
 * Border Radius
 * =============
*/

.bdrs-m {
	border-radius: 3px;
}



/**
 * Links
 * =====
*/

a {
	color: var(--color-bronze);
}



/**
 * Layout
 * ======
*/

.max-width-s {
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
}

.page-section {
	padding: var(--page-section-padding-tb) var(--page-section-padding-lr);
}



/**
 * Properties
 * ==========
*/

.properties {
	
	display: grid;
	gap: var(--base-spacing);
	text-align: left;
	max-width: 30em;
	margin-left: auto;
	margin-right: auto;

	@media (min-width: 70rem) {
		max-width: 85vw;
		grid-template-columns: repeat(3, 1fr);
	}

	@media (min-width: 100rem) {
		max-width: 80rem;
	}

}

.properties__item {
	background-color: #FFF;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0, 0.1);
}

.properties__img {
	width: 100%;
}

.properties__txt {
	padding: var(--base-spacing);
}

.properties__title {
	font-size: 1.5em;
	margin-bottom: calc( var(--base-spacing) * 0.5 );
}

.properties__specs {
	list-style: none;
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	font-size: 0.875em;
}

.properties__specs li {
	display: flex;
	gap: 0.25em;
	align-items: center;
}
