@import url('https://fonts.googleapis.com/css?family=Raleway:400,100,100italic,200,200italic,300,300italic,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic');

html {
	font-family: 'Raleway', sans-serif;
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
input,
main {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	border: 0;
	outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
img,
main {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

.clear {
	clear: both;
	line-height: 0;
	height: 0;
}

a {
	text-decoration: none;
	outline: none;
	color: #010101;
	transition-delay: 0s;
	transition-duration: 0.6s;
	transition-property: all;
	transition-timing-function: ease;
}

a:focus,
img:focus,
button:focus,
.btn:focus {
	outline: none;
}

body {
	background-color: #242b33;
}

header[role="header"] {
	background-color: #242b33;
	margin: 0 auto;
	width: 100%;
	min-height: 100vh;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.teaser {
	padding: 40px 0;
}

.teaser h2,
.teaser h4 {
	color: #FFF;
}

.teaser h2 {
	font-size: 48px;
	line-height: 50px;
	font-weight: 300;
	padding: 40px 0;
}

.teaser h4 {
	font-size: 24px;
	line-height: 20px;
	font-weight: 300;
	padding-top: 15px;
  	padding: 40px 0 20px;
}

.teaser a.button-header {
	display: inline-block;
	margin: 0 10px;
}

.teaser a.button-header img {
	width: 140px;
}

.draeneg-logo {
	margin: 0 auto;
	width: 150px;
}

.draeneg-dashboard {
	margin: 0 auto;
  	width: 400px;
}

div.error {
	padding: 40px;
	background-color: #242b33;
	color: #fff;
	min-height: 100vh;
}

.error h2 {
	margin-top: 20px;
}

.ribbon {
	--f: 8px; /* control the folded part*/
	--r: 8px; /* control the ribbon shape */
	--t: 5px; /* the top offset */
	
	position: absolute;
	inset: var(--t) calc(-1*var(--f)) auto auto;
	padding: 2px 10px calc(2px + var(--f)) calc(10px + var(--r));
	clip-path: polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
		calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
		var(--r) calc(50% - var(--f)/2));
	color: #fff;
	font-size: 14px;
	font-family: sans-serif;
	line-height: 1em;
	background: #27ae60;
	box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
}

@media (max-width: 480px) {
	.teaser h2 { font-size: 28px; line-height: 24px; }
	.teaser h4 { font-size: 14px; line-height: 16px; }
	.draeneg-logo {
		width: 100px;
	}
	.draeneg-dashboard {
		width: 240px;
	}
}

@media (max-width: 280px) {
	.teaser h2 { font-size: 20px; }
	.teaser h4 { font-size: 10px; }
	.draeneg-logo {
		width: 80px;
	}
	.draeneg-dashboard {
		width: 140px;
	}
}
