﻿@charset "utf-8";
a {
    text-decoration: none;
}

.box {
    /*width: 300px;*/
    max-width: 300px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 25px;
}

.slide-img {
    height: 450px;
    position: relative;
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
    transition: all linear 0.7s;
}

.detail-book {
    /*width: 100%;*/
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    margin: 0 30px;
    /*padding: 10px 20px;*/
    box-sizing: border-box;
    font-family: calibri;
}

.detail-book-vedette {
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    font-family: calibri;
    height: 300px;
}

.theme-book {
    /*font-size: 13px;*/
    padding: 7px 0 0 0;
    border-bottom: 1px solid #dbdbdb;
    text-align: justify;
}

.theme-book a:hover {
        color: #bd2130;
        font-weight: 500;
    text-decoration: none;
}

.theme-book span {
    color: #bd2130;
    font-weight: 500;
}

.title-book-cs {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-align: justify;
}

.title-book-cs a,
.title-book-cs a span {
    color: #222222;
    margin: 5px 0px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    /*padding-right: 8px;*/
}

.title-book-cs span {
    color: rgba(26, 26, 26, 0.5);
}

.price-book-cs {
    color: #333333;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: poppins;
    letter-spacing: 0.5px;
    text-align: justify;
}

.outils-book-slide {
    text-align: center;
    /*text-align: justify;*/
}

a.read-book-slide {
    line-height: 47px;
    padding: 0 15.5px;
    border-right: 1px solid #e5e5e5;
}

.read-book-slide:first-child {
    border-right: none;
}

.read-more {
    color: #0056b3;
    /*color: #029910;*/
}

.add-heart {
    color: #d94e1c;
}

.add-cadie {
    /*color: #0056b3;*/
    color: #029910;
}

a.read-book-slide:hover {
    color: #5B5B5B;
}

.overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(92, 95, 236, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.buy-btn {
    width: 160px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    color: #252525;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: calibri;
    border-radius: 20px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
}

.buy-btn:hover {
    color: #FFFFFF;
    background-color: #f15fa3;
    transition: all ease 0.3s;
}

.overlay {
    visibility: hidden;
}

.slide-img:hover .overlay {
    visibility: visible;
    animation: fade 0.5s;
}


/*.slide-img:hover>img {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: perspective(1000px) rotateY(30deg) rotateZ(0deg);
    -moz-transform: perspective(1000px) rotateY(30deg) rotateZ(0deg);
    -ms-transform: perspective(1000px) rotateY(30deg) rotateZ(0deg);
    -o-transform: perspective(1000px) rotateY(30deg) rotateZ(0deg);
    transform: perspective(1000px) rotateY(30deg) rotateZ(0deg);
}
*/

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.portfolio-nouveaute {
    width: 100%;
    /*height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
}