@font-face {
	font-family: "PJS";
	src: url(/resources/fonts/plusJakartaSans/PlusJakartaSans-VariableFont_wght.ttf);
}

:root {
	--bg: #f2f2f2;
	--white: #f5f4f3;
	--text: #242e3f;
	--accent: #fff537;
	--primary: #91ccf4;
	--secondary: #f68887;
	--tertiary: #327d78;
}

* {
	overflow-x: hidden;
}

body {
	margin: 0;
	background: #f2f2f2;
}

h1 {
	font-size: 3em;
	font-family: Satoshi-Black;
	color: var(--text);
}

h2 {
	font-family: Satoshi-Bold;
}

p {
	font-family: PJS;
}

section {
	margin: 0;
	min-height: 100vh;
	width: 100vw;
}

.flex {
	display: flex;
}

.vert {
	flex-direction: column;
}

.bottom {
	align-items: flex-end;
}

.centre {
	align-items: center;
	justify-content: center;
}

.transition {
	position: absolute;
}

/* Hero */
#hero {
	background: url(/resources/img/grid.png) top left no-repeat;
}

#hero h1 {
	color: var(--white);
	font-size: 3rem;
	margin-bottom: 0;
}

#hero img {
	transform: scale(1.2);
	margin-bottom: 10px;
}

#hero .flex {
	align-items: center;
	justify-content: center;
	transform: translate(0, calc((100vh - 25em) / 5));
	gap: 10vh;
}

#hero a {
	border: dotted 5px var(--white);
	border-radius: 10px;
	padding: 10px 50px;
	text-decoration: none;
	font-family: PJS;
	font-size: 1.5rem;
	color: var(--white);
	z-index: 2;
}

#hero a:hover {
	border: solid 5px var(--white);
	transform: 1s all ease;
}

/* Transition */
.transition {
	bottom: -5vh;
	height: 20em;
	width: 100vw;
	background: var(--tertiary);
	background-size: cover;
	z-index: -1;
	pointer-events: none;
}

.transition1 {
	position: absolute;
	bottom: -10vh;
	height: 20em;
	width: 100vw;
	background: url(/resources/img/tear.png) top center no-repeat;
	background-size: cover;
	pointer-events: none;
}

/* Content */
#content {
	margin-top: 10em;
	justify-content: center;
	overflow: visible;
}

#content > .container::before {
	position: absolute;
	transform: translateY(40px);
	content: url(/resources/img/path.svg);
}

#content * {
	overflow: visible;
}

#content > .container > *:not(.noIndicator) {
	display: flex;
	align-items: center;
}

#content > .container > *:not(.noIndicator)::before {
	content: "";
	display: inline-block;
	height: var(--largeRing);
	width: var(--largeRing);
	background: var(--bg);
	border-radius: 50%;
	filter: drop-shadow(0 5px 5px var(--colour));
	margin-right: 20px;
	transition: all ease-in-out 0.5s;
}

#content > .container > *:not(.noIndicator)::after {
	content: "";
	position: absolute;
	display: block;
	height: var(--smallRing);
	width: var(--smallRing);
	border-radius: 50%;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	background: var(--filled);
	transform: translateX(var(--gap));
	transition: all ease-in-out 0.3s;
}

.ind-0,
.ind-1 {
	--colour: rgba(0, 0, 0, 0.2);
	--filled: rgba(0, 0, 0, 0.1);
}

.ind-0 {
	transform: translateX(-14px);
	--largeRing: 28px;
	--smallRing: 14px;
	--gap: 7px;
}

.ind-0:not([data-order="0"]) {
	margin-top: 3.2em;
}

.ind-1 {
	margin-left: 27px;
	margin-bottom: 2.9em;
	--largeRing: 16px;
	--smallRing: 8px;
	--gap: 4px;
}

.ind-0[data-order="0"] {
	margin-top: 0;
	margin-bottom: 0.55em;
}

.ind-1[data-order="6"] {
	transform: translateY(-7px);
}

.ind-0[data-order="7"] {
	margin-top: 1.2em;
}

#content > .container > .container {
	margin-left: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 25px;
}

.active {
	--colour: rgba(246, 136, 135, 1);
	--filled: rgba(246, 136, 135, 1);
}

.card {
	height: 350px;
	width: 250px;
	border: #c4c4c4 solid 2px;
	border-radius: 10px;
	padding: 20px;
}

.card * {
	margin: 0;
}

/* Accordion */
.toggleAccordion {
	text-align: left;
	width: 100%;
	font-size: 1.2em;
	border: none;
	padding: 10px;
	background: transparent;
	font-family: PJS;
	font-weight: 500;
	cursor: pointer;
}

.toggleAccordion::after {
	content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWFycm93LWRvd24iPjxwYXRoIGQ9Ik0xMiA1djE0Ii8+PHBhdGggZD0ibTE5IDEyLTcgNy03LTciLz48L3N2Zz4);
	float: right;
	transition: all 0.5s ease-in-out;
}

.active::after {
	content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWFycm93LWRvd24iPjxwYXRoIGQ9Ik0xMiA1djE0Ii8+PHBhdGggZD0ibTE5IDEyLTcgNy03LTciLz48L3N2Zz4);
	float: right;
	transform: rotate(180deg);
	transition: all 0.5s ease-in-out;
}

.panel {
	padding-left: 10px;
	border-bottom: 2px solid var(--text);
}

.panel p {
	margin: 0;
	max-height: 0;
	opacity: 0;
	transition: 0.5s ease-in-out all;
	margin-bottom: 0px;
}

/* Footer */
footer {
	margin: 100px;
}

footer a {
	font-family: PJS;
}

@media screen and (max-width: 1400px) {
	.ind-0::before,
	.ind-0::after,
	.ind-1::after,
	.ind-1::before,
	.container::before {
		display: none !important;
	}

	.ind-0 {
		margin-top: 1.5em !important;
		transform: none;
	}

	.ind-1 {
		margin-left: 0;
	}

	#content {
		margin-left: auto;
		margin-right: auto;
		width: 80%;
	}
}

@media screen and (max-width: 1000px) {
	#content > .container > .container {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 800px) {
	#hero .flex {
		text-align: center;
	}

	#hero img {
		width: 60%;
	}

	#content > .container > .container {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-height: 900px) {
	#hero .flex {
		gap: 5vh;
	}
}