/* fonts */
@font-face {
	font-family:'McQueenDisplay-Regular';
	src:url('../fonts/McQueenDisplay-Regular.woff2') format('woff2'),
		url('../fonts/McQueenDisplay-Regular.woff') format('woff'),
		url('../fonts/McQueenDisplay-Regular.ttf') format('truetype');
	font-weight:normal;
}
@font-face {
	font-family:'McQueenDisplay-Bold';
	src:url('../fonts/McQueenDisplay-Bold.woff2') format('woff2'),
		url('../fonts/McQueenDisplay-Bold.woff') format('woff'),
		url('../fonts/McQueenDisplay-Bold.ttf') format('truetype');
	font-weight:normal;
}
@font-face {
	font-family:'McQueenDisplay-Medium';
	src:url('../fonts/McQueenDisplay-Medium.woff2') format('woff2'),
		url('../fonts/McQueenDisplay-Medium.woff') format('woff'),
		url('../fonts/McQueenDisplay-Medium.ttf') format('truetype');
	font-weight:normal;
}
@font-face {
	font-family:'McQueenDisplay-Light';
	src:url('../fonts/McQueenDisplay-Light.woff2') format('woff2'),
		url('../fonts/McQueenDisplay-Light.woff') format('woff'),
		url('../fonts/McQueenDisplay-Light.ttf') format('truetype');
	font-weight:normal;
}


/* global styles */
:root {
	--font-regular: 'McQueenDisplay-Regular', Arial, sans-serif;
	--font-bold: 'McQueenDisplay-Bold', Arial, sans-serif;
	--font-medium: 'McQueenDisplay-Medium', Arial, sans-serif;
	--font-light: 'McQueenDisplay-Light', Arial, sans-serif;
	--white: #f5f0ea;
	--black: #0c0804;
	--gold: #e9c17d;
}
*,
*::before,
*:after {
	box-sizing: border-box;
}
html {
	width: 100%;
	height: 100%;
	font-family: var(--font-regular);
	font-size: 16px;
	line-height: 1.3em;
	color: var(--white);
}
body {
	width: 100%;
	height: 100%;
	margin: 0;
	background: #000000 url(../images/background.png) no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
body.video-selected {
	height: auto;
	background-image: none;
}
h1 {
	margin: 0 0 0.45em 0;
	font-size: 35px;
	line-height: 1em;
	font-weight: normal;
	letter-spacing: -0.02em;
	color: var(--gold);
}
h3 {
	margin: 0 0 48px 0;
	font-size: 35px;
	line-height: 1.2em;
	font-weight: normal;
}
h4 {
	margin: 0 0 24px 0;
	font-size: 35px;
	line-height: 1.2em;
	font-weight: normal;
	color: var(--black);
}
h5 {
	margin: 0 0 24px 0;
	font-family: var(--font-bold);
	font-size: 18px;
	line-height: 1.3em;
	font-weight: normal;
}
h6 {
	margin: 0;
	font-size: 16px;
	line-height: 1.3em;
	font-weight: normal;
	text-shadow: 0 0 20px #000000;
}
p {
	margin: 0 0 1.5em 0;
}
a {
	color: inherit;
	text-decoration: none;
}
.bold {
	font-family: var(--font-bold);
}
.medium {
	font-family: var(--font-medium);
}
.light {
	font-family: var(--font-light);
}
.regular {
	font-family: var(--font-regular);
}
.nowrap {
	white-space: nowrap;
}
img {
	max-width: 100%;
	height: auto;
}
video {
	max-width: 100%;
	height: auto;
	max-height: 100vh;
	margin: 0 auto;
}
.wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}
body.video-selected .wrapper {
	height: auto;
}


/* header */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 48px 64px;
}
.header-logo {
	display: block;
	width: 290px;
	max-width: 100%;
	margin-right: 20px;
}
.header-logo img {
	display: block;
}


