.time-capsule-band {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 36.8px;
	overflow: hidden;
	background: #ffd633;
	color: #000000;
	pointer-events: none;
	z-index: 9998;
}

.time-capsule-band--left {
	left: min(0px, calc(50% - 516.8px));
}

.time-capsule-band--right {
	right: min(0px, calc(50% - 516.8px));
}

.time-capsule-band__track {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	will-change: transform;
}

.time-capsule-band__copy {
	display: block;
	flex: 0 0 auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 36.8px;
	letter-spacing: 0.15px;
	text-orientation: mixed;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

.time-capsule-band--left .time-capsule-band__copy {
	transform: rotate(180deg);
}

.time-capsule-band--left .time-capsule-band__track {
	animation: time-capsule-scroll-down 150s linear infinite;
}

.time-capsule-band--right .time-capsule-band__track {
	animation: time-capsule-scroll-up 150s linear infinite;
}

.time-capsule-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes time-capsule-scroll-up {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(0, -50%, 0);
	}
}

@keyframes time-capsule-scroll-down {
	from {
		transform: translate3d(0, -50%, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@media screen and (max-width: 1033.6px) {
	body.time-capsule-page {
		min-width: 1033.6px;
	}

	.time-capsule-page-frame {
		display: grid;
		grid-template-columns: 36.8px 960px 36.8px;
		grid-template-rows: auto;
		align-items: start;
		width: 1033.6px;
		margin: 0 auto;
	}

	.time-capsule-page-frame > .container {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}

	.time-capsule-band {
		position: sticky;
		top: 0;
		bottom: auto;
		height: 100vh;
		align-self: start;
	}

	.time-capsule-band--left {
		grid-column: 1;
		grid-row: 1;
		left: auto;
	}

	.time-capsule-band--right {
		grid-column: 3;
		grid-row: 1;
		right: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.time-capsule-band__track {
		animation: none;
	}
}

@media print {
	.time-capsule-band,
	.time-capsule-status {
		display: none;
	}
}
