* {
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1.4em;
	vertical-align: baseline;
	text-decoration: none;
	outline: 0;
	font-family: 'Playfair Display', serif;
}

main.main-wrapper {
	min-height: 100vh;
}

img {
	width: 100%;
}

.main-wrapper {
	background-image: url("assets/main-background.png");
	background-repeat: repeat;
	background-size: cover;
    display: block;
}

header {
	overflow: hidden;
}

header .gifts {
	position: relative;
	top: 0px;
	max-width: 1080px;
	margin: 0 auto;
	display: block;
	-webkit-transform: scale(1.8);
	        transform: scale(1.8)
}

header img.logo {
	position: absolute;
	left: 0;
	right: 0;
	top: 35px;
	margin-left: auto;
	margin-right: auto;
	max-width: 250px;
}

header .ornament {
	max-height: 24px;
	max-width: 200px;
	width: 100%;
	margin: 25px auto;
	display: block;
}

div.header-section h1 {
	margin: 0 auto;
	text-align: center;
	color: #ffffff;
	font-family: 'Playfair Display';
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.48px;
	margin-bottom: 65px;
}

div.header-section .headline-main {
	color: #ffffff;
	font-size: 64px;
	font-weight: 700;
	font-style: italic;
	display: block;
}

section.general-section {
	width: 65%;
	height: auto;
	background-color: #ffffff;
	position: relative;
	padding: 20px;
	box-sizing: border-box;
	margin: 85px auto;
	border-radius: 30px;
	color: #b6022f;
	margin-bottom: 25px;
	padding: 35px;
}

section.general-section:last-child {
	margin-bottom: 0px;
}

section.general-section:before {
	position: absolute;
	border: 5px dotted #1992da;
	border-radius: 30px;
	left: 10px;
	right: 10px;
	top: 10px;
	bottom: 10px;
	content: "";
	z-index: 0;
}

section.general-section:after {
	content: " ";
	position: absolute;
	top: -102px;
	height: 104px;
	width: 96.25%;
	background: url(assets/christmastree.png) no-repeat 50% 50%;
	z-index: 2;
}

.general-section {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

section.general-section:nth-child(2) {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.general-section a {
	max-width: 200px;
	max-height: 318px;
	margin: 0 auto !important;
	position: relative;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	-webkit-transition-property: -webkit-transform;
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property: transform, -webkit-transform;
}

.general-section a:hover {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

div.next-block {
	width: 0%;
}

p {
	color: #ffffff;
	text-align: center;
}

a.section-tile {
	max-width: 200px;
	max-height: 130px;
	width: 100%;
	padding: 5px;
}

footer {
	overflow: hidden;
	position: relative;
}

footer img {
	width: 75%;
	max-width: 450px;
	display: block;
	margin: 0 auto;
	position: relative;
	bottom: -10px;
}

@media screen and (max-width: 1366px) {
	section.general-section {
		width: 80%;
	}
}

@media screen and (max-width: 1068px) {
	div.next-block {
		width: 100%;
	}
}

@media screen and (max-width:768px) {
	header img.logo {
		top: 15px;
		max-width: 175px;
	}
}

@media screen and (max-width: 800px) {
	section.general-section:after {
		width: 80%;
		top: -99px;
	}
}

@media screen and (max-width: 605px) {
	section.general-section:after {
		content: " ";
		position: absolute;
		top: -96px;
		height: 105px;
		width: 85%;
		background: url(assets/christmastree.png) no-repeat 50% 50%;
		z-index: 2;
	}
	header img.logo {
		top: 10px;
		max-width: 175px;
	}
	header .gifts {
		-webkit-transform: scale(1.75);
		        transform: scale(1.75)
	}
	header .ornament {
		margin-top: 40px;
	}
	div.header-section .headline-main {
		font-size: 48px;
	}
}

@media screen and (max-width:360px) {
	div.header-section .headline-main {
		font-size: 36px;
	}
    section.general-section:after {
		width: 80%;
		top: -95px;
	}


}

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
	footer img {
		bottom: 0px;
		margin-top: 35px;
	}
}