body {
  background-image: url("http://dangtrongdai.com/ebook/images/bg.jpg")
}

header {
  text-align: center;
	color: #d5370d;
	text-shadow: 1px 1px 0px #105a08, 10px 9px 0px rgba(9, 9, 9, 0.25);
	background-color: #1c680933;
}

body, ul, table, form{
	margin:0;
	padding:0;
}

.bookshelf-row{
	display:none;
}

.bookshelf{
	transition:all 1s;
}

.bookshelf{
    display: flex;
    margin-top: 0vh;
    justify-content: center;
}

.bookshelf .shelf{
	width:852px;
	height:880px;
}

.bookshelf .shelf .row{
	position:relative;
	width:100%;
	height: 310px;
}

.bookshelf .shelf .row:after {
	background:url("http://dangtrongdai.com/ebook/images/case.png");
	background-size:100%;
	background-repeat: no-repeat;
	background-position:bottom left;
	width:100%;
	height: 425px;
	display:block;
	content:"";
}

.bookshelf .shelf .loc{
	position:absolute;
	bottom:0;
	width:100%;
}

.bookshelf .shelf .loc > div{
	width: 20%;
	height:100%;
	background-size: contain;
	float:left;
}

.bookshelf .sample,
.bookshelf-row .sample{
	margin:auto;
	position: relative;
	z-index:1;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
	transition:transform 0.1s;
	transform:translate(0, 0);
}

.sample:hover{
	z-index:2;
	cursor: pointer;;
	background-color:white;
	transform: scale3d(1.1, 1.1, 1) translate3d(0, -5px, 0);
}

.bookshelf .book1,
.bookshelf-row .book1{
	background-image:url("http://dangtrongdai.com/ebook/images/1.JPG");
    background-size: 166px 230px;
    width:166px;
	height:230px;
}

.bookshelf .book2,
.bookshelf-row .book2{
	background-image:url("http://dangtrongdai.com/ebook/images/2.JPG");
    background-size: 166px 230px;
    width:166px;
	height:230px;
}

.bookshelf .book3,
.bookshelf-row .book3{
	background-image:url("http://dangtrongdai.com/ebook/images/3.JPG");
	background-size: 166px 230px;
    width:166px;
	height:230px;
}
.bookshelf .book4,
.bookshelf-row .book4{
	background-image:url("http://dangtrongdai.com/ebook/images/4.JPG");
    background-size: 166px 230px;
    width:166px;
	height:230px;
}
.bookshelf .book5,
.bookshelf-row .book5{
	background-image:url("http://dangtrongdai.com/ebook/images/5.JPG");
    background-size: 166px 230px;
    width:166px;
	height:230px;
}
.bookshelf .book6,
.bookshelf-row .book6{
	background-image:url("http://dangtrongdai.com/ebook/images/6.JPG");
	background-size: 160px 230px;
	width: 160px;
	height:230px;
}
.bookshelf .book7,
.bookshelf-row .book7{
	background-image:url("http://dangtrongdai.com/ebook/images/7.JPG");
    background-size: 166px 230px;
    width:166px;
	height:230px;
}
.bookshelf .book8,
.bookshelf-row .book8{
	background-image:url("http://dangtrongdai.com/ebook/images/8.JPG");
    background-size: 160px 230px;
    width:160px;
	height:230px;
}
.bookshelf .book9,
.bookshelf-row .book9{
	background-image:url("http://dangtrongdai.com/ebook/images/9.JPG");
    background-size: 160px 230px;
    width:160px;
	height:230px;
}
.bookshelf .book10,
.bookshelf-row .book10{
	background-image:url("http://dangtrongdai.com/ebook/images/10.JPG");
    background-size: 160px 230px;
    width:160px;
	height:230px;
}