.content_book {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    padding: 1rem 0;
    max-width: 1024px;
    margin: 0 auto;
    font-family: 'Rubik', sans-serif;
    grid-template-columns: repeat(1, 1fr);
}

canvas.book {
    padding: 0px;
    object-fit: cover;
    width: 100%;
}

.book {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: end;
    align-items: flex-end;
    overflow: hidden;
    padding: 1rem;
    width: calc(100% - 2rem);
    height: 300px;
    height: 200px;
    text-align: center;
    color: whitesmoke;
    background-color: whitesmoke;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}

.book:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 0 0;
    background-image: var(--bookimg);
    -webkit-transition: -webkit-transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1);
    transition: -webkit-transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform calc(700ms * 1.5) cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}


/*
.book:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(11.7%, rgba(0, 0, 0, 0.009)), color-stop(22.1%, rgba(0, 0, 0, 0.034)), color-stop(31.2%, rgba(0, 0, 0, 0.072)), color-stop(39.4%, rgba(0, 0, 0, 0.123)), color-stop(46.6%, rgba(0, 0, 0, 0.182)), color-stop(53.1%, rgba(0, 0, 0, 0.249)), color-stop(58.9%, rgba(0, 0, 0, 0.32)), color-stop(64.3%, rgba(0, 0, 0, 0.394)), color-stop(69.3%, rgba(0, 0, 0, 0.468)), color-stop(74.1%, rgba(0, 0, 0, 0.54)), color-stop(78.8%, rgba(0, 0, 0, 0.607)), color-stop(83.6%, rgba(0, 0, 0, 0.668)), color-stop(88.7%, rgba(0, 0, 0, 0.721)), color-stop(94.1%, rgba(0, 0, 0, 0.762)), to(rgba(0, 0, 0, 0.79)));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
    transition: -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
}*/

.capa,
.booktxt {
    position: relative;
    display: -webkit-box;
    display: flex;
    text-shadow: 1px 1px 8px black;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    -webkit-transition: -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.capa>*+* {
    margin-top: 1rem;
}

.booktxt {
    z-index: 1;
    font-size: 1rem;
    line-height: 30px;
}

.book_tit {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
}

.book_tit.or_cnt {
    margin-bottom: 25px;
}

.book_txt {
    font-family: 'booko', serif;
    font-size: 1.125rem;
    font-style: italic;
    white-space: break-spaces !important;
    line-height: 1.35;
}

.book_btn {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: white;
    background-color: #ff4500;
    border: none;
}

.albcontent.img {
    position: relative;
}

.book_btn:hover {
    background-color: #1c1d27;
}

.book_btn:focus {
    outline: 1px dashed orangered;
    outline-offset: 3px;
}

.caixaselect {
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 15px;
    display: flex;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}

@media (min-width: 400px) {
    .content_book {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 600px) {
    .content_book {
        grid-template-columns: repeat(3, 1fr);
    }
    .book {
        height: 350px;
        height: 250px;
    }
}

@media (min-width: 800px) {
    .content_book {
        /* grid-template-columns: repeat(3, 1fr); */
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 980px) {
    .book:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200%;
        pointer-events: none;
        background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(11.7%, rgba(0, 0, 0, 0.009)), color-stop(22.1%, rgba(0, 0, 0, 0.034)), color-stop(31.2%, rgba(0, 0, 0, 0.072)), color-stop(39.4%, rgba(0, 0, 0, 0.123)), color-stop(46.6%, rgba(0, 0, 0, 0.182)), color-stop(53.1%, rgba(0, 0, 0, 0.249)), color-stop(58.9%, rgba(0, 0, 0, 0.32)), color-stop(64.3%, rgba(0, 0, 0, 0.394)), color-stop(69.3%, rgba(0, 0, 0, 0.468)), color-stop(74.1%, rgba(0, 0, 0, 0.54)), color-stop(78.8%, rgba(0, 0, 0, 0.607)), color-stop(83.6%, rgba(0, 0, 0, 0.668)), color-stop(88.7%, rgba(0, 0, 0, 0.721)), color-stop(94.1%, rgba(0, 0, 0, 0.762)), to(rgba(0, 0, 0, 0.79)));
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
        transition: -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
        transition: transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
        transition: transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform calc(700ms * 2) cubic-bezier(0.19, 1, 0.22, 1);
    }
}
@media (min-width: 1200px) {
    .content_book.pastas {
        max-width: 100%;
    }
}
@media (hover: hover) and (min-width: 600px) {
    .book:after {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    .capa {
        -webkit-transform: translateY(calc(100% - 4.5rem));
        transform: translateY(calc(100% - 4.5rem));
    }
    .capa>*:not(.book_tit) {
        opacity: 0;
        -webkit-transform: translateY(1rem);
        transform: translateY(1rem);
        -webkit-transition: opacity 700ms cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
        transition: opacity 700ms cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
        transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1), opacity 700ms cubic-bezier(0.19, 1, 0.22, 1);
        transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1), opacity 700ms cubic-bezier(0.19, 1, 0.22, 1), -webkit-transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
    }
    .book:hover,
    .book:focus-within {
        -webkit-box-align: center;
        align-items: center;
    }
    .book:hover:before,
    .book:focus-within:before {
        -webkit-transform: translateY(-4%);
        transform: translateY(-4%);
    }
    .book:hover:after,
    .book:focus-within:after {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .book:hover .capa,
    .book:focus-within .capa {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    .book:hover .capa>*:not(.book_tit),
    .book:focus-within .capa>*:not(.book_tit) {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition-delay: calc(700ms / 8);
        transition-delay: calc(700ms / 8);
    }
    .book:focus-within:before,
    .book:focus-within:after,
    .book:focus-within .capa,
    .book:focus-within .capa>*:not(.book_tit) {
        -webkit-transition-duration: 0s;
        transition-duration: 0s;
    }
}