:root {
	--color-acc: #7DB163;
	--color-acc-hover: #7DB163;
	--wrap: 10%;
}

html, body{
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-size: 18px;
}

* {
	box-sizing: border-box;
}

/* Global */

a, a:visited {
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

h1 {
	margin: 0;
	font-family: 'Anke', 'Helvetica', 'Arial', sans-serif;
	font-size: 2.7rem;
	font-weight: normal;
}

h2 {
	margin: 0;
	font-family: 'Anke', 'Helvetica', 'Arial', sans-serif;
	font-size: 2rem;
	font-weight: normal;
}

.nav-container {
	background-color: rgba(255, 255, 255, 0.2);
	position: absolute;
	width: 100%;
	z-index: 1;
	display: flex;
}

nav {
	display: flex;
	margin-left: var(--wrap);
	font-family: 'Consolas', monospace;
	font-size: 1.2em;
	padding: 16px 0;
	color: white;
	align-items: center;
}

nav > a {
	opacity: 0.8;
}

nav > a:not(:last-of-type) {
	margin-right: 64px;
}

nav > a:hover {
	opacity: 1;
}

.social-media {
	display: flex;
	padding: 8px 0;
	margin-left: 0;
	margin-right: 10%;
}

.social-media a:not(:last-of-type) {
	margin-right: 16px;
}

.social-media a img {
	height: 1.4em;
}

/* Header */

header {
	width: 100%;
	height: 80vh;
	overflow: hidden;
	position: relative;
}

header .container {
	background-image: url('../res/background.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
	height: 100%;
}

.h-container {
	height: 100%;
	width: 100%;
	background-color: rgba(0, 20, 20, 0.5);
	display: flex;
}

.title {
	font-family: 'Anke', 'Helvetica', 'Arial', sans-serif;
	color: white;
	margin-left: var(--wrap);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.title h1 {
	font-size: 4.5em;
	line-height: 1em;
}

.title h2 {
	font-size: 1.6em;
	line-height: 1em;
	opacity: 0.6;
}

.actions {
	margin-top: 32px;
	display: flex;
}

.actions a:not(.offline) {
	display: block;
	margin-right: 8px;
	padding: 12px;
	min-width: 150px;
	text-align: center;
	font-size: 1.2em;
	color: black;
	background-color: #ffffff;
}

.actions a:not(.offline):hover {
	background-color: #eeeeee;
}

.actions a.offline {
	position: absolute;
	opacity: 0.6;
	margin-top: 4px;
	border-bottom: 1px dotted white;
}

.actions a.offline:hover {
	opacity: 1;
}

.a-buy {
	background-color: var(--color-acc) !important;
	color: white !important;
}

.a-buy:hover {
	background-color: var(--color-acc-hover) !important;
}

.a-buy-wrapper img {
	height: 16px;
	position: absolute;
	margin-top: 8px;
}

.trailer-wrapper {
	position: absolute;
	width: 40%;
	z-index: 2;
	bottom: 0;
	right: var(--wrap);
}


.trailer {
	position: relative;
	padding-bottom: 56.25%;
	border-top: 3px solid var(--color-acc);
}

.trailer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Content */

section > * {
	padding: 0 var(--wrap);
}

*[wrap] {
	padding: 0 var(--wrap);
}

.features {
	height: 100%;
	margin-top: 10vh;
	color: white;
}

.f-header {
	height: 25vh;
	padding-top: 1.2em;
	background-color: #ECEFF1;
	clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
	display: flex;
	align-items: center;
	color: black;
}

.features > div {
	height: 400px;
	display: flex;
	padding-right: 0;
}

.f-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.f-content p {
	max-width: 30em;
	line-height: 1.4;
}

.f-content a {
	padding: 0.5em 1em;
	min-width: 100px;
	border: 2px solid white;
	text-align: center;
	transition: all 200ms ease;
}

.f-content a:hover {
	background-color: rgba(255, 255, 255, 0.16);
}

.f-image {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	overflow: hidden;
	height: 100%;
	padding-left: 5%;
}

.f-image img {
	height: 100%;
}

.f-build {
	background-color: #77a55c;
	/*background-image: url('../res/features/build.svg');
	background-repeat: no-repeat;
	background-size: auto 150%;
	background-position: left;*/
}

.f-develop {
	background-color: #5F7A9B;
}

.f-manage {
	background-color: #DC6C82;
}

.f-mod {
	background-color: #7E5FA0;
}

.f-share {
	background-color: #000000;
	#7ECF70;
	#5F7A9B;
	#DC6C82;
	#EC9D70;
	#7E5FA0;
	#5ACBCF;
	#D8C259;
	#C72828;

	#77a55c;
}
