/*** Global styles used across Albert's story ***/
/*** Last updated: 23 February 2024 by Justin Herrin ***/

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	--minFontSize: 13px;
	--maxFontSize: 20px;
	--scaler: 2vw;
	font-size: clamp( var(--minFontSize), var(--scaler), var(--maxFontSize) );
	background: #393A4A;
	background: linear-gradient(135deg, #393A4A 0%, #000000 100%);
	color: #393A4A;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	line-height: 1.5em;
	overflow-x: hidden;
	position: relative;
}

p+p,
ul+p, ul+ul, p+ul,
div+p, div+ul,
p+div, ul+div,
h1+p, h2+p, h3+p,
h1+ul, h2+ul, h3+ul,
h1+h2,
p+h1, p+h2, p+h3,
h2+ul,
ul+h2, ul+h3,
div+h2, div+h3 {
  margin-top: 1.5em;
}

h1 {
	--minFontSize: 42px;
	--maxFontSize: 70px;
	--scaler: 10vw;
	font-size: clamp( var(--minFontSize), var(--scaler), var(--maxFontSize) );
	font-weight: 700;
	line-height: 1.1em;
}

h2 {
	font-size: 26px;
	font-weight: 400;
	line-height: 1.1em;
}
@media screen and (min-width: 1000px) {
	h2 {
		font-size: 34px;
	}
}

h3 {
	font-size: 24px;
	font-weight: 400;
	line-height: 1.1em;
}

img {
	max-width: 100%;
	height: auto;
}

.story-wrapper {
	max-width: 1306px;
	margin: 0 auto;
	border-left: 3px solid #fff;
	border-right: 3px solid #fff;
	position: relative;
	overflow-x: hidden;
}

.story-wrapper section {
	width: 100%;
	height: 100vh;
	/*scroll-snap-align: start;*/
	position: relative;
	overflow: hidden;
}


/** Scroll progress bar **/
.progress-bar-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 6px;
	background: transparent;
	z-index: 105;
}
#progress-bar {
	display: block;
	height: 6px;
	background: #00F2FF;
	width: 0%;
}


/** Menu navigation and trigger buttons **/
.menu-btn {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 100;
	cursor: pointer;
	pointer-events: initial;
}
.menu-btn .bar {
	width: 100%;
	height: 2px;
	background: #fff;
	transform-origin: center;
}

.menu-wrapper {
	max-width: 1300px;
	margin: 0 auto;
	pointer-events: none;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	left: 50%;
	transform: translateX(-50%);
	overflow-x: hidden;
	z-index: 100;
}

.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	z-index: 90;
	pointer-events: initial;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(31, 87, 255, .9);
	transform: translate(100vw, 0);
	transition: width 475ms ease-out, transform 450ms ease, border-radius .8s .1s ease;
	border-bottom-left-radius: 100vw;
}
.menu.open {
	transform: translatex(0);
	border-bottom-left-radius: 0;
}
.menu ul {
	list-style: none;
	width: 100%;
}
.menu ul li {
	margin: 10px;
	text-align: center;
	width: 100%;
}
.menu ul li a {
	--minFontSize: 18px;
	--maxFontSize: 20px;
	--scaler: 2vw;
	font-size: clamp( var(--minFontSize), var(--scaler), var(--maxFontSize) );
	font-weight: 700;
	color: #fff;
	display: block;
	padding: 15px;
	text-align: center;
	text-decoration: none;
	transition: all .5s ease;
}
.menu ul li a span {
	position: relative;
}
.menu ul li a span::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #00F2FF;
	transform-origin: left;
	transition: scale .35s ease-in;
	scale: 0;
}
.menu ul li a.active,
.menu ul li a:hover {
	color: #00F2FF;
}
.menu ul li a.active span::after,
.menu ul li a:hover span::after {
	scale: 1;
}

@media screen and (min-width: 1000px) {
	.menu {
		width: 50%;
	}
}


/** Chapter title screens **/
.chapter-title {
	background-image: url('../images/global/bg-chapter-titles.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top right;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-left: 50px !important;
}
.chapter-title-copy-wrapper {
	max-width: 660px;
}
.chapter-title-copy-wrapper h2 {
	margin-bottom: 40px;
}
@media screen and (min-width: 1000px) {
	.chapter-title {
		padding-left: 100px !important;
	}
}





/** Buttons **/
.btn-ghosted {
	background-color: transparent;
	border: 2px solid #fff;
	border-radius: 30px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	outline: none;
	padding: 10px 30px;
	transition: all .5s ease;
	text-decoration: none;
	text-shadow: none;
}
.btn-ghosted:hover {
	background-color: #fff;
	color: #1f57ff;
}
.btn-orbitron {
	font-family: 'Orbitron', sans-serif;
	font-weight: 500;
}
@media screen and (min-width: 1000px) {
	.btn-ghosted {
		padding: 10px 60px;
	}
}

.learn-more {
	color: rgba(255, 255, 255, .8);
	display: inline-block;
	position: relative;
	text-decoration: none;
	transition: all .35s ease;
}
.learn-more::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, .8);
	transform: translateY(2px);
	transition: all .35s ease;
}
.learn-more:hover {
	color: rgba(255, 255, 255, 1);
}
.learn-more:hover::after {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-1px);
}



