@font-face {
    font-family: body;
    font-weight: normal;
    src: url(/fonts/average/Average-Regular.ttf);
}

@font-face {
    font-family: header;
    font-weight: normal;
    src: url(/fonts/fjallaone/FjallaOne-Regular.ttf);
}

body {
	margin: 0;
	padding: 0;
	background-color: #eb4243;
	color: white;
	font-family: body;
	font-size: 12px;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}


body * {
	box-sizing: border-box;
}

h1 {
	font-size: 4em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
	margin-bottom: 0.5em;
}

h2 {
	font-size: 2.5em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
}

h3 {
	font-size: 2em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
}

h4 {
	font-size: 1.5em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
}

button {
	font-size: 2em;
	font-family: header;
	cursor: pointer;
}

p {
	font-size: 1.25em;
	line-height: 1.25;
}

a {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}

iframe {
	border: 0;
	width: 100%;
}

.underline {
	text-decoration: underline;
}

.border {
	background: transparent;
    border: 2px solid white;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    text-transform: uppercase;
}

.slides {
	width: 100%;
}

.slide {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate3d(-50%, -50%, 0); /* IE 9 */
    -webkit-transform: translate3d(-50%, -50%, 0); /* Chrome, Safari, Opera */
    transform: translate3d(-50%, -50%, 0);

	opacity: 0;
	width: 100%;
	max-width: 520px;
	text-align: center;
	padding: 1em;
	z-index: 0;
	pointer-events: none;
}

.slide--selected {
	top: 50%;
	opacity: 1;
	z-index: 100;
	pointer-events: auto;
}

.slide--1 p {
	margin-top: 4em;
}

.slide--5 h3 {
	margin-top: 0;
}

.slide--6 .martin-kender-ikke {
    margin: 0.5em 0;
}

.slide--6 h2 {
	font-size: 3.5em;
    margin: 0;
}

.slide--6 p {
	margin: 1em -0.4em;
}

.back-button {
	position: fixed;
	top: 0;
	left: 0;
	margin: 1em;
	font-size: 1.5em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
}

.martin {
	display: none;
	width: 100%;
	max-width: 520px;
}

.slide--selected .martin {
	display: inline;
}

.question {
	font-size: 2em;
	text-transform: uppercase;
	font-family: header;
	font-weight: normal;
}

.divider {
	margin: 0 1em;
}

.question a:hover {
	text-decoration: underline;
	cursor: pointer;
}

.progress {
	max-width: 300px;
	width: 100%;
	height: 30px;
	margin: 0 auto;
    margin-top: 2em;
    text-align: left;
    padding: 3px;
}

.progress__bar {
	width: 2em;
    height: 100%;
    background-color: white;
    display: inline-block;
    margin-right: 3px;
}

.progress__bar:first-child {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

.social-icons {
	display: inline-flex;
	align-items: center;
}

.social-icons > * {
	margin: 0 0.5em;
}

footer {
	font-size: 1em;
	font-family: header;
	font-weight: normal;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 100;
	padding: 0 1em 1em 1em;
	width: 100%;
	text-align: right;
}

@media screen and (min-width: 1290px) {
    p {
        font-size: 1.5em;
    }    
}

@media screen and (max-width: 1290px) {
    .slide--6 p {
        margin-bottom: 0.5em;
    }
}

@media screen and (max-width: 700px) {
    footer {
        text-align: center;
    }
}


@media screen and (max-width: 480px) {
	body {
		font-size: 8px;
	}

	iframe {
		width: 100%;
    	height: 200px;
	}

    .slide {
    	max-width: 350px;
    }
}


@media screen and (max-width: 320px) {
	body {
		font-size: 8px;
	}
}