/* ----- STYLES ----- */
html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	font-family: 'Fredoka One', sans-serif;
	font-weight: normal;
	font-size: 2rem;
	line-height: 1.5em;
	text-align: center;
	/*background-color: var(--col-henry);*/
}

p a { border-bottom: 0.2em solid currentColor; }
p a:hover { border-bottom: 0.5em solid currentColor; }

picture {
	display: flex;
	justify-content: center;
	overflow: hidden;
}
picture img {
	object-fit: contain;
}

section {
	position: relative;
	width: 100%;
	height: 95%;
	min-height: 10em;
	margin: 0 auto;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* ----- SPECIFICS ----- */
.links [class^="icon-"]:before {
	margin-right: 0.75ch;
	line-height: 1.5em;
	vertical-align: middle;
}
.links > * {
	display: block;
}
.links * > * + * {
	margin-left: 1em;
}

/* ----- HEADER ----- */
#header {
	background-color: var(--col-henry-bg);
	color: var(--col-henry-text);
}
#header > picture {
	width: 100%;
	height: 100%;

	display: flex;
	justify-content: center;
}

/* ----- FRAMES ----- */
#frames {
	background-color: var(--col-frames-bg);
	color: var(--col-frames-text);
}
#frames > * + * {
	margin-top: 1em;
}
#frames > #trailer {
	width: 88.88vmin;
	height: 50%;
}
@media (max-width: 1280px) { #frames #trailer { width: 90%; } }

/* ----- CTA ----- */

#cta {
	background-color: var(--col-cta-bg);
	color: var(--col-cta-text);
}
#cta > * + * {
	margin-top: 1em;
}
#cta > #steam {
	width: 50%;
	min-height: 190px;
}

#cta .stores a {       border-bottom: 0.2em solid currentColor; }
#cta .stores a:hover { border-bottom: 0.5em solid currentColor; }

#cta #socials {
	margin-top: 2em;
}

#cta .links {
	margin-left: 2em;
	margin-right: 2em;
}
#cta .links > * {
	display: unset;
}
#cta .links * + * {
	margin-left: 1em;
}

#newsletter
{
	background: white;
	border: 4px solid var(--col-cta-text);
	border-radius: 4px;
}
#mc_embed_signup {
	background:#fff;
	clear:left;
	font:14px Helvetica,Arial,sans-serif;
	width:600px;
}
@media (max-width: 1280px) { #cta #steam { width: 90%; } }
@media (max-width: 720px) {
	#cta {
		height: auto;
		padding-top: 1em;
		padding-bottom: 1.5em;
	}
	#mc_embed_signup { width: 42em; font-size: 2vw; }
}

/* ----- CONTACTS ----- */
#contacts {
	background-color: var(--col-contacts-bg);
	color: var(--col-contacts-text);
	height: auto;
	padding: 2em 0;
}

#contacts #newsletter {
	margin-top: 2em;
}

#contacts #supported-by {
	display: flex;
	flex-direction: column;

	/* 2em / 0.5 => 4em*/
	padding-top: 4em;
	font-size: 0.5em;
}
#contacts #supported-by ul {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	margin-top: 1em;
}
#contacts #supported-by ul * {
	height: 3em;
}
#contacts #supported-by ul > * + * {
	margin-left: 4em;
}
#contacts .links > * + * {
	margin-top: 0.5em;
}

#footer {
	font-size: 0.3em;
	line-height: 3em;
	background-color: var(--col-footer-bg);
	color: var(--col-footer-text);
}
#footer ul {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
#footer ul > * + * {
	margin-left: 2em;
}

@media (orientation: portrait)
{
	section {
		width: 100vmin;
		height: 100vmin;
	}
}

/* small screen adjustments */
@media (max-width: 720px) {
	body { font-size: 1.25rem; }
	#cta, #contacts { height: auto; min-height: 95vw; padding: 2em 0em; }
	#cta #trailer { height: 50vmin; }
}
@media (max-width: 320px) { body { font-size: 5vw; } }
/* large screen adjustments */
@media (min-width: 1920px) { body { font-size: 3rem; } }
@media (min-width: 2560px) { body { font-size: 4rem; } }
@media (min-width: 3200px) { body { font-size: 5rem; } }
