html{
    width:100%;
    margin:0px;
    padding:0px;
}

body{
    width:100%;
    margin:0px;
    padding:0px;
    color:#000000;
    /* min-width:800px; */
    display:grid;
    align-content:center;
    align-items:center;
    justify-items:center;
    background-image:url('../client/background.jpg');
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    align-content:baseline;
}

body * { -webkit-tap-highlight-color: rgba(0,0,0,0); }
.links a:link,.links a:visited{color:black;text-decoration:none;font-size:20px; font-family: 'Roboto', sans-serif;}
.links a:hover{color:black;text-decoration:underline;}

.wrapper{
    width:100%;    
    height:90vh;
    
    display:grid;  
    grid-template-columns: auto;
}

.bookshelf{
    align-self: center;
}
#catalogs {
    display: grid;
    padding:0 100px;
    grid-template-columns: auto auto auto auto;
    grid-gap: 20px;  
    margin:40px 0;  
}

.catalog-item {
    padding: 20px;
    max-width:250px;
    background-color:white;
    box-shadow: 0 0 20px #aaa;
}

.bookshelf .thumb{
    display: inline-block;
    cursor: pointer; 
    margin: 0px 0.5%;     
    box-shadow:0px 1px 3px rgba(0,0,0,.3);
}
.bookshelf .thumb img{
    width:100%; 
    display:block; 
    vertical-align:top;
}
.bookshelf .shelf-img{
    z-index:0; 
    height: auto; 
    max-width: 100%; 
    vertical-align: top; 
    margin-top:-12px; 
}
.bookshelf .covers{
    width:100%; 
    height:auto; 
    z-index: 99; 
    position: relative;
    text-align:center;
}
.bookshelf{
    text-align: center;
    padding:0px;
}

#book-links {
    text-align: center;
    color: white;         
}

#book-links a{
    display:block;
    background-color:white;
    border:3px solid orange;
    color:gray;
    width:200px;
    padding:10px 30px;
    border-radius:50px;
    text-align:center;
    font-size:18px;
    font-family: 'Roboto', sans-serif;
    cursor:pointer;
}
#book-links a:hover{
    color:orange;
    text-decoration:none;
}

#book-links a i{
    float:left;
}
#book-links a:link, #book-links a:visited {text-decoration: none;}

footer{
	text-align:center;
	color:white;
	font-family: 'Roboto', sans-serif;
	line-height:40px;
	height:40px;
	background-color:orange;
    bottom:0;
    position:fixed;
    bottom:0;
    width:100%;
}

footer img{height:30px;margin-bottom:-10px;}
footer span{line-height:40px;}







@import url(https://fonts.googleapis.com/css?family=Raleway:400,200,300,800);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip0025 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 220px;
  width: 100%;
  background: #000000;
  text-align: left;
}
figure.snip0025 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
figure.snip0025 img {
  opacity: 1;
  width: 100%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}
figure.snip0025 > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
figure.snip0025 > div::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  background-image: linear-gradient(45deg, #000000 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.8));
}
figure.snip0025 h2 {
  word-spacing: -0.1em;
  font-weight: 400;
  text-transform: uppercase;
  top: 0;
  opacity: 0;
  padding: 25px;
  margin: 0;
  position: absolute;
  color: transparent;
  text-shadow: 0 0 10px #ffffff;
  text-align: right;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip0025 h2 span {
  font-weight: 800;
}
figure.snip0025 i {
  display: inline-block;
  font-size: 36px;
  color: #ffffff;
  padding: 6px 16px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  opacity: 0;
  z-index: 1;
  -webkit-transition: 0.05s linear;
  transition: 0.05s linear;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
figure.snip0025 .curl {
  width: 0px;
  height: 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(225deg, #ffffff, #f3f3f3 20%, #bbbbbb 38%, #aaaaaa 44%, #888888 50%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.3));
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all .4s ease;
}
figure.snip0025 .curl:before,
figure.snip0025 .curl:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 12%;
  bottom: 6%;
  width: 70%;
  max-width: 300px;
  max-height: 100px;
  height: 55%;
  box-shadow: 0 12px 15px rgba(0, 0, 0, 0.3);
  transform: skew(-10deg) rotate(-6deg);
}
figure.snip0025 .curl:after {
  left: auto;
  right: 6%;
  bottom: auto;
  top: 14%;
  transform: skew(-15deg) rotate(-84deg);
}
figure.snip0025 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  color: #ffffff;
}
figure.snip0025:hover > div h2,
figure.snip0025.hover > div h2 {
  opacity: 1;
  text-shadow: 0 0 0px #ffffff;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
figure.snip0025:hover > div::before,
figure.snip0025.hover > div::before {
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
figure.snip0025:hover i,
figure.snip0025.hover i {
  opacity: 0.7;
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
}
figure.snip0025:hover .curl,
figure.snip0025.hover .curl {
  width: 90px;
  height: 90px;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}