@charset "utf-8";
/* CSS Document */

.banner-wrapper {background: url("../images/banner/book-banner.jpg") no-repeat top center #1F4A75;}
/*----------------------------------    */
    
.box {
    background: #ccc;
    border-radius: 15px;
    height: 435px;
    margin-bottom: 30px;
    width: 100%;
    background: url("../images/book/b-bg.svg") no-repeat;
    background-size: cover;
    padding: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.4s ease-out;
    box-shadow: 0px 7px 10px rgba(252, 216, 183, 0.8);
    flex-direction: column;
}
.box img {  box-shadow:3px 0px 8px rgba(131, 73, 19, 0.5); margin: 0 auto; display: block; z-index: 2; 
    position: relative; }

.book-img{position: relative; width: 100%;}
.book-img img{height: 318px;}

.book-img::after{position: absolute; content: ''; width: 100%; height: 220px;
background: url("../images/book/book-bg.svg")no-repeat bottom center; bottom:-30px;
left:0; right: 0; margin-left: auto; margin-right: auto; z-index: 1;
}


.box:hover {
    transform: translateY(6px);
}
.box:hover:before {
    opacity: 1;
}
.box:hover .info {
    opacity: 1;
    transform: translateY(-300px);
}
.box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(212, 193, 221, 0.9);
    z-index: 3;
    transition: 0.5s;
    opacity: 0;
}

.box .info {
    position: relative;
    z-index: 4;
    opacity: 1;
    transform: translateY(60px);
    transition: 0.5s;
}
.box .info h3 {
    margin: 0px;
    font-size: 20px;
    font-weight: 600;
}
.box .info p {
    /* letter-spacing: 1px;
    font-size: 15px; */
    margin-top: 8px;
}

.option { margin: 20px 0;}
.option li, .social-i li{ list-style: none; display: inline-block; margin-right: 5px;}
.option li a{border-radius:5px; background: #a97aac; width: max-content; padding:4px 8px; color: #fff;}
.social-i li a{border-radius:50%; background: #a97aac; width:40px; height: 40px; display: flex;
     /* align-items: center; justify-content: center;  */
    }
.social-i li a img{width: 25px; box-shadow: none;}

/* @media screen and (min-width:580px) and (max-width:991px){.box{max-width: 460px; margin: 0 auto; }} */

@media only screen and (max-width:931px){.box{margin-bottom: 50px;}}
