* {
	box-sizing: border-box;
}

html {
	height: 100%;
}

body {
	background: #282828;
	color: #ffffff;
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	font-weight: 300;
	height: 100%;
	line-height: 1.4;
	margin: 0;
	padding: 0;
}


.bg {
	margin: auto;
	max-width: 675px;
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	height: 100%;
}


h1,
h2,
h3,
h4 {
	color: #fff;
	font-weight: 300;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.25em;
}

a {
	color: #fff;
	text-decoration: none;
}

a:hover,
a:active {
	text-decoration: underline;
}

li {
	margin-bottom: 0.5em;
}

.tel,
.postal-code {
	white-space: nowrap;
}

main {
	flex: 1 0 auto;
	width: 100%;
}

header {
	position: relative;
	flex: none;
	margin-top: 120px;
}

header:before {
	content: "";
	background: url("SDCorse.svg") no-repeat;
	width: 400px;
	height: 458px;
	display: block;
	position: relative;
	top: 0;
	left: 0;
	background-size: 300px;
}

header h1 {padding-top: 100px;}

footer {
	flex: none;
	padding-bottom: 70px;
	font-size: 12px;
	
}

footer .adr {
	margin-bottom: .25em;
}

@media (max-width: 992px) {
	.knife {
		padding: 0 70px;
	}
}

@media (max-width: 768px) {
	.knife {
		padding: 0 40px;
	}
	header {
		margin-top: 100px;
	}
}

@media (max-width: 568px) {
	.knife {
		padding: 0 25px;
		font-size: 15px;
	}
	header {
		margin-top: 25px;
	}
	.bg:after {
		top: -200px;
		left: -200px;
		height: 500px;
		width: 500px;
	}
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
	header:before {
		background: url("SDCorse.svg") no-repeat;
		background-size: 400px;
	}
}

header:before,
header h1,
main,
footer {
	opacity: 0;
}

header:before {
	animation: fadeInPrimary 800ms ease forwards;
}

header h1 {
	animation: fadeInPrimary 800ms ease 250ms forwards;
}

main,
footer {
	animation: fadeInPrimary 1600ms ease 400ms forwards;
}

@-webkit-keyframes fadeInPrimary {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeInPrimary {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


.page-404 main {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-404 h1 {
	font-size: 4rem;
}