/** Helpers **/
.padding-top { padding-top: 20px; }
.padding-sides { padding-left: 20px; padding-right: 20px; }
.padding-bottom { padding-bottom: 20px; }
.padding-all { padding: 20px; }
.padding-none { padding: 0; }

.margin-top { margin-top: 20px; }
.margin-sides { margin-left: 20px; margin-right: 20px; }
.margin-bottom { margin-bottom: 20px; }
.margin-all { margin: 20px; }
.margin-none { margin: 0; }

@media screen and (min-width: 1000px) {
	.padding-top { padding-top: 50px; }
	.padding-sides { padding-left: 50px; padding-right: 50px; }
	.padding-bottom { padding-bottom: 50px; }
	.padding-all { padding: 50px; }
	.padding-none { padding: 0; }

	.margin-top { margin-top: 50px; }
	.margin-sides { margin-left: 50px; margin-right: 50px; }
	.margin-bottom { margin-bottom: 50px; }
	.margin-all { margin: 50px; }
	.margin-none { margin: 0; }
}

.font-white,
.font-white * {
	color: #fff;
}

.font-lightblue,
.font-lightblue * {
	color: #D6E4FB;
}

.font-small,
.font-small * {
	font-size: 12px;
}

.text-center,
.text-center * {
	text-align: center;
}

.text-right,
.text-right * {
	text-align: right;
}

.text-strikethrough {
	text-decoration: line-through;
}

.albert-alert-for-mobile {
	background: #f8d7da;
	border-bottom: 2px solid #f1aeb5;
	color: #58151c;
	font-size: 16px;
	position: fixed;
	top: 0;
	left: 0;
	padding: 10px 20px;
	transform: translateY(-100%);
	opacity: 1;
	width: 100%;
	z-index: 999;
}
@media screen and (min-width: 1000px) {
	.albert-alert-for-mobile {
		display: none;
	}
}

