body {
	font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	color: #333;
	background-color: #fefefe;
	margin: 0 auto;
}

main {
	margin: 0 auto;
}

main>*:not(.fullBleed) {
	width: min(111ch, calc(100% - 2rem));
}

.fullBleed {
	width: 100%;
}

.fullBleed>* {
	margin: 0 auto;
	width: min(111ch, 95%);
}

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

h1 {
	font-size: 2.5rem;
	margin: 2rem 0;
}

/* 40px if base is 16px */
h2 {
	font-size: 2rem;
	color: forestgreen;
	margin: 1.5rem 0;
}

/* 32px */
h3 {
	font-size: 1.75rem;
	color: forestgreen;
	margin: 1.25rem 0;
}

/* 28px */
h4 {
	font-size: 1.5rem;
	color: forestgreen;
	margin: 1rem 0;
}

/* 24px */
h5 {
	font-size: 1.25rem;
	margin: .75rem 0;
}

/* 20px */
h6 {
	font-size: 1.1rem;
	margin: .6rem 0;
}

p {
	margin: .5rem 0;
}

.headerWrapper {
	background-color: ivory;
	border-bottom: 2px solid forestgreen;
	position: sticky;
	top: 0;
}

header {
	display: flex;
	height: 85px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

header h1 {
	margin: 0;
}

header img {
	max-height: 70px;
	width: auto;

}

header svg {
	fill: forestgreen;
}

header nav {
	display: flex;
	justify-content: flex-end;
	gap: .5rem 2rem;
	flex-wrap: wrap;
}

header nav a {
	text-decoration: none;
	color: forestgreen;
	font-weight: 500;
	font-size: 1.2rem;
}

header nav a:hover {
	color: darkgreen;
}

section {
	margin: 4rem auto;
	padding: 1rem;
	scroll-margin-top: 90px;
}

#serviceMowing,
#serviceMulchPine,
#serviceTrimming,
#serviceLeaves,
#serviceSeasonal {
	scroll-margin-top: 90px;
}

.heroWrapper {
	background-image: url("images/grass.jpg");
}

#sectionQuote {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	border-radius: 4px;
	padding: 2rem 0;
}

#sectionQuote>div {
	flex: 1;
	background: ivory;
	color: forestgreen;
	padding: 1rem;
	border: 2px solid forestgreen;
}

#sectionQuote>div>h2 {
	font-size: 2.5rem;
}

#sectionQuote>div>p {
	font-size: 1.5rem;
	line-height: 1.4;
}

#sectionQuote>form {
	flex: 1;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	padding: 1rem;
	justify-content: center;
	color: #fefefe;
	background-color: forestgreen;
	font-size: 1.2rem;
	gap: .2rem;
}

#sectionQuote>form>input {
	border-radius: 4px;
	box-sizing: border-box;
	padding: .5rem 1rem;
	font-size: 1rem;
}

#sectionQuote>form>select {
	padding: .5rem 1rem;
	border-radius: 4px;
}

#sectionQuote>form>input[type=button],
input[type=submit],
input[type=reset] {
	background-color: yellow;
	color: forestgreen;
	font-size: 1.2rem;
	font-weight: bold;
	border: none;
	padding: 16px 32px;
	text-decoration: none;
	margin: 4px 2px;
	cursor: pointer;
	width: 50%;
	align-self: center;
}

#sectionWhy p,
#serviceMowing p,
#serviceMulchPine>p,
#serviceTrimming p,
#serviceLeaves>p,
#serviceSeasonal p {
	line-height: 1.6;
	font-size: 1.2rem;
}

#sectionWhy div,
#serviceMowing div,
#serviceMulchPine div,
#serviceTrimming div,
#serviceLeaves>div,
#serviceSeasonal div {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2rem;
	margin: auto;
}

#serviceMulchPine article,
#serviceLeaves>div>div {
	flex: 1;
}

#sectionWhy img,
#serviceMowing img,
#serviceMulchPine img,
#serviceTrimming img,
#serviceLeaves img,
#serviceSeasonal img {
	flex: 1;
	width: 100%;
	min-width: 350px;
	max-width: 45%;
	height: auto;
	margin-top: 1.5rem;
	margin-bottom: 3rem;
	margin-left: auto;
	margin-right: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#serviceMowing img {
	min-width: 350px;
}

#sectionWhy ul {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: .5rem 1.5rem;
}

#sectionWhy li {
	padding: 1rem;
	background-color: ivory;
	border-left: 4px solid #2C5530;
	margin: 0.5rem 0;
}

#sectionWhy>div:nth-of-type(2) article,
#serviceMulchPine article,
#serviceLeaves>div {
	text-align: center;
}

#sectionServices>ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	max-width: 100vw;
	padding: 0;
	margin: 0;
	justify-content: center;
	gap: 1rem;
}


#sectionServices>ul>li>a {
	display: block;
	padding: 1rem;
	text-decoration: none;
	color: forestgreen;
	background-color: ivory;
	font-weight: 600;
	border: 4px solid forestgreen;
	border-radius: 4px;
	transition: transform 100ms;
}

#sectionServices>ul>li>a:hover {
	color: darkgreen;
	transform: scale(1.05);

}

#serviceMowing ul,
#serviceMulchPine ul,
#serviceTrimming ul,
#serviceSeasonal ul {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: .5rem;
}

#serviceMowing li,
#serviceMulchPine li,
#serviceTrimming li,
#serviceSeasonal li {
	padding: 1rem;
	background-color: ivory;
	border-left: 4px solid #2C5530;
	margin: 0.5rem 0;
}

.footerWrapper {
	border-top: 2px solid forestgreen;
}

footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: left;
}

footer h2 {
	margin: 1.5rem 0 1rem 0;
	font-size: 1.5rem;
}

footer div>div {
	margin-top: 1rem;
}

footer div>div>a {
	padding-left: 12px;
}

footer section {
	margin: 0;
}

footer dl {
	display: grid;
	margin: 0;
	grid-template-columns: auto 1fr;
	grid-template-rows: 1fr;
	line-height: 1.6;
}

footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 1.6;
}

footer a {
	text-decoration: underline;
	color: #333;
}

footer a:hover {
	color: forestgreen;
}
