@import url('../allPageSection/callToAction/cta2.css');

.eBookHubBanner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    height: calc(100dvh - 4rem);
}

.eBookHubBan-tag {
    background-color: var(--card-clr);
    padding: .25rem 1rem;
    border-radius: 1rem;
    color: var(--dark-clr);
    font-weight: 500;
    font-size: .95rem;
    border: 1px solid var(--dark-clr);
}

.eBookHubBan-Points {
    display: flex;
    flex-direction: column;
}

.eBookHubBan-Points svg{
    font-size: 1rem;
}

.eBookHubBan-Points p {
    margin-bottom: 0 !important;
}

.eBookHubBan-Points p:nth-of-type(1) {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-clr);
    text-transform: uppercase;
}

.eBookHubBan-Points p:nth-of-type(2) {
    font-size: .85rem;
    font-weight: 500;
    color: gray;
}

.eBook-scroll-margin-top{
    scroll-margin-top: 5rem
}

.eBookListCard {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2rem 2rem;
    background-color: var(--card-clr);
    border-radius: .75rem;
}

.eBookListCardh:hover {
    transition: .2s ease-in-out;
    transform: translateY(-3px);
    box-shadow: 0 22px 40px -22px rgba(0, 104, 199, .45)
}

.eBookLC-left {
    position: relative;
}

.eBookLC-left-img1,
.eBookLC-left-img2 {
    border-radius: 3px 8px 8px 3px;
    background: #F4F7FC center bottom / 100% auto no-repeat;
    box-shadow: 0 14px 24px -8px rgba(16, 48, 95, .45);
    overflow: hidden;
}

.eBookLC-left-img1 {
    transform: translateX(10%) rotate(7deg);
    opacity: .75;
}

.eBookLC-left-img2 {
    position: absolute;
    left: 0;
    top: 16px;
    transform: rotate(-6deg);
    opacity: 1;
    z-index: 1;
}

.eBookLC-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
    height: 100%;
}

.eBookLC-right h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 0.03em;
}

.eBookLC-btn {
    display: inline-block;
    background-color: var(--dark-clr);
    padding: .75rem 1.25rem;
    color: white;
    border-radius: 2rem;
    text-decoration: none;
}

.eBook-blur-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.24) ), rgba(248, 249, 252, 0.42);
    border: 1px solid var(--card-clr);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}

.eBook-blur-overlay span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.795);
    border: 1px solid var(--card-clr);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    color: white;
    font-size: .80rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 0 !important;
    text-transform: uppercase;
}


@media (max-width: 767px){
    .eBookHubBanner{
        height: auto;
        padding: 0 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1320px){
    .eBookHubBanner{
        padding: 0 2rem;
    }
}

@media (max-width: 1200px) {
    
    .eBookListCard {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}