@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;900&display=swap");
:root {
	--primary-color: #7AC584;
	--secondary-color: #169028;
	--tertiary-color: #7BC883;

	--background-color: #eaffe3;
	--dark-background-color: var(--secondary-color);
	--light-background-color: #cff1cb;
	--transparent-background-color: #f4fff1;

	--text-color: #4A4A49;
	--dark-text-color: var(--secondary-color);

	--header-height: 56px;
}
* {
	box-sizing: border-box;
}
html, body {
	margin: 0;
	padding: 0;
}
body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--transparent-background-color);
	background-image: linear-gradient(var(--transparent-background-color), #fff);
	color: var(--text-color);
}
header {
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--header-height);
	z-index: 1000;
	background-color: var(--background-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	color: var(--dark-text-color);
}
#header-title {
	margin-left: 2em;
	font-weight: 500;
	cursor: pointer;
}
header nav {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
	margin-right: 2em;
}
#header-menu-button {
	display: none;
}
header nav ul {
	display: flex;
}
header nav ul li {
	list-style: none;
}
header nav ul li a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	color: var(--dark-text-color);
	transition: color 0.3s ease, background-color 0.3s ease;
}
header nav ul li a.active {
	background-color: var(--light-background-color);
}
header nav ul li a:hover {
	background-color: var(--dark-background-color);
	color: white;
}
@media only screen and (max-width: 760px) {
	#header-menu-button {
		display: block;
		position: absolute;
		top: 0;
		right: 8px;
		width: 40px;
		height: 40px;
		cursor: pointer;
	}
	#header-menu-button > div {
		position: absolute;
		background-color: black;
		height: 2px;
		width: 40px;
		border-radius: 1px;
		transition: all 0.4s ease;
	}
	#header-menu-button > div:first-child {
		z-index: 1;
		top: 14px;
	}
	#header-menu-button.checked > div:first-child {
		transform: translate(0px, 10px) rotate(45deg);
		background-color: black;
	}
	#header-menu-button > div:nth-child(2) {
		top: 24px;
	}
	#header-menu-button.checked > div:nth-child(2) {
		background-color: white;
	}
	#header-menu-button > div:last-child {
		z-index: 1;
		top: 34px;
	}
	#header-menu-button.checked > div:last-child {
		transform: translate(0px, -10px) rotate(135deg);
		background-color: black;
	}
	header nav ul {
		position: absolute;
		top: 40px;
		right: 0;
		flex-direction: column;
		z-index: 1100;
		transform: translateX(100%);
		transition: transform 0.4s ease;
	}
	#header-menu-button.checked + ul {
		transform: translateX(0%);
	}
	header nav ul li a {
		width: 100%;
		border-radius: 0;
		background-color: var(--background-color);
	}
	header nav ul li:last-child a {
		padding-bottom: 0.75rem;
		border-bottom-left-radius: 6px;
		border-bottom-right-radius: 6px;
	}
}
#main {
	margin-top: var(--header-height);
}
body:not(.home) #main {
	padding: 20px 0;
	max-width: min(60em, 100%);
	margin-left: auto;
	margin-right: auto;
}
@media only screen and (max-width: 980px) {
	body:not(.home) #main {
		max-width: 100%;
		margin-left: 3%;
		margin-right: 3%;
	}
}
@media only screen and (max-width: 400) {
	body:not(.home) #main {
		max-width: 100%;
		margin-left: 1em;
		margin-right: 1em;
	}
}
footer {
	display: flex;
	justify-content: center;
	background-color: var(--tertiary-color);
	padding: 50px 0;
}
#footer-wrapper {
	display: flex;
}
footer .block {
	flex: 1 1 auto;
	height: 100%;
	padding: 50px;
}
footer .block.logo {
	display: flex;
	align-items: center;
}
footer .block img {
	max-width: 150px;
}
footer .block h3 {
	font-weight: bold;
	margin-bottom: 4px;
	color: var(--secondary-color);
}
footer .block a {
	display: block;
	color: white;
}
@media only screen and (max-width: 920px) {
	#footer-wrapper {
		flex-direction: column;
	}
	footer .block {
		padding: 8px 50px;
	}
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 16px;
	margin-bottom: 10px;
	font-weight: 500;
	line-height: 1.2;
}
a {
	color: var(--dark-text-color);
}
button {
	position: relative;
	border: 0;
	border-radius: 8px;
	min-height: 36px;
	padding: 10px 25px;
	margin: 4px 2px;
	overflow: hidden;
	font-family: "Montserrat", sans-serif;
	font-weight: 900;
	font-size: 0.875rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background-color: var(--dark-background-color);
	color: white;
	box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
	appearance: none;
	outline: 0;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
button:hover {
	background-color: #4aab56;
}
button .ripple {
	position: absolute;
	border-radius: 50%;
	transform: scale(0);
	animation: ripple 600ms linear;
	background-color: rgba(255, 255, 255, 0.7);
}
@keyframes ripple {
	to {
		transform: scale(4);
		opacity: 0;
	}
}
