@import url('main.css');

#content-header {
	height: 510px;
	background: var(--dark-grey);
	margin-bottom: 50px;
}

/* Coppice */
#coppice-header {
	text-align: center;
	padding-top: 20px;
}

#coppice-header img {
	margin: 0px auto;
	width: 200px;
	height: 224px;
}

#coppice-header > img {
	grid-column: var(--col-1);
}

#coppice-header h1 {
	font-family: var(--alt-font);
	font-weight: 600;
	font-size: 5.55em;
	margin: 5px 0px 0px 0px;
	line-height: 1em;
}

#coppice-header p {
	font-family: var(--alt-font);
	font-weight: 600;
	font-size: var(--size-xl);
	margin: 20px 0px 0px 0px;
	color: var(--coppice-green-light);
}

#coppice-header .button-group {
	margin-top: 30px;
}

#coppice-header .button-group a {
	font-size: var(--size-r);
	margin: 0px 5px;
}

#coppice-header .button {
	background: var(--coppice-green-light);
	color: black;
	padding: 10px 20px;
}

#coppice-header .button:hover {
	background: var(--coppice-green);
	color: white;
}

#coppice-header .button.secondary {
	background: none;
	color: white;
	border: 1px solid white;
	font-weight: normal;
}

#coppice-header .button.secondary:hover {
	background: white;
	color: var(--dark-grey);
}

#coppice-header a {
	color: white;
}

#coppice-header-content {
	align-items: stretch;
}

#tree-left {
	right: 260px;
	bottom: -30px;
}

#tree-right {
	left: 240px;
	bottom: -35px;
}



@media (max-width: 500px) {
	#coppice-header > div {
		height: auto;
	}

	#coppice-header-content {
		align-items: center;
	}

	#coppice-header-content hgroup {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#coppice-header h1 {
		font-size: 4em;
	}

	#coppice-header p {
		font-size: var(--size-l);
	}

	#coppice-header .button-group {
		margin-top: 30px;
		align-items: center;
		flex-direction: column;
	}

	#coppice-header .button-group a {
		margin-bottom: 10px;
	}

	#coppice-header .button {
		padding: 10px 20px;
	}

	#coppice-header .button-group a:not(.button) {
		font-size: var(--size-r);
	}

	.curve {
		width: 960px;
		height: 112px;
		transform: translateX(calc(50vw - 960px/2));
	}

	#tree-left {
		right: 110px;
		bottom: -30px;
		transform: scaleX(-0.8) scaleY(0.8);
	}

	#tree-right {
		left: 110px;
		bottom: -35px;
		transform: scale(0.8);
	}

}


/* About */
#about-mcubed > div {
	grid-column: var(--col-1-2);
}

#about-mcubed > img {
	grid-column: var(--col-3);
	margin: 0px auto;
}

@media (max-width: 940px) {
	#about-mcubed > div {
		grid-column: var(--col-1);
	}

	#about-mcubed > img {
		grid-column: var(--col-2);
	}
}