.container-1000 {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
.container-800 {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}



.helper-arrow-wrapper {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	text-align: center;
	font-size: 16px;
	z-index: 300;
	opacity: 0;
	transition: all .5s ease;
}
.helper-arrow-wrapper img {
	width: 22px;
}
@media screen and (max-width: 1000px) {
	.helper-arrow-wrapper {
		display: none;
	}
}

.bounce-arrow-wrapper {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	text-align: center;
	font-size: 16px;
}
.bounce-arrow-wrapper img {
	width: 22px;
}




/** "Ponder the orb" scene styles **/
.ponder {
	background: #00155b;
	background: linear-gradient(90deg, #00155b 0%, #020994 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ponder-table {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 225px;
	width: 100%;
	background: #0a00fd;
	background: linear-gradient(0deg, #0a00fd 0%, #0064ff 100%);
	transform: translateY(80px);
	z-index: 10;
}
.ponder-fdx-badge {
	position: absolute;
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 100px;
	opacity: 0;
	z-index: 50;
}
.ponder-fdx-badge img {
	width: 100%;
}
.ponder-orb {
	position: absolute;
	bottom: 145px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	z-index: 30;
}
.ponder-orb-tray {
	position: absolute;
	bottom: 90px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	z-index: 20;
}
.ponder-orb img,
.ponder-orb-tray img {
	display: block;
}
.ponder-lightbeam {
	background: rgba(255, 255, 255, .1);
	background: linear-gradient(0deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
	clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(200%);
	height: 70vh;
	width: 230px;
	max-width: 580px;
	z-index: 5;
}
.ponder .ponder-back-to-omniverse {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
}
@media screen and (min-width: 1000px) {
	.ponder-table {
		transform: none;
	}
	.ponder-orb {
		bottom: 185px;
		width: unset;
	}
	.ponder-orb-tray {
		bottom: 70px;
		width: unset;
	}
	.ponder-lightbeam {
		height: 70vh;
		width: 20vw;
	}
}


/** Omniverse scene styles **/
.faux-bg-opaque-blur {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	backdrop-filter: blur(10px);
	background: none;
}



/** "Did You Know" scene styles **/
.did-you-know {
	background: #0064ff;
	background: linear-gradient(325deg, #021557 0%, #0a00fd 20%, #0064ff 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.dyk-fdx-logo {
	text-align: center;
}
.dyk-fdx-logo img {
	max-width: 140px;
}
.dyk-fine-print {
	font-size: 12px;
	color: #fff;
	text-align: center;
	margin: 0;
}
@media screen and (min-width: 800px) {
	.dyk-fdx-logo {
		text-align: right;
	}
	.dyk-fdx-logo img {
		max-width: 200px;
	}
	.dyk-fine-print {
		text-align: left;
	}
}
.dyk-container {
	margin: 15px auto 30px auto;
	max-width: 1200px;
	font-family: 'Orbitron', sans-serif;
	font-weight: 500;
	overflow: hidden;
}
.dyk-container-top img,
.dyk-container-bottom img {
	display: block;
}
.dyk-inner {
	border-left: 5px solid #0ef2fa;
	border-right: 7px solid #0ef2fa;
	padding: 0px 40px;
	color: #fff;
}
@media screen and (min-width: 600px) {
	.dyk-inner {
		border-left: 8px solid #0ef2fa;
		border-right: 10px solid #0ef2fa;
		padding: 10px 40px;
	}
}
@media screen and (min-width: 800px) {
	.dyk-inner {
		border-left: 12px solid #0ef2fa;
		border-right: 14px solid #0ef2fa;
	}
}
@media screen and (min-width: 1000px) {
	.dyk-container {
		margin: 15px auto 65px auto;
	}
	.dyk-inner {
		border-left: 16px solid #0ef2fa;
		border-right: 18px solid #0ef2fa;
		padding: 20px 40px;
	}
}
@media screen and (min-width: 1200px) {
	.dyk-inner {
		border-left: 18px solid #0ef2fa;
		border-right: 22px solid #0ef2fa;
	}
}
.dyk-bulleted-items {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-left: 0;
}
.dyk-bulleted-items li {
	background: rgba(0, 239, 255, .4);
	border-left: 4px solid #00EFFF;
	padding: 5px 15px 5px 15px;
	position: relative;
	margin: 0 0 10px 0;
	width: 100%;
	align-self: stretch;
}
.dyk-bulleted-items li:last-child {
	margin-bottom: 0;
}
.dyk-bulleted-items li:before {
	content: "";
	position: absolute;
	top: 0;
	left: -7px;
	width: 1px;
	height: 100%;
	background: #00EFFF;
	margin-right: 1px;
}
@media screen and (min-width: 1000px) {
	.dyk-bulleted-items {
		list-style: none;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-left: 30px;
	}
	.dyk-bulleted-items li {
		margin: 0 0 20px 0;
		width: calc(50% - 10px);
	}
	.dyk-bulleted-items li:last-child {
		margin-bottom: auto;
	}
}



/** Animations for the copy used throughout the story **/
.copy-wrapper {
	position: relative;
	overflow: hidden;
	z-index: 99;
	width: calc(100% - 40px);
}
.copy-wrapper .animated-bg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(31, 87, 255, .8);
	transform: translateY(-100%);
	z-index: -1;
}
.copy-wrapper .animated-line {
	width: 0;
	height: 3px;
	background: #fff;
}
.copy-wrapper .animated-copy {
	color: #fff;
	margin: 0;
	padding: 15px;
	overflow: hidden;
}
.copy-wrapper__dark .animated-bg {
	background-color: rgba(255, 255, 255, .8);
}
.copy-wrapper__dark .animated-line {
	background: #272833;
}
.copy-wrapper__dark .animated-copy {
	color: #393A4A;
}

@media screen and (max-width: 1000px) {
	.copy-wrapper__dark .btn-ghosted {
		border-color: #393A4A;
		color: #393A4A;
	}
}

@media screen and (min-width: 1000px) {
	.copy-wrapper {
		width: unset;
		max-width: 450px;
	}
	.copy-wrapper__narrow {
		max-width: 350px;
	}
	.copy-wrapper__wide {
		max-width: 800px;
	}
	.animated-copy {
		padding: 20px;
	}
}

.copy-wrapper__top-right,
.copy-wrapper__center-right,
.copy-wrapper__bottom-right,
.copy-wrapper__top-left,
.copy-wrapper__bottom-left,
.copy-wrapper__center-left,
.copy-wrapper__center-center {
	position: absolute;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	transition: all 1s ease;
}

@media screen and (min-width: 1000px) {
	.copy-wrapper__top-right,
	.copy-wrapper__center-right,
	.copy-wrapper__bottom-right,
	.copy-wrapper__top-left,
	.copy-wrapper__bottom-left,
	.copy-wrapper__center-left {
		transform: none;
	}
	.copy-wrapper__top-right {
		top: 100px;
		left: unset;
		right: 100px;
	}
	.copy-wrapper__center-right {
		top: 50%;
		left: unset;
		right: 100px;
		transform: translateY(-50%);
	}
	.copy-wrapper__bottom-right {
		top: unset;
		left: unset;
		bottom: 100px;
		right: 100px;
	}
	.copy-wrapper__top-left {
		top: 100px;
		left: 100px;
	}
	.copy-wrapper__bottom-left {
		top: unset;
		bottom: 100px;
		left: 100px;
	}
	.copy-wrapper__center-left {
		top: 50%;
		left: 100px;
		transform: translateY(-50%);
	}
	.copy-wrapper__center-center {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}




.animate-bounce {
	animation-name: bounce-up-down;
	animation-timing-function: linear;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

@keyframes bounce-up-down {
	0%   { transform: translateY(0); }
	50%  { transform: translateY(-20px); }
	100% { transform: translateY(0); }
}


.btn-pulse {
	animation-name: pulse;
	animation-timing-function: linear;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

@keyframes pulse {
	0%   { transform: scale(1); }
	50%  { transform: scale(.8); }
	100% { transform: scale(1); }
}