@import url('coppice.css');

#content-header {
	height: 650px;
}

@media (max-width: 700px) {
	#content-header {
		height: 100vw;
	}
}

#main-carousel img {
	border-radius: 5px;
}


/*Intro*/
#intro {
	padding: 40px 0px 60px 0px;
}

#intro p {
	font-size: 2.375em;
	font-weight: 700;
	line-height: 1.2em;
	max-width: 630px;
	margin: 20px auto;
	text-align: center;
}

#intro p:nth-of-type(2) {
	color: #5b5b5b;
}

#intro p:nth-of-type(2)::first-line {
	color: #3c3c3c;
}

#intro p:nth-of-type(3) {
	color: #8f8f8f;
}

#intro p:nth-of-type(3)::first-line {
	color: #7b7b7b;
}

#intro p:last-of-type {
	margin-top: 40px;
	color: var(--coppice-green);
}

#intro span.dot2 {
	color: #c0c0c0;
}

#intro span.dot3 {
	color: #e2e2e2;
}

@media (max-width: 670px) {
	#intro p {
		margin: 20px;
		font-size: 5.67vw;
	}
}

/*Whats New*/
#whats-new {
	background: var(--dark-grey);
	padding-top: 50px;
	padding-bottom: 250px;
}

#whats-new p {
	color: var(--light-grey-content);
}

#whats-new-header {
	margin-left: -67px;
}

@media (max-width: 1040px) {
	#whats-new-header {
		margin-left: 0px;
		margin-bottom: 10px;
	}

	#whats-new-header img {
		width: 32px;
		height: 40px;
	}

	#whats-new-header h2 {
		margin-top: 5px;
	}
}
@media (max-width: 550px) {
	#whats-new .flex-row {
		flex-direction: column;
	}
}

/*Overview*/
#overview {
	margin-top: -80px;
}

#overview .section-footer {
	grid-column: var(--col-2);
	display: flex;
	justify-content: center;
}

#overview video {
	border-radius: 15px;
	display: none;
	width: 100%;
	height: 100%;
}

#overview-container {
	max-width: 900px;
	aspect-ratio: 9 / 5;
}

#overview-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#overview[data-current="collect"] #collect-video,
#overview[data-current="link"] #link-video,
#overview[data-current="grow"] #grow-video {
	display: block;
}

#overview section {
	color: var(--dark-grey-content);
	border-color: var(--light-grey-content);
}

#overview[data-current="collect"] #collect-section,
#overview[data-current="link"] #link-section,
#overview[data-current="grow"] #grow-section {
	background: #f8f8f8;
	color: black;
	border-color: var(--dark-grey-content);
	display: block;
}

#overview-link {
	margin-top: 10px;
	text-align: center;
	display: none;
}

@media (max-width: 500px) {
	#overview section {
		display: none;
		height: 160px;
	}

	#overview-link {
		display: block;
	}
}

/*Pro*/
#pro {
	background: var(--coppice-green);
	padding-top: 80px;
	padding-bottom: 350px;
}

#pro .grid section {
	border-color: var(--accent-colour-light);
}

#pro a.watch {
	color: white;
}

#pro-header {
	margin-left: -86px;
}

@media (max-width: 1040px) {
	#pro-header {
		margin-left: 0px;
		margin-bottom: 20px;
	}

	#pro-header img {
		height: 40px;
		width: 45px;
	}
}

@media (max-width: 500px) {
	#pro-header {
		margin-top: 20px;
	}
}

/*Get Started*/
#get-started {
	margin-top: -200px;
	font-size: 1.75em;
}

#get-started p {
	font-weight: 700;
	text-align: center;
	margin-left: var(--full-width-page-inset);
	margin-right: var(--full-width-page-inset);
}

#get-started .button-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 660px;
	margin: 0px auto;
}

#get-started small {
	color: var(--dark-grey-content);
}

#get-started .flex-column small:first-of-type {
	padding-top: 8px;
}

@media (max-width: 620px) {
	#get-started .button-row {
		flex-direction: column;
		align-items: center;
	}

	#get-started small:last-of-type {
		margin-bottom: 20px;
	}
}

#tree-header-left {
	right: 420px;
	bottom: 0px;
}

#tree-header-right {
	left: 420px;
	bottom: 0px;
}

#tree-whats-new-top {
	left: 350px;
	bottom: -40px;
}

#tree-whats-new-bottom {
	right: 360px;
	bottom: -150px;
}

#tree-overview-left {
	right: 600px;
	bottom: 60px;
}

#tree-overview-right {
	left: 500px;
	bottom: -105px;
}

#tree-pro-right {
	left: 350px;
	bottom: -120px;
}

@media (max-width: 1000px) {
	#tree-whats-new-top {
		left: calc(50vw - 150px);

		bottom: calc(((100vw - 320px) * (-35/680)) - 5px);
	}
}

@media (max-width: 940px) {
	#tree-whats-new-bottom {
		right: auto;
		left: calc(10vw);
		bottom: -100px;
		transform: scaleX(-1);
	}

	#tree-overview-right {
		left: 200px;
		bottom: -50px;
	}
}

@media (max-width: 500px) {
	#tree-whats-new-bottom {
		display: none;
	}
}

/* Dialogues */

#canvas-link-highlighting video {
	max-width: 813px;
}

#improved-image-linking video {
	max-width: 380px;
}

#automatic-page-linking video {
	max-width: 380px;
}