#parallax-container {
	display: none;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

#parallax-container.-is-in-use {
	display: block;
}

.big-picture {
	--big-picture-background-image: var(--background-image-small-1x);
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: relative;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: var(--big-picture-background-image);
}

.big-picture.-is-hidden {
	display: none;
	visibility: hidden;
}

.big-picture.-is-narrow {
	height: 60vh;
}

.big-picture:after {
	--big-picture-border-image: var(--border-image-small-1x);
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom center;
	background-image: var(--big-picture-border-image);
}

.big-picture.-is-narrow:after {
	/* bottom: -12vh; */
}

@media screen and (min-width: 428px) {
	.big-picture {
		--big-picture-background-image: var(--background-image-medium-1x);
	}
	.big-picture:after {
		--big-picture-border-image: var(--border-image-medium-1x);
	}
}

@media screen and (min-width: 1024px) {
	.big-picture {
		--big-picture-background-image: var(--background-image-large-1x);
	}
	.big-picture:after {
		--big-picture-border-image: var(--border-image-large-1x);
	}
}

@media screen and (min-width: 1920px) {
	.big-picture {
		--big-picture-background-image: var(--background-image-extra-large-1x);
	}
	.big-picture:after {
		--big-picture-border-image: var(--border-image-extra-large-1x);
	}
}

#parallax-container canvas {
	opacity: 0;
	transition: opacity 325ms;
}

#parallax-container.-is-loaded canvas {
	opacity: 1;
}

#parallaxGyroToggle {
	position: absolute;
	bottom: 1em;
	right: 1em;
	z-index: 50;
	padding: 1.5em;
	border-radius: 50%;
	box-shadow: 1px 1px 3px #333;
}

#parallaxGyroToggle:hover {
	color: initial;
}

#parallaxGyroToggle.-is-active::after {
	content: "";
	top: 0;
	left: 0;
	width: 34px;
	height: 2px;
	position: absolute;
	background-color: #000;
	transform: rotate(45deg) translate(35px, 12px);
}

@media screen and (min-width: 1024px) {
	#parallaxGyroToggle {
		display: none;
	}
}
