body, html {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-family: 'Raleway', sans-serif;
	-webkit-font-smoothing: antialiased;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.visible-mobile {
	display: none;
}

.hidden-mobile {
	display: inline;
}

#page {
	width: 100%;
	max-width: 675px;
	margin: 0 auto;
	box-sizing: border-box;
}

.img-container {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
}

header {
	padding-top: 115px;
}

.logo-k {
	display: block;
	max-width: 100%;
	width: 270px;
	height: auto;
	margin: 0 auto 18px;
}

.book {
	position: fixed;
	width: auto;
	height: auto;
	max-width: 50vw;
	max-height: 60vh;
}

.book-cover {
	transform: rotate(30deg);
	transform-origin: top right;
	right: calc(50vw + (445px / 2));
	top: 10vh;
}

.book-inside {
	transform: rotate(-10deg);
	transform-origin: top left;
	left: calc(50vw + (445px / 2));
	top: 20vh;
}

/*=== OFFER PAGE ===*/
.container {
	width: 100%;
	max-width: 445px;
	margin: 0 auto;
	box-sizing: border-box;
}

h1 {
	font-size: 24px;
	font-weight: 200;
	line-height: 1.25;
	text-align: center;
	margin: 0 0 100px;
}

h2 {
	font-size: 14px;
	font-weight: 900;
	line-height: 2.14;
	letter-spacing: 2px;
	text-align: center;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.content {
	font-size: 18px;
	font-weight: 200;
	line-height: 1.67;
	text-align: center;
	padding-bottom: 80px;
}

.table-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	font-size: 11px;
	font-weight: 500;
	border-top: 1px solid #e3e3e3;
}

.price {
	font-size: 18px;
	font-weight: 200;
	letter-spacing: 0.2px;
}

.controls > input,
.controls > button {
	display: block;
	float: left;
	box-sizing: border-box;
	height: 42px;
	text-align: center;
	border: solid 1px #e3e3e3;
	padding: 0;
}

.controls {
	white-space: nowrap;
	font-size: 0;
	margin-right: -10px;
}

.controls > * + * {
	border-left: none !important;
}

.controls > button {
	width: 26px;
	padding-bottom: 5px;
	cursor: pointer;
	color: #e3e3e3;
	font-size: 26px;
	font-weight: 300;
	border-radius: 0;
	background-color: transparent;
}

.controls > input {
	width: 42px;
	line-height: 42px;
	font-size: 18px;
	font-weight: bold;
	color: #000;
}

.controls > input:focus {
	border-width: 1px;
}

.light {
	color: #4a4a4a;
}

.buy-button {
	display: block;
	box-sizing: border-box;
	text-align: center;
	width: 100%;
	padding: 20px 50px;
	margin: 45px 0 0;
	color: #000;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.09;
	letter-spacing: 2px;
	border: 1px solid #000;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s ease-out;
}

.buy-button:hover {
	padding: 18px 48px;
	border-width: 3px;
}

/*=== FORM PAGE ===*/

.formbox {
	width: 100%;
	margin-top: 80px;
	padding: 35px 35px 50px;
	background-color: #f9f9f9;
	box-sizing: border-box;
}


.field {
	position: relative;
	width: 100%;
	height: 35px;
}

.row {
	margin-top: 30px;
	margin-left: -25px;
	margin-right: -25px;
}

.row > * {
	float: left;
	padding: 0 25px;
	box-sizing: border-box;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

.w40 {
	width: 40%;
}

.w50 {
	width: 50%;
}

.w60 {
	width: 60%;
}

.w100 {
	width: 100%;
}

input {
	width: 100%;
	height: 1.5em;
	color: #4a4a4a;
	font-size: 14px;
	line-height: 1.5;
	background-color: transparent;
	padding-bottom: 2px;
	border: none;
	border-bottom: 1px solid #000;
}

input:focus {
	padding-bottom: 0;
	border-width: 3px;
	outline: none;
}

label {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 14px;
	font-weight: 500;
	transition: 0.3s ease;
	pointer-events: none;
}

input:focus + label,
.valid > label {
	display: table; /* to prevent word break */
	font-size: 11px;
	left: 100%;
	transform: translateX(-100%);
}

.submitbox {
	margin: 68px 0 0;
	width: 100%;
	text-align: center;
}

input[type=submit] {
	width: auto;
	height: auto;
	color: #000;
	padding: 20px 50px;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.09;
	letter-spacing: 2px;
	border-radius: 0;
	border: 1px solid #000;
	cursor: pointer;
	text-transform: uppercase;
	transition: 0.3s ease-out;
}

input[type=submit]:hover {
	padding: 18px 48px;
	border-width: 3px;
}

.success {
	font-size: 11px;
	font-weight: 900;
	line-height: 1.09;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* === FOOTER === */
footer {
	color: #fff;
	background-color: #de2618;
	padding: 50px 0;
	margin-top: 100px;
	text-align: center;
	box-sizing: border-box;
}

address {
	font-weight: 300;
	font-size: 18px;
	font-style: normal;
	margin-top: 30px;
}

.logo {
	width: 280px;
}

.seerow {
	display: inline-block;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	margin-top: 40px;
}

.seerow:hover, 
.seerow:active, 
.seerow:focus {
	color: #fff;
}

.loader {
	display: inline-block;
	height: 30px;
	width: 30px;
	background-image: url("img/konfetti.png");
	background-size: contain;
	background-repeat: no-repeat;
	animation: rotate 1s linear infinite;
}

.intro {
	width: 100vw;
	height: 100vh;
	position: fixed;
	background-color: white;
	background-image: url("img/background.png");
	background-position: center center;
	background-size: cover;
	z-index: 5;
	animation: fadeout 1s ease 3s forwards;
}

.intro .logo-k {
	width: 600px;
	max-width: 80%;
}

.logo-k-box {
	position: absolute;
	top: 50%;
	left: 50%;
	box-sizing: border-box;
	padding: 60px;
	background-color: white;
	transform: translate(-50%, -50%);
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes fadeout {
	0% {
		opacity: 1;	
	}

	99% {
		opacity: 0;
	}

	100% {
		visibility: hidden;
		pointer-events: none;
		display: none;
	}
}


/*=== MOBILE STYLES ===*/
@media (max-width: 768px) {

	.visible-mobile {
		display: inline;
	}

	.hidden-mobile {
		display: none;
	}

	#page,
	footer {
		width: 100%;
		padding-left: 25px;
		padding-right: 25px;
	}

	.book {
		display: none;
	}

	.row {
		margin-top: 0;
	}
	.w40,
	.w60 {
		margin-top: 30px;
	}

	.w50,
	.w100 {
		margin-top: 30px;
		width: 100%;
	}

	.footer {
		margin-top: 55px;
	}

	input[type=submit] {
		width: 100%;
	}

	.intro .logo-k {
		width: 600px;
		max-width: calc(100vw - 94px);
	}

	.logo-k-box {
		padding: 34px 22px;
	}
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */
	.buy-button {
		margin-bottom: 100px;
	}
}

.hp {
	position: fixed;
	left: 50000px;
}