@font-face {
	font-family: 'Neu5Land';
	src: url('/https://www.cassettebeasts.com/assets/neu5land_normal.ttf');
	font-weight: normal;
}
@font-face {
	font-family: 'Neu5Land';
	src: url('/https://www.cassettebeasts.com/assets/neu5land_bold.ttf');
	font-weight: bold;
}

html {
	scroll-behavior: smooth;
	overflow-y: scroll;
	overflow-x: hidden;
}

body {
	font-family: 'Neu5Land', 'Noto Sans','Helvetica Neue','Helvetica',sans-serif;
	background-image: url("/https://www.cassettebeasts.com/assets/background.webp");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #2b1c39;
	font-size: 16pt;
}

a:link, a:visited {
	color: #f85fd7;
	font-weight: bold;
	text-decoration: none;
	-webkit-text-stroke: 1px #000;
	font-weight: bold;
}
a:hover {
	color: #fff;
}

h1, h2, h3, h4 {
	font-weight: bold;
}
h1, h3 {
	color: #f85fd7;
}
h2, h4 {
	color: #54acff;
}


/* Zoom everything on bigger screens */
@media (min-width:2000px) and (max-width:2399px) { /* 2304 x 1440	Retina (Apple only) */
  .content {
    zoom: 1.25;
  }
}
@media (min-width:2400px) and (max-width:2599px) { /* 2k - 2560 x 1440 */
  .content {
  
  zoom: 1.5;
  }
}
@media (min-width:2600px) and (max-width:3299px) { /* 3K - 3200 x 1800 */
  .content {
    zoom: 1.75;
  }
}

@media (min-width:3300px) and (max-width: 4000px) { /* 4K - 3840 x 2160 */
  .content {
    zoom: 2;
  }
}

.parallax {
	--rot0: 2deg;
	--rot1: 5deg;
	--rot2: 10deg;
	perspective: 4000px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 800px;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	transition: perspective 0.5s;
}
.parallax:hover {
	perspective: 1000px;
}
.parallax .hover-me {
	width: 100%;
	height: 100%;
}
.parallax .hover-me:nth-child(1):hover ~ .layers {
	transform: rotate3d(1, -1, 0, var(--rot0));
}
.parallax .hover-me:nth-child(2):hover ~ .layers {
	transform: rotate3d(1, 0, 0, var(--rot0));
}
.parallax .hover-me:nth-child(3):hover ~ .layers {
	transform: rotate3d(1, 1, 0, var(--rot0));
}
.parallax .hover-me:nth-child(4):hover ~ .layers {
	transform: rotate3d(0, -1, 0, var(--rot1));
}
.parallax .hover-me:nth-child(5):hover ~ .layers {
	transform: rotate3d(0, 0, 0, var(--rot1));
}
.parallax .hover-me:nth-child(6):hover ~ .layers {
	transform: rotate3d(0, 1, 0, var(--rot1));
}
.parallax .hover-me:nth-child(7):hover ~ .layers {
	transform: rotate3d(-1, -1, 0, var(--rot2));
}
.parallax .hover-me:nth-child(8):hover ~ .layers {
	transform: rotate3d(-1, 0, 0, var(--rot2));
}
.parallax .hover-me:nth-child(9):hover ~ .layers {
	transform: rotate3d(-1, 1, 0, var(--rot2));
}
.parallax .layers {
	pointer-events: none;
	position: absolute;
	top: 50%;
	left: 50vw;
	width: 100vw;
	height: 100%;
	margin-top: min(-52.5vh, -400px);
	margin-left: -50vw;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transition: transform 0.5s;
}
.parallax .layers .layers-inner {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	transition: transform 0.5s;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
}
.parallax .layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: end;
	transition: transform 0.5s;
	backface-visibility: hidden;
}
.parallax .layer img {
	height: 100%;
}
.parallax .layer.logo img {
	height: 39%;
}

@media (orientation: portrait) {
	.parallax {
		max-height: 73.7vw;
	}
	.parallax .layers {
		margin-top: min(-38.69vw /* 73.7vw * -0.525 */, -400px);
	}
}

#reverse_logo {
	transform: rotate3d(0, 1, 0, 180deg) translate3d(0, -20px, 50px) scale(-1, 1);
	display: none;
}
#westerley {
	transform: rotate3d(0, 1, 0, 180deg) translate3d(0, 0, 0px);
}
#foreground-southpaw2 {
	transform: translate3d(0, 0, -80px);
}
#foreground-angel1 {
	transform: translate3d(0, 0, -80px);
}
#foreground-gunslinger1 {
	transform: translate3d(0, 0, -40px);
}
#foreground-griffin1 {
	transform: translate3d(0, 0, -50px);
}
#foreground-popsicle3 {
	transform: translate3d(0, 0, -20px);
}
#foreground-nell {
	transform: translate3d(0, 0, 0px);
}
#foreground-cheshire1 {
	transform: translate3d(0, 0, 40px);
}
#logo {
	transform: translate3d(0, -20px, 80px);
}

