.bookDetails{
 text-align: center;
 margin: 40px auto;
 width: 310px;
 padding: 10px 0px;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 border: 6px solid #e6b3e6;
 background-color: white;
 border-radius: 8px;
}

.bookDetails img{
 height: 330px;
 width: 290px;
 border-bottom: 1px solid green/*#e6b3e6*/;
}

.buttonInfo{
 font-size: 15px;
 background-color: #e6b3e6; 
 border-radius: 8px;
 color: green;
 padding: 18px;
 margin: 15px 0px;
 width: 50%;
 cursor: pointer;
 text-align: center;
 border: 2px solid green;
 outline: none;
 transition: 0.4s;
 -webkit-transition-duration: 0.4s; /* Safari */
}

.buttonInfoIE{
 font-size: 15px;
 background-color: #e6b3e6; 
 border-radius: 8px;
 color: green;
 padding: 18px;
 margin: 15px 0px;
 width: 50%;
 text-align: center;
 border: none;
 outline: none;
 transition: 0.4s;
 -webkit-transition-duration: 0.4s; /* Safari */
}

.active, .buttonInfo:hover{
 background-color: #1aff1a;  
 font-weight: bold;
 color: #993399;
}

.panel{
 text-align: center;
 padding: 0 18px;
 display: none;
 overflow: hidden;
 margin: 0px auto;
 width: 70%;
}

a{
 color: #993399;
 cursor: pointer;
 text-decoration: none;
}

a:hover{
 text-decoration: none;
 color: green;
}

h4 span{color: #993399;}
.panel p{font-size: 16px;}

@media screen and (max-width: 500px) {

 .bookDetails{width: 85%;}

 .bookDetails img{width: 85%;}

 .buttonInfo{width: 60%;}
}
