:root {
	--base-background-colour: #2e005a;
	--base-text-colour: white;
	--base-br: 3.15rem;
}

* {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
}

section {
	display: grid;
	align-items: center;
	justify-items: center;
	min-height: 100vh;
	text-align: center;
	background: var(--base-background-colour);
	color: var(--base-text-colour);
}
section .gs-intro {
	max-width: 60%;
	display: grid;
	gap: 3rem;
	opacity: 0;
	animation: fadeIn 1s ease-in forwards;
}
section.terms {
	align-items: start;
}
section.terms .gs-intro {
	max-width: 960px;
	width: 75%;
	margin: 1rem 0;
}
section .terms-last-updated {
	font-weight: normal;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	font-style: italic;
}
section .leading-header {
	text-align: center;
	display: grid;
	gap: 3rem;
}
section .leading-header.sub-page {
	grid-template-columns: 100px 1fr;
	margin-left: auto;

	width: 100%;
}
section .leading-header img {
	margin: 0 auto;
	max-width: 12.5rem;
	width: 100%;
}
section .link-collection {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	justify-items: center;
	align-items: center;
	margin: 0 auto;
}
section .link-collection a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.458);
	font-size: 0.75rem;
	font-weight: 600;
}
.cta {
	text-decoration: none;
	background: white;
	color: #2e005a;
	padding: 0.75rem 3rem;
	border-radius: var(--base-br);
	font-weight: 500;
	transition: 0.2s ease;
	max-height: 2.5rem;
	align-self: center;
}
.sub-page .cta {
	justify-self: end;
	max-width: 4.5rem;
	padding: 0.75rem 2rem;
}
.cta:hover {
	background: #00ff85;
}
.cta:active {
	transform: scale(0.95);
}

.content-section {
	font-weight: 400;
	text-align: left;
	display: grid;
	gap: 1rem;
}
.content-section .content-item {
}
.content-section p,
.content-section ul {
	color: rgba(255, 255, 255, 0.5);
}
.content-section p strong {
	color: rgba(255, 255, 255, 01);
	font-weight: 600;
}

/* Fade-in animation for the container */
@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* Animation for the logo */
.leading-header img {
	opacity: 0;
	transform: translateY(-20px) scale(1);
	animation: logoSlideIn 0.6s ease forwards;
	animation-delay: 0.5s;
}

@keyframes logoSlideIn {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Animation for the CTA button */
.leading-header .cta {
	opacity: 0;
	transform: translateY(-20px) scale(1);
	animation: logoSlideIn 0.6s ease forwards;
	animation-delay: 0.75s;
}

@keyframes ctaPopIn {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Animation for the link collection */
.link-collection a {
	opacity: 0;
	transform: translateY(20px);
	animation: linkFadeIn 0.4s ease-out forwards;
	animation-delay: 0.85s;
}

.link-collection a:nth-child(1) {
	animation-delay: 1s;
}

.link-collection a:nth-child(2) {
	animation-delay: 1.2s;
}

.link-collection a:nth-child(3) {
	animation-delay: 1.4s;
}

.link-collection a:nth-child(4) {
	animation-delay: 1.6s;
}

@keyframes linkFadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
