@font-face {
	font-family: "Marauder";
	src: url("Marauder[wght].woff2") format("woff2");
	font-style: normal;
}

@font-face {
	font-family: "Marauder";
	src: url("Marauder-Italic[wght].woff2") format("woff2");
	font-style: italic;
}

body {
	font-family: "Marauder", serif;
	background-color: #ebe4de;
	background-image: url("resources/bg.webp");
	background-size: 100%;
	padding: 0;
	margin: 0;
	overflow-x: hidden;
	font-synthesis: none !important;
}

#head {
	width: 100vw;
	height: 100vh;
	max-height: 70vw;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	mix-blend-mode: multiply;
	overflow: hidden;
}

#sky {
	background-image: url("resources/sky+sea.webp");
	width: 100vw;
	height: 100vh;
	max-height: 70vw;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
}

#lookout {
	background-image: url("resources/lookout.webp");
	width: 100vw;
	height: 100vh;
	max-height: 70vw;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
	position : absolute;
	top: 0;
}

h1 {
	font-weight: 600;
	font-size: min(12vw, 17.1vh);
	line-height: 3;
	text-align: center;
	color: #ebe4de;
	width: 100vw;
	height: 50vh;
	max-height: 35vw;
	margin: 0;
	padding: 0;
}

h1 span {
	color: #ba4b4d;
}

h2 {
	position: absolute;
	top: 0;
	text-align: center;
	width: 100vw;
	margin: 0;
	font-size: 25px;
	color: #afa59d;
	font-variation-settings: 'opsz' 6;
	margin-top: 5px;
}

h2 a {
	color: inherit;
	text-decoration: none;
}

h2 a:hover {
	color: #2c2f50;
}

h2 a:hover span{
	color: #ba4b4d;
}

#buy-button {
	background-image: url("resources/buy-button.webp");
	width: 100vw;
	height: 25vh;
	max-height: 17.5vw;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
	position : absolute;
	margin: 0;
	padding: 0;
}

#buy-button img {
	position: absolute;
	width: 100vw;
	height: 30px;
	object-fit: none;
	object-position: 100%;
}

#buy-button:hover {
	background-image: url("resources/buy-hover.webp");
}

#body {
	width: 100vw;
	position : absolute;
	background-image: url("resources/bg.webp");
	background-size: 100%;
}

#page {
	width: 1200px;
	max-width: 90vw;
	margin: auto;
	font-size: 30px;
	font-variation-settings: 'opsz' 10;
	color: #261a0d;
}

#page img {
	float: left;
	width: 600px;
}

#page p a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: from-font;
}

#page p a:hover {
	color: #792e2c;
	background-image: url("resources/red.webp");
	background-size: 100px;
	background-clip: text;
	-webkit-background-clip: text;
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
}

#page p.big::first-letter {
	font-size: 500%;
	padding: 6px 0 6px 0;
	margin: 0;
	margin-right: 6px;
	float: left;
	padding-top: 20px;
	font-variation-settings: 'opsz' 30;
	color: rgba(0,0,0,0);
	line-height: 0.5;
	background-image: url("resources/red.webp");
	background-size: 100px;
	background-clip: text;
	-webkit-background-clip: text;
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
}

#shy {
	font-size: 15px;
	font-variation-settings: 'opsz' 6;
	font-weight: 550;
	margin-bottom: 0;
	margin: 50px;
	text-align: center;
}

#loud {
	font-size: 60px;
	font-variation-settings: 'opsz' 20;
	margin-top: 10px;
	font-weight: 650;
	line-height: 1;
}

#loud span {
	font-weight: 900;
}

#snake {
	min-width: 100%;
	color: #261a0d;
	margin-bottom: 2em;
}

#page #box {
	float: right;
	width: 400px;
	shape-outside: polygon(80% 0, 0 50%, 0 80%, 30% 100%, 100% 100%, 100% 0);
}

#page #pirate {
	shape-outside: polygon(90% 0, 90% 16%, 74% 18%, 80% 60%, 100% 80%, 100% 90%, 70% 100%, 0 100%, 0 0);
	clip-path:
}

#page .letters {
	width: 100%;
	padding-bottom: 20px;
}

