@charset "utf-8";

:root
{
	--navcolor: white;
	--width: 1200px;
	--col: #333333;
	--colH: #971005;

	--textCol: #1a1a1a;
	--textColHover: #530b05;

	--mw-main: #B1C665;
	--mw-second: #A0C8EA;
	--mw-thert: #F2D385;
}

html, body
{
	margin: 0;
	font-family: 'Roboto', sans-serif;
	max-width: 100%;
    overflow-x: hidden;
	overflow-y: auto;
}
body
{
	background-color: white;
}

h1, h2, h3, h4
{
	color: var(--col); 
	margin-bottom: 0.4em;
}
h2
{
	margin-top: 0;
}
p
{
	color: var(--textCol); 
	line-height: 1.6;
	margin: 0;
	font-weight: normal;
	font-size: medium;
}
a
{
	color: var(--textCol); 
	text-decoration: none;
	transition: 0.2s;
}


.navbar-wrapper
{
	width: 100%;
	height: 70px;
	background-color: var(--navcolor);
	transition: 0.2s;
	z-index: 40;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
}
.navbar
{
	position: relative;
	width: var(--width);
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: 0.2s;
}
.navbar a
{
	font-size: 1.1em;
	font-weight: 500;
	margin: 0 5px;
	padding: 15px;
	transition: 0.2s;
}
.navbar a:hover,.navbar a:visited:hover
{
	color: var(textColHover); 
	text-decoration: underline;
}
.navbar a:visited
{
	color: var(--textCol); 
}
.navbar a.active
{
	font-weight: 700;
}
.navbar a img
{
	height: 60px;
}
#nav-menu-button
{
	display: none;
	color: var(--col); 
}

.body-wrapper
{
	position: relative;
	min-height: 100vh;
}
.page-wrapper
{
	padding-bottom: 15em;
}

