
.background-books {
    position: relative;
    padding: 20px;
    min-height: 300px;
    z-index: 1;
    background: none;
}

.background-books::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background_books.webp');
    background-repeat: repeat;
    background-size: auto;
    background-position: center top;
    opacity: 0.3;
    z-index: -1;
}

.background-books::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px; 
    background: linear-gradient(to bottom, transparent, #ffe8c5);
    z-index: 0;
}

.background-books + .background-books {
    margin-top: -150px;
}



.welcome {
    padding: 10vh 5vw;
    display: grid;
    justify-items: center;
    text-align: center;
}

.welcome h3 {
    font-size: 7rem;
    margin-bottom: 2vh;
    font-weight: 400;
}

.welcome p {
    width: 100%;
    max-width: 40em;
    margin: 0 auto;
    font-size: 2rem;
    padding-bottom: 30px;
}



.products {
    margin: 0;
    padding: 5vh 2vw;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.products .title {
    margin: 0;
    padding: 10px;
    font-size: 4rem;
}

.products-show {
    margin: 0;
    display: flex;
    flex-direction: row;
    padding: 20px 5vw;
    padding-bottom: 50px;
    gap: 30px;
    justify-content:center;
}



.faq {
    display: flex;
    width: 80%;
    margin: 0 auto;
    padding: 10vh 2vw;
}

.faq-heading {
    width: 40%;
    text-align: left;
    display: flex;
    align-self: flex-start;
    justify-content: center;
}

.faq-heading h2 {
    font-size: 4rem;
    margin: 0;
    line-break: auto;
}

.faq-questions {
    width: 60%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-left: 20px;
    align-items: start;
}

.faq-question-card {
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    transition: box-shadow 0.2s ease;
}

.faq-question-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.75rem;
}

.faq-question-card p {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

.faq-question-card:hover {
    background-color: rgb(255, 245, 220);
    box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}


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

    

    .welcome {
        padding: 20px 5px;
    }

    .welcome h3 {
        font-size: 4rem;
        font-weight: 500;
    }

    .welcome p {
        font-size: 1.5rem;
        font-weight: 400;
    }

    

    .products {
        gap: 20px;
    }

    .products .title {
        font-size: 3rem;
    }

    .products-show {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }


    
    .faq {
        flex-direction: column;
        width: 90%;
        align-items: center;
    }

    .faq-heading {
        width: 100%;
        text-align: center;
        padding-bottom: 20px;
        
    }

    .faq-heading h2 {
        font-size: 3rem;
    }

    .faq-questions {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 0;
    }

    .faq-questions h3 {
        font-size: 1.5rem;
    }

    .faq-question-card {
        padding: 15px;
        font-size: 0.9rem;
    }
}