#page p.caption {
	font-style: italic;
	font-size: 20px;
	margin: 10px 70px;
	font-variation-settings: 'opsz' 6;
}

.tip {
	font-weight: 700;
	font-size: 30px;
	background-image: url("resources/red.webp");
	background-size: 100px;
	background-clip: text;
	-webkit-background-clip: text;
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	text-align: center;
}

#opsz {
	color: #4a4f71;
	font-size: 140px;
	text-align: center;
	font-variation-settings: 'opsz' 72;
}

#opsz div {
	width: 100%;
	float: left;
	margin: 0;
	line-height: 100px;
	padding: 30px 0;
}

#opsz div p{
	font-size: 20px;
	margin: 0;
	font-variation-settings: 'opsz' 6;
	padding: 0;
	line-height: 60px;
}

#wght {
	color: #4a4f71;
	font-size: 140px;
	text-align: center;
	font-variation-settings: 'opsz' 72;
	line-height: 0.85;
	margin-top: 0.5em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

#itlc {
	color: #4a4f71;
	font-size: 140px;
	text-align: center;
	font-variation-settings: 'opsz' 72;
	line-height: 0.85;
	margin-top: 0.5em;
	font-style: italic;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.slider {
	-webkit-appearance: none;
	width: calc(100% - 140px);
	height: 7px;
	background: #4a4f71;
	outline: none;
	margin: 0 70px;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	background: #4a4f71;
	cursor: pointer;
}

.slider::-moz-range-track {
	background-color: transparent;
}

.slider::-moz-range-thumb {
	appearance: none;
	width: 30px;
	height: 30px;
	border: solid;
	border-radius: 30px;
	background-color: #4a4f71;
	border-color: transparent;
	cursor: pointer;
}

#download {
	color: #4a4f71;
	background: inherit;
	outline: 3px solid #4a4f71;
	font-weight: 800;
	font-size: 50px;
	width: 450px;
	left: calc(50vw - 225px);
	text-align: center;
	position: absolute;
	border-radius: 60px;
	line-height: 1;
	padding-bottom: 10px;
	padding-top: 10px;
	text-decoration: none;
}

#download:hover {
	background-image: url("resources/red.webp");
	background-size: 100px;
	color: #ebe4de;
	outline: none;
}

#buybreak {
	height: 200px;
}

#page #read {
	float: right;
	width: 600px;
	position: absolute;
	bottom: 30px;
	right: calc(50vw - 600px);
}

#end {
	float: left;
	width: calc(100% - 600px);
	min-height: 637px;
	padding: 0;
	margin-top: -1em;
}

#ender {
	position: absolute;
	width: 100vw;
	bottom: 0;
	height: 50px;
	text-align: center;
	font-size: 20px;
	left: 0;
}

#ender a {
	text-decoration: none;
	color: inherit;
	opacity: 50%;
	font-variation-settings: 'opsz' 6;
}

@media only screen and (max-width: 900px) {
	#page img {
		float: none;
		width: 100%;
		max-height: 293px;
		object-fit: contain;
	}
	#page #box {
		float: right;
		width: 100%;
		max-height: 385px;
		shape-outside: none;
	}
	#page #pirate {
		float: right;
		width: 100%;
		max-height: 717px;
		shape-outside: none;
	}
}

@media only screen and (max-width: 1000px) {
	#end {
		float: left;
		width: 100%;
		min-height: 0;
		padding: 0;
		margin-top: -1em;
	}
	#page #read {
		float: left;
		width: 100%;
		position: relative;
		bottom: 30px;
		max-height: 617px;
		object-fit: contain;
		margin: 0;
		padding: 0;
		left: 0;
	}
}

@media only screen and (max-width: 1200px) and (min-width: 1000px) {
	#page #read {
		float: right;
		width: 600px;
		position: absolute;
		bottom: 30px;
		right: 5vw;
	}
}

::selection {
	background-color: #792e2c;
	color: #ebe4de;
}

@-moz-document url-prefix() {
	#page p.big::first-letter {
		padding: 0;
	}
}

@media (pointer:coarse) {
	#buy-button {
		background-image: url("resources/buy-hover.webp");
	}
}
