:root {
	/* colors */
	--text-light: #111;
	--text-dark: #fff;
	--bg-white: url("assets/background_white.jpg");
	--bg-black: url("assets/background_black.jpg");
	--bg-color-light: #f1f0ebd7;
	--bg-color-dark: #222120;

	/* fonts & typography */
	--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, serif;
	--h1-size: clamp(48px, 12vw, 128px);
	--h1-weight: 900;
	--display-font: "New York Black", "New York", Georgia, "Times New Roman", serif;


	/* rendering & transitions */
	--webkit-font-smoothing: antialiased;
	--moz-osx-font-smoothing: grayscale;
	--transition: color .2s ease, background-color .2s ease, background-image .2s ease;
	/* optional initial scroll in px (e.g. "120px"). JS will read this and scroll on load. */
	--initial-scroll: 0px;
}

html,
body {
	margin: 0;
	height: 100%;
}

/* content safe */
body.site-homepage {
	overflow: visible;
	min-height: 100%;
	display: grid;
	place-items: center;
}

.card::after {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

body {
	color: var(--text-light);
	background-color: var(--bg-color-light);
}

.card {
	width: 80svw;
	height: 80svh;
	background: var(--bg-color-light) var(--bg-white) center / cover repeat;
	border-radius: 24px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
	position: relative;
	z-index: 0;
	transform: rotate(-1.5deg);
	transform-origin: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2em;
	place-items: center;
}

.card::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	z-index: 0;
	pointer-events: none;
}

.homeLink {
	width: 60%;
}

.homeLink>#clutterTitle {
	width: 100%;
	height: auto;
}

#clutterTitle {
	width: 60%;
	height: auto;
}

#clutterTitle #Clutter {
	fill: var(--text-light);
	opacity: 0.6;

}

.nav-header {
	display: block;
	text-align: center;
	margin-top: 20px;
}

.nav-header #clutterTitle {
	width: 200px;
	height: auto;
}

.nav-footer {
	display: flex;
	gap: 1em;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	width: 100%;
	text-align: center;
}

a,
a:visited {
	color: var(--text-light);
	opacity: 0.8;
}

a:hover {
	opacity: 1;
}

main.content {
	padding: 20px;

}


.content {
	max-width: 800px;
	margin: auto;
	padding: 0 20px;
}

.about-page .content{
	max-width: 400px;
}
.about-page .contact{
	margin-top: 2em;
}

.howToFold {
	max-width: 800px;
	margin: auto;
	text-align: center;
}

.howToFold {
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.6;
	font-family: var(--display-font);
}

.howToFold img {
	max-width: 800px;
	width: 90svw;

	border-radius: 30px;
	border: 2px solid rgba(91, 91, 91, 0.512);

	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.stickers {
	position: absolute;
	right: 20px;
	bottom: 16px;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	align-items: flex-end;
	flex-wrap: wrap;
	width: 80%;
}

.app-icon {
	position: relative;
	overflow: hidden;
	width: 45px;
	height: 45px;
	border-radius: 24%;
	box-shadow: .3px .6px 3px rgba(0, 0, 0, 0.6);
	z-index: 2;
	rotate: 1.5deg;
	overflow: hidden;
}

.clutter-social {
	position: relative;
	overflow: hidden;
	width: 45px;
	height: 45px;
	border-radius: 24%;
	box-shadow: .3px .6px 3px rgba(0, 0, 0, 0.6);
	z-index: 2;
	rotate: -2.5deg;
	opacity: 1;
}

.clutter-social:hover {
	box-shadow: .3px .6px 3px rgba(0, 0, 0, 0.9);
}

.clutter-social img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.app-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


.app-store {
	rotate: -1.5deg;
	line-height: 0;
	box-shadow: .3px .6px 3px rgba(0, 0, 0, 0.6);
	border-radius: 8px;
}

.gameLink a {
	position: relative;
	display: flex;
	align-items: center;
	font-family: var(--display-font);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	background-color: rgba(255, 255, 255, 0.5);
	color: var(--text-light);
	padding: 12px 24px;
	border-radius: 10vw;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
}

.gameLink a:before {
	content: "";
	position: relative;
	background-image: url("assets/appIconLight.png");
	background-size: contain;
	background-repeat: no-repeat;
	inset: 0;
	width: 2em;
	height: 2em;

	display: inline-block;

	margin-right: 8px;
	border-radius: 22%;
	box-shadow: .3px .6px 3px rgba(0, 0, 0, 0.6);
}

.presetGame {
	opacity: 0.4;
	margin-bottom: .2em;
}

/* phone size */
@media (max-width: 600px) {

	.gameLink a {
		font-size: 3vw;
		max-width: 90%;
		padding: 8px 16px;
		margin: auto;
	}
}

@media (prefers-color-scheme: dark) {

	body {
		background-color: var(--bg-color-dark);
		color: var(--text-dark);
	}

	.card {
		background-image: var(--bg-black);
		background-color: var(--bg-color-dark);
	}

	#clutterTitle #Clutter {
		fill: var(--text-dark);
	}

	a,
	a:visited {
		color: var(--text-dark);
	}


	.clutter-social {
		opacity: .5
	}

	.clutter-social:hover {
		opacity: .6
	}
}