html {
	height: 100svh;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Quicksand", sans-serif;
	font-optical-sizing: auto;

	* {
		box-sizing: border-box;
	}

	> * {
		flex: 1;
		font-size: 1.2rem;
	}
}


header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	padding-top: 1rem;

	img {
		flex: 1 1 30%;
		max-width: 150px;
	}

	> div {
		flex: 0 1 auto;

		h1, h2 {
			height: max-content;
			margin: 0;
			padding: 0 1rem;
			font-size: 1.5rem;
			font-weight: 400;

			@media (max-width: 51rem) {
				text-align: center;
			}
		}

		h1 {
			font-size: 4rem;
			line-height: 3.5rem;
			white-space: nowrap;
		}
	}
}

article, aside {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;

	ul {
		margin: .5rem 0;
		padding: 0;
		list-style: none;

		li {
			position: relative;
			padding-left: 2rem;
			line-height: 2.25rem;

			&::before {
				content: '';
				position: absolute;
				top: .2rem;
				left: 0;
				z-index: -1;
				width: 2rem;
				height: 2rem;
				transform: scaleX(-1) rotate(-90deg);
				background: url('../images/leaf.svg') no-repeat left .2rem;
			}

			&:has([href^='tel'])::before {
				background: url('../images/phone.svg') no-repeat left .2rem;
				transform: scaleX(-1);
				transform-origin: 35% 50%;
			}

			&:has([href^='mailto'])::before {
				background: url('../images/mail.svg') no-repeat left .2rem;
				transform: none;
			}

		}
	}
}

aside {
	padding: 1rem 0;
	background: linear-gradient(90deg,rgba(165, 204, 111, .5) 0%, rgba(96, 162, 160, .5) 100%);
}

footer {
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	align-items: center;
	padding: 1rem 0;
	color: #fff;
	font-size: clamp(1.5rem, 4vw, 3rem);
	font-weight: 500;
	background: #A5CC6F;
	background: linear-gradient(90deg,rgba(165, 204, 111, 1) 0%, rgba(96, 162, 160, 1) 100%);
}

a, a:link, a:active, a:visited {
	color: #000000;
	text-decoration: none;
}

.green {
	color:#a5cc6f;
}

.blue {
	color:#60a2a0;
}