:root {
	--p1: #0F0F34;
	--p2: white;
}

* {
	box-sizing: border-box;
	overflow-x: hidden;

	background-size: cover;
	background-repeat: no-repeat;
}

body {
	position: relative;
	padding: 0px;
	margin: 0px;

	background-image: url("res/background.jpg");
	background-size: cover;
	background-position: center;
	color: var(--p2);

	width: 100%;
	height: 100%;
	max-height: 100vh;

	overflow-y: scroll;
	font-family: Merriweather;
}

body > .section {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 45%;
	margin-left: 1em;
	margin-top: 1em;
}

body > .section > .background {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: var(--p1);
	opacity: 0.6;
	z-index: -1;
	border-radius: 8px;
}

body > .section > * {
	padding: 0.5em;
}

body > .section > .thumbnail {
	position: absolute;
	right: 1em;
	top: 1em;

	width: 4em;
	height: 4em;
}

body > .section > p {
	margin: 1em;
}

body > .section > h2 {
	margin-left: 0.2em;
	padding: 0.2em;
}

body > .background {
	position: fixed;
	top: 0px;
	left: 0px;

	width: 100vw;
	height: 100vh;

	background-color: var(--p1);
	opacity: 0.6;
	z-index: -1;
}

body > pre.title {
	font-size: 0.9vmax;
	text-align: center;
}

body > pre.ver {
	font-size: 0.3vmax;
	text-align: center;
}

img {
	max-width: 100%;
	max-height: 100%;
}

.discord-iframe {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