.footer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	min-height: 800px;
	box-sizing: border-box;
	padding-bottom: 1em;
	padding-left: 1em;
	display: flex;
	flex-direction: column;
	justify-content: end;
	align-items: start;
	pointer-events: none;
	transition: opacity 0.5s;
}
.footer p {
	margin: 0;
	padding: 0;
	margin-top: -0.5em;
	padding-left: 0.5em;
	font-size: 9pt;
	text-align: center;
}
.footer * {
	pointer-events: auto;
}
#recycling {
	position: absolute;
	right: 1em;
	bottom: 0.5em;
	margin: 0;
}


.footer a img {
	transition: scale 0.2s;
	scale: 90%;
}
.footer a:hover img {
	scale: 100%;
}

.menu {
	pointer-events: none;
	font-size: 30pt;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	min-height: 800px;
	max-width: 50%;
}
.menu * {
	pointer-events: auto;
}
@media (orientation: portrait) {
	.menu {
		max-height: 73.7vw;
	}
}
.menu ul {
	margin: 0.5em;
	text-align: right;
}
.menu li {
	list-style: none;
}
.menu li a {
	text-shadow: -5px 5px 2px #f85fd7;
}
.menu li a:link, a:visited {
	color: #54acff;
}
.menu ul.socials li {
	font-size: 21pt;
}


#overview {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}
body:has(#overview:target) .parallax .layers .layers-inner {
	transform: rotate3d(0, 1, 0, 180deg);
}
li:has(a#overview_link) {
	transition: transform 0.5s;
	width: fit-content;
	float: right;
}
li:has(a#overview_unlink) {
	transition: transform 0.5s;
	width: fit-content;
	float: right;
}
a#overview_unlink {
	color: #f85fd7;
	text-shadow: 5px 5px 2px #54acff;
}
body:has(#overview:target) li:has(a#overview_unlink) {
	transform: scale(-1, 1);
}
body:has(#overview:target) li:has(a#overview_link) {
	transform: scale(-1, 1);
}
body:not(:has(#overview:target)) li:has(a#overview_unlink) {
	transform: scale(1, 1);
}
body:not(:has(#overview:target)) li:has(a#overview_link) {
	transform: scale(1, 1);
}
body:has(#overview:target) a#overview_link {
	display: none;
}
body:not(:has(#overview:target)) a#overview_unlink {
	display: none;
}

body:has(#overview:target) .footer * {
	pointer-events: none;
}
body:has(#overview:target) .footer {
	opacity: 0;
}


.trailer {
	position: absolute;
	top: 0;
	left: 0;
	padding: 1em;
}
.trailer iframe {
	max-width: 40vw;
	max-height: 22.5vw;
}
@media (max-width: 1280px) {
	.trailer {
		display: none;
	}
	body:has(#overview:target) .trailer {
		display: block;
	}
}


.content {
	margin: 0;
	padding: 0;
	width: 720px;

	position: absolute;
	left: 50%;
	top: 60%;
	margin-left: -360px;

	opacity: 0;
	transition: opacity 0.5s;

	pointer-events: none;
	height: 0;
	overflow: hidden;
}
.content-box {
	background: #2b1c39;
	border-radius: 32px;
	box-shadow: -5px 5px #000;
	margin-bottom: 2em;
	overflow: hidden;
	color: #fff;
}

@media (max-width: 720px) {
	.content {
		width: 100%;
		left: 0;
		margin-left: 0;
	}
}
body:has(#overview:target) .content {
	pointer-events: auto;
	opacity: 1;
	height: auto;
	overflow: visible;
}
.content h1, .content h2, .content h3, .content .screenshot, .content .screenshot-grid {
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0;
}
.content h1, .content h2 {
	text-align: center;
	text-transform: uppercase;
}
.content h1 {
	font-size: 30pt;
}
.content h2 {
	font-size: 25pt;
}
.content p {
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0;
}
.content .screenshot-grid {
	display: grid;
	grid-template-columns: auto auto;
}
.content .screenshot, .content .screenshot-grid, .content .screenshot img, .content .screenshot-grid img {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: -5px;
	width: 100%;
}
.content h1, .content h2 {
	font-weight: 900;
	-webkit-text-stroke: 1px #000;
	text-shadow: 0 0 5px #000;
}

@media (orientation: landscape) {
	.portrait-only {
		display: none;
	}
}
@media (orientation: portrait) {
	.landscape-only {
		display: none;
	}
}

.copy-symbol {
	font-family: sans-serif;
	font-weight: bold;
}

ul.platform-icon-list {
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
}
ul.platform-icon-list li {
	display: inline-block;
	margin-right: 0.5em;
	margin-left: 0.5em;
}
ul.platform-icon-list img {
	width: 65px;
}
