@font-face {
	font-family: 'arrows';
	src: url('../fonts/arrows/arrows.eot');
	src: url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
		url('../fonts/arrows/arrows.woff') format('woff'),
		url('../fonts/arrows/arrows.ttf') format('truetype'),
		url('../fonts/arrows/arrows.svg#arrows') format('svg');
	font-weight: normal;
	font-style: normal;
}

.bb-custom-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.bb-custom-wrapper .bb-bookblock {
	width: 100vw;
	height: 100%;
	-webkit-perspective: 2000px;
	perspective: 2000px;
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	background: #000000;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.bb-custom-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
	background: #fff;
}

.bb-custom-firstpage {
	text-align: center;
	padding-top: 15%;
	width: 50%;
	float: left;
	height: 100%;
}

.bb-custom-side p {
	padding: 5%;
	font-weight: 300;
}

.bb-custom-wrapper>nav {
	width: 100%;
	height: 40px;
	margin: 1em auto 0;
	position: fixed;
	bottom: 20px;
	z-index: 1000;
	text-align: center;
}

.bb-custom-wrapper>nav a {
	display: inline-block;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 2px;
	background: #CE1531;
	color: #fff;
	font-size: 0;
	margin: 2px;
}

.bb-custom-wrapper>nav a:hover {
	opacity: 0.6;
}

.bb-custom-icon:before {
	font-family: 'arrows';
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 30px;
	line-height: 40px;
	display: block;
	-webkit-font-smoothing: antialiased;
}

.bb-custom-icon-first:before,
.bb-custom-icon-last:before {
	content: "\e002";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
	content: "\e003";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
	transform: scaleX(-1);
}

.text-white {
	color: white;
	text-align: center;
	line-height: 3.5rem;
	font-size: 2rem;
}

.image-container {
	height: 100%;
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-template-rows: 3fr 0.5fr;
	grid-template-areas:
		"font screw"
		".    logo";
}

.font {
	grid-area: font;
	align-self: center;
	text-align: center;
	font-weight: 300;
	font-size: 3.5rem;
	margin-left: 1rem;
	color: #CE1531;
}

.screw {
	grid-area: screw;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	justify-self: center;
	max-width: 85%;
}

.logo-ejofast {
	grid-area: logo;
	justify-self: end;
	align-self: center;
	margin-right: 2rem;
	margin-bottom: 2rem;
	width: 150px;
}

.ejot-link {
	align-self: center;
	color: #CE1531;
	font-size: 1.8rem;
}

.last-page {
	margin: 100px auto;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	height: 70%;
	width: 90%;
	-webkit-box-pack: space-between;
	-moz-box-pack: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.logo-lastpage {
	align-self: center;
	width: 150px;
}

@media only screen and (max-width: 800px) {
	.image-container {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr 1fr;
		grid-template-areas:
			"font"
			"screw"
			"logo";
	}

	.screw {
		max-width: 100%;
	}

	.logo-ejofast {
		justify-self: center;
		width: 150px;
		margin-right: 0;
	}

	img {
		max-width: 100%;
	}
}

/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 470px;
}

@media screen and (max-width: 61.75em) {
	.text-white {
		font-size: 1.5rem;
		line-height: 2.5rem;
	}
}

@media screen and (max-width: 33em) {
	.text-white {
		font-size: 1rem;
		line-height: 1.8rem;
	}
}