@font-face {
  font-family: "NCND";
  src: url("../font/ncnd.woff2");
  font-style: normal;
  font-stretch: normal;
  font-weight: 250 900;
}

:root {
	--wght: 250;
	--vmin: 1vmin;
	--vmax: 1vmax;
	--vh: 1vh;
	--vw: 1vw;
	--digits: 4 + 1;
	
}
@supports (font-size: 1svmin) {
	:root {
		--vmin: 1svmin;
		--vmax: 1svmax;
		--vh: 1svh;
		--vw: 1svw;
	}
}

body {
	font-family: "NCND", monospace;
	display: grid;
	height: calc(97 * var(--vh));
	margin: 0;
	padding: 0;
	align-content: end;
	justify-content: center;
	background: silver;
}
div {
	aspect-ratio: 1.414/1;
	max-width: calc(96 * var(--vw));
	height: calc(96 * var(--vh));
	background: whitesmoke;
	border: 1px solid;
	padding: calc(4.5 * var(--vmin)) calc(10 * var(--vmin)) calc(9 * var(--vmin));
	box-sizing: border-box;
	font-size: calc(6.75 * var(--vh));
	gap: 0px 2em;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: start;
	position: sticky;
	top: 1em;
}
div:nth-last-of-type(n + 2) {
	transform: translateY(0vh);
	animation: moveaway 1s forwards;
}
div:nth-last-of-type(1) {
	transform: translateY(100vh);
	animation: moveup 1s 1s forwards;
}
@keyframes moveup {
	100% {
		transform: translateY(0vh);
	}
}
@keyframes moveaway {
	100% {
		transform: translateY(-110vh) rotate(180deg);
		//rotate: 190deg;
	}
}


@media (max-aspect-ratio: 1.414/1) {
	div {
		aspect-ratio: 1/1.414;
		max-height: calc(96 * var(--vh));
		max-width: 100%;
		width: 100%;
		height: 100vh;
		font-size: calc(5 * var(--vh));
		gap: 0 1em;
		padding: calc(4.5 * var(--vmin)) calc(7.5 * var(--vmin)) calc(9 * var(--vmin));
		padding: 7% 11% 12%;
	}
}
@media (max-aspect-ratio: 1/1) {
	div {
		padding: calc(4.5 * var(--vmax)) calc(7.5 * var(--vmax)) calc(9 * var(--vmax));
		max-width: calc(96 * var(--vw));
		height: calc(96 * var(--vh));
		max-height: calc(96 * var(--vw) * 1.414);
		padding: 7% 11% 12%;
	}
}
@media (max-aspect-ratio: 1/1.414) {
	div {
		font-size: calc(7 * var(--vw));
		padding: 7% 11% 12%;
	}
}

time {
	line-height: .8;
	position: relative;
	z-index: calc(1440 - var(--index) );
}

time:last-of-type {
	z-index: 1;
}

span {
	font-variation-settings: "wght" var(--wght);
	
}
time:last-of-type span {
	opacity: 0;
	animation: appear .1s calc( var(--index) * .2s + .5s ) forwards;
}
time:last-of-type:first-of-type span {
	opacity: 0;
	animation: appear .1s calc( var(--index) * .2s + 2s ) forwards;
}
span:first-of-type {
	--index: 1;
}
span:nth-of-type(2) {
	--index: 2;
}
span:nth-of-type(3) {
	--index: 3;
}
span:nth-of-type(4) {
	--index: 4;
}
span:nth-of-type(5) {
	--index: 5;
}
del {
	font-feature-settings: "ss02" on;
}

@keyframes appear {
	0% {
		opacity: 0;
	}
	99%, 100% {
		opacity: 1;
	}
}
@keyframes scrollTo {
	0% {
		max-height: 0;
	}
	100% {
		max-height: 1em;
	}
}
@media print {
	@page {
		margin-left: 1.6cm;
		margin-right: 1.6cm;
		margin-top: 1.4cm;
		margin-bottom: 2.8cm;
	}
	body {
		display: block;
		margin: 0;
		padding: 0;
		background: white;
	}
	div {
		font-size: 2.8em;
		
		position: relative;
		column-count: 3;
		
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(20,auto);
		
		page-break-after: always;
		margin: 0;
		padding: 0;
		aspect-ratio: auto;
		max-height: calc(100vh - 3cm);
		max-width: calc(100vw - 3.2cm);
		width: 100%;
		height: 100;
		
		gap: 0px 1em;
		
		position: relative;
		transform: translateY(0) rotate(0deg) !important;
		
		border: none;
		background: white;
		animation: none;
	}
	div:nth-last-of-type(n+2) {
	  transform: translateY(0vh) !important;
	  animation: none !important;
	}
	time {
		display: block;
		animation: none !important;
	}
	span {
		animation: none !important;
		display: inline !important;
		opacity: 1 !important;
	}
	time {
		grid-column-start: 1;
	}
	time:nth-of-type(n + 21) {
		grid-column-start: 2;
	}
	time:nth-of-type(n + 41) {
		grid-column-start: 3;
	}
	time:nth-of-type(20n + 21) { grid-row-start: 1;	}
	time:nth-of-type(20n + 22) { grid-row-start: 2;	}
	time:nth-of-type(20n + 23) { grid-row-start: 3;	}
	time:nth-of-type(20n + 24) { grid-row-start: 4;	}
	time:nth-of-type(20n + 25) { grid-row-start: 5;	}
	time:nth-of-type(20n + 26) { grid-row-start: 6;	}
	time:nth-of-type(20n + 27) { grid-row-start: 7;	}
	time:nth-of-type(20n + 28) { grid-row-start: 8;	}
	time:nth-of-type(20n + 29) { grid-row-start: 9;	}
	time:nth-of-type(20n + 30) { grid-row-start: 10;	}
	
	time:nth-of-type(20n + 31) { grid-row-start: 11;	}
	time:nth-of-type(20n + 32) { grid-row-start: 12;	}
	time:nth-of-type(20n + 33) { grid-row-start: 13;	}
	time:nth-of-type(20n + 34) { grid-row-start: 14;	}
	time:nth-of-type(20n + 35) { grid-row-start: 15;	}
	time:nth-of-type(20n + 36) { grid-row-start: 16;	}
	time:nth-of-type(20n + 37) { grid-row-start: 17;	}
	time:nth-of-type(20n + 38) { grid-row-start: 18;	}
	time:nth-of-type(20n + 39) { grid-row-start: 19;	}
	time:nth-of-type(20n + 40) { grid-row-start: 20;	}
	
}