/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1em;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





/* --- CSS STYLES --- */
html {
	-webkit-font-smoothing: antialiased;
}
a {
	text-decoration: none;
}
.bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url(../images/bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	z-index: 1;
}
p {
	margin-bottom: 1em;
}
h1 {
	font-size: 1.8em;
	line-height: 1em;
	padding-top: 1em;
}
h1 span {
	color: #ebe7aa;
}
body {
	color: white;
	font-family: "proxima-nova-condensed", Arial;
	font-size: 1.1em;
	line-height: 1.2em;
	font-weight: 300;
}
.mainWrapper {
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
	padding-left: 25px;
	padding-right: 25px;
}
.mainHeader {
	margin-bottom: 5em;
}
#logo {
	float: left;
	margin-top: 25px;
	transition: all 0.3s ease-out; 
}
.intro {
	margin-left: 260px;
	padding-top: 50px;
	text-align: center;
	transition: all 0.3s ease-out; 
}
.paper {
	background: url(../images/paper.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;
	height: 522px;
	min-width: 760px;
	position: relative;
	margin-bottom: 60px;
	transition: all 0.3s ease-out; 
}
.book {
	position: relative;
	top: -45px;
	left: -25px;
	transition: all 0.3s ease-out; 
}
.bb {
	display: block;
	position: absolute;
	transition: all 0.3s ease-out; 
	left: 160px;
}
.buy {
	top: 45px;
	transition: all 0.3s ease-out; 
}
.look {
	top: 106px;
	transition: all 0.3s ease-out; 
}
.visit {
	top: 167px;
	transition: all 0.3s ease-out; 
}
.bb:hover {
	left: 170px;
}
.paperContent {
	width: 50%;
	float: right;
	margin-right: 3%;
	margin-top: 4.3%;
	color: black;
	transition: all 0.3s ease-out; 
}
.footer {
	background-color: rgba(59, 39, 15, .75);
	position: relative;
	z-index: 2;
	padding: 3%;
	text-align: center;
	color: #b8b7af;
}
.footer a {
	color: white;
}


.clear:after {
	content: "";
	display: block;
	height: 0px;
	clear: both;
}




/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 940px) {
	.paperContent {
	width: 43%;
	float: right;
	margin-right: 2%;
	margin-top: 5%;
	color: black;
	font-size: 0.8em;
	line-height: 1.24em;
	}
}

@media only screen 
and (min-width : 320px)
and (max-width : 760px) {

#logo {
	float: none;
	margin: 25px;
	display: block;
	text-align: center;
}
#logo img {
	width: 50%;
}

.intro {
margin-left: 0;
padding-top: 50px;
text-align: center;
}
.book img {
	max-width: 70%;
}
.buy {
	top: 245px;
}
.look {
	top: 306px;
}
.visit {
	top: 367px;
}
.bb {
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}
.bb:hover {
	left: 0;
}
.book {
	width: auto;
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}

.paper {
	background: url(../images/pattern.jpg) left top repeat;
	background-size: auto;
	height: auto;
	min-width: 0;
	position: relative;
	margin-bottom: 60px;
	border-radius: 20px;
	-webkit-border-radius: 20px;
}
	.paperContent {
	width: auto;
	float: none;
	margin-right: 2%;
	margin-top: 5%;
	color: black;
	font-size: 0.9em;
	line-height: 1.4em;
	padding: 450px 5% 5%;
	
	}

}