.trailer-wrapper
{
	display: flex;
	height: calc(100vh - 70px);
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.trailer-wrapper video
{
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

.logo-wrapper
{
	position: absolute;
	height: 150px;
	top: 46vh;
	left: 50%;
	transform: translate(-50%, -50%);
}
.logo-wrapper h1
{
	font-family: 'Paytone One', sans-serif;
	font-weight: 100;
	color: white;
	font-size: 4rem;
	margin: 0;
	text-shadow: 1px 1px 5px rgb(0, 0, 0);
}
.logo-wrapper p
{
	color: white;
	font-size: 1rem;
	text-align: center;
	text-shadow: 1px 1px 5px rgb(0, 0, 0);
}

.logo-wrapper.treasured img
{
	width: 70rem;
	max-width: 90%;
}

section.game
{
	position: relative;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}
section.game img
{
	position: absolute;
	z-index: -1;
	height: 100%;
	object-fit: cover;
	transform: translateX(-50%);
	left: 50%;
}
section.game div
{
	display: flex;
	align-items: center;
	flex-direction: column;
}
section.game h1, section.game p
{
	color: white;
	text-align: center;
}
section.game h1
{
	font-size: 3rem;
	margin-top: 0;
	margin-bottom: 2rem;
}
section.game p
{
	margin-bottom: 3rem;
	width: 55%;
}
a.btn
{
	display: inline-flex;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	background-color: white;
	height: 3rem;
	border-radius: 1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	transition: 0.2s ease;
}
a.btn:hover
{
	transform: scale(1.1);
}
a.btn.margin
{
	margin-left: 0.6rem;
	margin-right: 0.6rem;
}

.header-wrapper
{
	position: relative;
	height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.header-wrapper img.bg
{
	position: absolute;
	z-index: -1;
	height: 100%;
	object-fit: cover;
	transform: translateX(-50%);
	left: 50%;
}
.header-wrapper img.logo
{
	position: absolute;
	z-index: 1;
	height: 40%;
	transform: translateX(-50%);
	left: 50%;
}

.content-wrapper
{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.video-wrapper-wrapper
{
	width: 1111px;
}
.video-wrapper
{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
}
.video-wrapper iframe
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.content-wrapper section
{
	display: flex;
	flex-direction: row;
	width: 1500px;
}
.content-wrapper > *
{
	margin-bottom: 3rem;
}
.content-wrapper > *:first-child
{
	margin-top: 3rem;
}

.content-wrapper section.mirror
{
	flex-direction: row-reverse;
	text-align: end;
}
.content-wrapper section img
{
	height: 36rem;
	border-radius: 2rem 0 0 2rem;
}
.content-wrapper section.mirror img
{
	border-radius: 0 2rem 2rem 0;
}
.content-wrapper section div
{
	width: 100%;
	padding: 1rem 3rem;
	background-color: #83A248;
	border-radius: 0 2rem 2rem 0;
}

.straw
{
	background-color: var(--mw-thert) !important;
}
.grass
{
	background-color: var(--mw-main) !important;
}
.night
{
	background-color: var(--mw-second) !important;
}

.content-wrapper section.mirror div
{
	border-radius: 2rem 0 0 2rem;
}
.content-wrapper h1, .content-wrapper p
{
	color: white;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.content-wrapper h1
{
	font-size: 2.5rem;
	margin-top: 2rem;
}
.content-wrapper section h1, .content-wrapper section p
{
	color: var(--col);
	text-shadow: none;
}

.content-wrapper iframe.steam
{
	width: 646px;
}

.footer-wrapper
{
	position: absolute;
	bottom: 0;
	width: calc(100% - 2rem);
	padding: 1rem;
	background-color: var(--navcolor);
}
.footer
{
	width: var(--width);
	height: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.footer a, .footer p
{
	margin: 1rem;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}
.footer p
{
	font-size: 1.6em;
}
.footer .list
{
	display: flex;
}
.list a img
{
	height: 2rem;
	transition: 0.2s ease;
}
.list a img:hover
{
	transform: scale(1.15);
}

body.miniworlds
{
	background-color: #e2e2e2;
}

@media only screen and (max-width: 1200px) 
{
	.navbar
	{
		width: 100%;
	}
	.top
	{
		height: 70vh;
	}
	.footer
	{
		width: 100%;
	}
	.video-wrapper-wrapper
	{
		width: 95%
	}
	.content-wrapper section
	{
		width: 95%;
	}
	.content-wrapper section img
	{
		height: auto;
		width: 60%;
	}
}

@media only screen and (max-width: 900px) {
	.navbar a img
	{
		height: calc(15vw);
		max-height: 60px;
	}
	#nav-menu-button
	{
		display: inline;
		transition: 0.4s ease;
	}
	#links
	{
		position: absolute;
		z-index: 2;
		top: 70px;
		width: 100%;
		height: auto;
		background-color: white;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 10px 0;
		transition: 0.4s ease;
		transform: translateX(100%);
		box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
		clip-path: inset(0px 0px -20px 0px);
	}
	#links a
	{
		margin: 6px;
		padding: 6px;
	}

	.logo-wrapper
	{
		width: 100%;
	}
	.logo-wrapper h1
	{
		font-size: 2.4rem;
		text-align: center;
	}
	section.game p
	{
		margin-bottom: 3rem;
		width: 90%;
	}

	.header-wrapper
	{
		height: 300px;
	}
	.header-wrapper img.logo
	{
		width: 100%;
		height: auto;
	}

	.content-wrapper section, .content-wrapper section.mirror
	{
		flex-direction: column;
		width: 100%;
	}
	.content-wrapper > *
	{
		margin-bottom: 0rem;
	}
	.content-wrapper > *:first-child, .content-wrapper > *:last-child
	{
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.content-wrapper section img
	{
		height: auto;
		width: 100%;
		border-radius: 0;
	}
	.content-wrapper section div, .content-wrapper section.mirror div
	{
		width: calc(100% - 2rem);
		padding: 1rem;
		text-align: center;
		border-radius: 0;
	}
	.content-wrapper section div h1
	{
		margin-top: 1rem;
	}
	.content-wrapper section div p
	{
		margin-bottom: 1rem;
	}
	.content-wrapper section:first-child
	{
		margin-top: 0;
	}
	.content-wrapper iframe.steam
	{
		width: 95%;
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.footer .list
	{
		flex-wrap: wrap;
		justify-content: center;
	}
}