/* main content */
main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: calc(100% - 317px);
}
body.video-selected main {
	display: block;
	height: auto;
}
main section {
	display: none;
	padding: 0 64px;
}
main section.show {
	display: block;
}
main section.home {
	max-width: 545px;
	margin-left: 56px;
	text-align: center;
}
main section.result {
	padding: 0;
	text-align: center;
}
.headline-img {
	width: 350px;
	margin-bottom: 40px;
}
main p.result-headline {
	margin-bottom: 1.3em;
	font-size: 35px;
	line-height: 1.3em;
}
.final-reset-video {
	max-width: 500px;
	max-height: 100vh;
	margin: 0 auto 30px;
}
.button-row {
	display: flex;
}
.button-row button:not(:last-child) {
	margin-right: 24px;
}
button {
	width: 164px;
	height: 44px;
	background: none;
	border: 2px solid rgba(233, 193, 125, 0.50);
	border-radius: 30px;
	cursor: pointer;
	font-family: var(--font-regular);
	font-size: 20px;
	line-height: 1.3em;
	color: var(--white);
	transition: opacity 0.1s linear;
}
button.inactive {
	opacity: 0.5;
	cursor: default;
}
button.share-btn {
	width: unset;
	padding: 0 30px;
	border-color: #000000;
	font-family: var(--font-medium);
	color: #000000;
}
button.restart-btn {
	margin-bottom: 30px;
}
.radio-buttons {
	margin-bottom: 48px;
}
.radio-buttons .row:not(:last-child) {
	margin-bottom: 24px;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
	display: inline-block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
	display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(233, 193, 125, 0.50);
    border-radius: 100%;
    background: none;
	transform: translateY(-50%);
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
	display: block;
	position: absolute;
	top: 50%;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #f5f0ea;
    border-radius: 100%;
	transform: translateY(-50%);
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
}
[type="radio"]:checked + label:after {
    opacity: 1;
}
.result video {
	display: none;
}
.result video.show {
	display: block;
}
.callout {
	padding: 80px 5%;
	background: var(--gold);
	color: var(--black);
}
.callout-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
}
.callout .social-btn {
	margin: 0 8px;
}
.callout .plus-icon {
	display: inline-block;
	vertical-align: 5px;
	width: 12px;
	margin: 0 5px;
}


/* footer */
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 40px 64px;
	font-size: 16px;
	line-height: 1.3em;
	color: var(--gold);
}
body.video-selected footer {
	position: relative;
}
footer .row {
	display: flex;
	align-items: center;
}
footer .row:last-child {
	margin-bottom: 0;
}
footer p {
	margin-bottom: 0;
}
.footer-icons {
	display: flex;
	margin-right: 20px;
}
.copyright {
	font-family: 'Inter', Arial, sans-serif;
}
.social-icon {
	flex-shrink: 0;
	width: 24px;
	margin-right: 15px;
}
.social-icon:last-child {
	margin-right: 0;
}
.social-icon img {
	display: block;
}
.footer-link {
	margin-right: 15px;
	color: var(--white);
}
.footer-link:last-child {
	margin-right: 0;
}
.footer-link a {
	text-shadow: 0 0 20px #000000;
}


@media screen and (max-width: 1200px){
	html {
		font-size: 14px;
		line-height: 1.3em;
	}
	main {
		height: calc(100% - 276px);
	}
	main section.home {
		max-width: 430px;
		margin-left: 25px;
	}
	.headline-img {
		width: 245px;
		margin-bottom: 20px;
	}
}


@media screen and (max-width: 1000px){
	.wrapper {
		background: rgba(0,0,0,0.8);
	}
	header {
		display: block;
		padding: 40px 5%;
	}
	.header-logo {
		margin-right: 0;
		margin-bottom: 20px;
	}
	main {
		height: calc(100% - 342px);
	}
	main section {
		padding: 0 5%;
	}
	main section.home {
		margin-left: 0;
	}
	.callout {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.callout-buttons {
		display: block;
	}
	.callout .social-btn {
		display: block;
		width: 275px;
		margin: 0 auto 20px;
	}
	.callout .social-btn:last-child {
		margin-bottom: 0;
	}
	button.share-btn {
		width: 275px;
		padding: 0;
	}
	footer {
		display: block;
		padding: 30px 5%;
	}
	footer .row {
		margin-bottom: 20px;
	}
}


@media screen and (max-width: 800px){
	main section.home {
		margin: 0 auto;
	}
	main section.home {
		max-width: 530px;
	}
}


@media screen and (max-width: 700px){
	h1 {
		font-size: 24px;
		line-height: 1em;
	}
	h3 {
		margin-bottom: 36px;
		font-size: 30px;
		line-height: 1.2em;
		text-align: center;
	}
	h5 {
		margin-bottom: 16px;
		text-align: center;
	}
	header {
		text-align: center;
	}
	.header-logo {
		margin: 0 auto 20px;
	}
	.radio-buttons {
		margin-left: 18%;
	}
	.button-row {
		flex-direction: column-reverse;
		align-items: center;
	}
	.button-row button:not(:last-child) {
		margin-right: 0;
	}
	.button-row button:not(:first-child) {
		margin-bottom: 24px;
	}
	footer {
		text-align: center;
	}
	footer .row {
		display: block;
	}
	.footer-icons {
		justify-content: center;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.footer-link {
		margin-right: 0;
		margin-bottom: 20px;
	}
	.footer-link:last-child {
		margin-bottom: 0;
	}
}

@media screen and (max-height: 900px){
	.headline-img {
		width: 245px;
		margin-bottom: 20px;
	}
}


@media screen and (max-height: 700px){
	html,
	body,
	.wrapper {
		height: auto;
	}
	main {
		display: block;
		height: 420px;
		margin-bottom: 40px;
	}
	footer {
		position: relative;
	}
}