@font-face {
	font-family: 'Pacifico';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Pacifico Regular'), local('Pacifico-Regular'), url("../fonts/pacifico/pacifico.woff2") format('woff2');
}

body {
	background: url("../images/bg.jpg");
	background-repeat: repeat;
	margin-left:auto;
	margin-right:auto;
	width:998px;
}

h1, h1 a, h1 a:hover, h1 a:visited {
	font-family: 'Pacifico', cursive;
	font-size:72px;
	text-align: center;
	color:#ff0;
	text-shadow: 3px 3px maroon;
	text-decoration:none;
}

table {
	margin-top:100px;
}

table, th, td {
	border:none;
	border-collapse: collapse;
}

tr {
	width:998px;
}

td {
	height: 372px;
	width: 330px;
}

td:nth-of-type(3n+0) {
	background: url("../images/bookshelf_r.png") bottom/333px no-repeat;
}

td:nth-of-type(3n+1) {
	background: url("../images/bookshelf_l.png") bottom/333px no-repeat;
}

td:nth-of-type(3n+2) {
	background: url("../images/bookshelf_c.png") bottom/333px no-repeat;
}

.thumb, .nothumb {
	margin-top: -190px;
	padding-top:20px;
}

.thumb img, .nothumb img {
	padding-bottom:20px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	width: 220px;
	height:303px;
}

.nothumb {
	background: transparent center/240px no-repeat;
}

.thumb {
	background: url("../images/thumbbg.png") center/250px 336px no-repeat;
}

.thumb:hover {
	background-size:266px 357px;
}
.thumb:hover img {
	width: 240px;
	height:330px;
}

.footer {
	text-align:center;
}