* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
img {
	display: block;
	width: 100%;
}
body {
	background-color: black;
}
.container {
	width: 100vw;
	height: 100dvh;
	overflow: hidden;
	position: relative;
}
.container[data-open="1"] {
	cursor: none;
}

/* Credits */
.credit {
	position: absolute;
	bottom: 10px;
	left: 50%;
	width: 80vw;
	transform: translateX(-50%);
	text-align: center;
	display: flex;
	gap: 2px 20px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	/* white-space: nowrap; */
	font-family: 'Arial', sans-serif;
	z-index: 999;
	font-size: 10px;
	line-height: 1.5em;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: white;
	opacity: .25;
	transition: opacity .5s;
}
.credit a {
	color: white;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
.credit:hover {
	opacity: 1;
}

/* Ticket */
.ticket-parent {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 999;
	transform: translate(-50%, 0%);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ticket-in 3s;
	z-index: 6;
}
.container[data-open="1"] .ticket-parent {
	animation: ticket-out 1s forwards;
}
@keyframes ticket-in {
	from {
		transform: translate(-50%, 150vh) rotate(-500deg);
	}
	to {
		transform: translate(-50%, 0vh);
	}
}
@keyframes ticket-out {
	from {
		transform: translate(-50%, 0vh);
	}
	to {
		transform: translate(-50%, 150vh) rotate(500deg);
	}
}
.ticket {
	width: 25vw;
	min-width: 200px;
	max-width: 400px;
	transform: rotate(-2deg);
	cursor: pointer;
	transition: transform .2s;
}
.ticket:hover {
	transform: scale(1.2) rotate(2deg);
}
.ticket:active {
	transform: scale(1.1) rotate(1deg);
}

/* Curtains */
.curtain {
	width: 100vw;
	height: 100dvh;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	overflow: hidden;
	animation: curtain-in 3s;
	z-index: 5;
}
@keyframes curtain-in {
	from {
		filter: blur(10px) brightness(50%);
		transform: scale(2);
	}
	to {
		filter: blur(0px) brightness(100%);
		transform: scale(1);
	}
}
.curtain-top {
	filter: brightness(50%) blur(4px);
	transform: scale(1.1, .8);
	transform-origin: top center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 4;
	transition: transform 1s .2s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-side-left {
	filter: brightness(40%) blur(3px);
	transform: scale(1.1);
	position: absolute;
	top: 0;
	left: 0;
	height: 120%;
	width: 20%;
	z-index: 3;
	transition: transform .5s .3s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-side-right {
	filter: brightness(40%) blur(3px);
	transform: scale(1.1) rotateY(-180deg);
	position: absolute;
	top: 0;
	right: 0;
	height: 120%;
	width: 20%;
	z-index: 3;
	transition: transform .5s .3s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-drape-left {
	filter: brightness(70%) blur(2px);
	transform: scale(1.1);
	position: absolute;
	top: 0;
	left: 0;
	height: 120%;
	width: 20%;
	z-index: 5;
	transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-drape-right {
	filter: brightness(70%) blur(2px);
	transform: scale(1.1) rotateY(-180deg);
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 20%;
	z-index: 5;	
	transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-left {
	filter: brightness(30%) blur(4px);
	transform: scale(1.1);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 50%;
	object-fit: cover;
	object-position: right center;
	transition: transform 1s .5s cubic-bezier(0.45, 0, 0.55, 1);
}
.curtain-right {
	filter: brightness(30%) blur(4px);
	transform: scale(1.1);
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 50%;
	object-fit: cover;
	object-position: left center;
	transition: transform 1s .5s cubic-bezier(0.45, 0, 0.55, 1);
}
.container[data-open="1"] .curtain-top {
	transform: scale(1.1) translateY(-100%);
}
.container[data-open="1"] .curtain-left {
	transform: scale(1.1) translateX(-100%);
}
.container[data-open="1"] .curtain-right {
	transform: scale(1.1) translateX(100%);
}
.container[data-open="1"] .curtain-drape-left {
	transform: scale(1.1) translateX(-100%);
}
.container[data-open="1"] .curtain-drape-right {
	transform: scale(1.1) rotateY(-180deg) translateX(-100%);
}
.container[data-open="1"] .curtain-side-left {
	transform: scale(1.1) translateX(-100%);
}
.container[data-open="1"] .curtain-side-right {
	transform: scale(1.1) rotateY(-180deg) translateX(-100%);
}

/* Stage */
.stage {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	background-color: black;
	pointer-events: none;
}
.stage-dark {
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 50%;
	min-width: 700px;
	transform: translate(-50%, -50%);
	width: 100%;
}
.stage-light {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 100%;
	min-width: 700px;
	opacity: 0;
	transform: translate(-50%, -50%);
}
.stage[data-light="1"] .stage-light {
	opacity: 1;
	animation: stage-light-in 2s cubic-bezier(0.25, 1, 0.5, 1), stage-light-loop 4s 2s infinite alternate;
}
@keyframes stage-light-in {
	from {
		filter: brightness(200%) blur(10px);
		transform: translate(-50%, -50%) scale(1.05);
	}
	to {
		filter: brightness(100%) blur(0px);
		transform: translate(-50%, -50%) scale(1);
	}
}
@keyframes stage-light-loop {
	from {
		filter: brightness(100%) blur(0px) saturate(100%);
		opacity: 1;
	}
	to {
		filter: brightness(70%) blur(1px) saturate(70%);
		opacity: .8;
	}
}
.stage-fog {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: overlay;
	transform-origin: center bottom;
	display: none;
}
.stage[data-light="1"] .stage-fog {
	display: block;
}
.stage-fog1 {
	animation: stage-fog1-move 13s infinite linear;
}
.stage-fog2 {
	animation: stage-fog2-move 15s -2.5s infinite linear;
}
@keyframes stage-fog1-move {
	0% {
		transform: translateX(-50%) scale(2);
		opacity: 0;
	}
	25% {
		transform: translateX(-25%) scale(2);
		opacity: 1;
	}
	50% {
		opacity: 1;
		transform: translateX(0) scale(2);
	}
	75% {
		transform: translateX(25%) scale(2);
		opacity: 1;
	}
	100% {
		transform: translateX(50%) scale(2);
		opacity: 0;
	}
}
@keyframes stage-fog2-move {
	0% {
		transform: translateX(50%) scale(2);
		opacity: 0;
	}
	25% {
		transform: translateX(25%) scale(2);
		opacity: 1;
	}
	50% {
		opacity: 1;
		transform: translateX(0) scale(2);
	}
	75% {
		transform: translateX(-25%) scale(2);
		opacity: 1;
	}
	100% {
		transform: translateX(-50%) scale(2);
		opacity: 0;
	}
}

/* Script */
.script {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
	perspective: 100px;
}
.script-text {
	transform-style: preserve-3d;
	animation: script-text 5s infinite alternate ease-in-out;
}
.script-text p {
	text-align: center;
	color: white;
	font-size: 2vw;
	padding: 20vmin 10px 10px 10px;
	line-height: 1em;
	-webkit-text-stroke: .01em black;
	font-weight: bold;
	font-family: "Arial", sans-serif;
	animation: script-text-in 2s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes script-text {
	from {
		transform: translateY(.5em);
	}
	to {
		transform: translateY(-.5em);
	}
}
@keyframes script-text-in {
	from {
		filter: blur(2px);
	}
	to {
		filter: blur(0px);
	}
}
.script-shadow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform-style: preserve-3d;
	width: 100vw;
	transform: rotateX(15deg) translate(-50%, -50%) scale(-1);
	animation: script-shadow 5s infinite alternate ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}
.script-shadow p {
	text-align: center;
	color: black;
	font-size: 1.5vw;
	width: 100vw;
	line-height: 1em;
	-webkit-text-stroke: .01em black;
	font-weight: bold;
	font-family: "Arial", sans-serif;
	animation: script-text-in 2s cubic-bezier(0.22, 1, 0.36, 1);
	display: inline-block;
}
@keyframes script-shadow {
	from {
		transform: rotateX(10deg) translate(-50%, 12vw) scaleY(-1);
		filter: blur(.2em);
	}
	to {
		transform: rotateX(10deg) translate(-50%, 14vw) scaleY(-1);
		filter: blur(.4em);
	}
}
@media only screen and (max-width: 1200px) {
	@keyframes script-shadow {
		from {
			transform: rotateX(15deg) translate(-50%, 15vw) scaleY(-1);
			filter: blur(.2em);
		}
		to {
			transform: rotateX(15deg) translate(-50%, 17vw) scaleY(-1);
			filter: blur(.4em);
		}
	}
	.script-text p {
		font-size: 4vw;
	}
	.script-shadow p {
		font-size: 4vw;
	}
}
@media only screen and (max-width: 600px) {
	@keyframes script-shadow {
		from {
			transform: rotateX(15deg) translate(-50%, 25vw) scaleY(-1);
			filter: blur(.2em);
		}
		to {
			transform: rotateX(15deg) translate(-50%, 27vw) scaleY(-1);
			filter: blur(.4em);
		}
	}
	.script-text p {
		font-size: 6vw;
	}
	.script-shadow p {
		font-size: 6vw;
	}
}