@import url('https://fonts.googleapis.com/css?family=Poppins:wgth@300;400;500;600;700;800;900&display=swap');

:root{
    --bg-color:  #FFFFFF;
    --second-bg-color:#FF00FF;
    --third-bg-color: #FFD700;
    --text-color : #444;
    --main-color : #FF00FF;
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.booksSection{
    position: relative;
    width: 100%;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    background: url(../others/reading.jpg) no-repeat;
    background-position: center;
    background-clip: cover;
    backdrop-filter: blur(50px);
    /* background: linear-gradient(60deg, #80ae90, #dfdc86); */
}

.booksSection .booksContainer{
    width: 100%;
    height: 100%;
    padding: 5px 5px;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.booksContainer .book{
    /* margin-left: 15px; */
    padding: 10px 10px 10px 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.booksContainer .book img{
    width: 100%;
    height: 100%;
    transition: 0.6s;
    border: 2px solid #444;
    border-radius: 5px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.booksContainer .book img:hover{
    transform: scale(1.2);
}

.booksContainer .book h3{
    font-size: 15px;
    font-weight: 400;
    margin-top: 5px;
    transition: 0.5s;
    color: ivory;
}

.booksContainer .book h3:hover{
    transform: scale(1.15);
}


@media (max-width: 1120px) {
    .booksSection {
        padding: 8rem 9% 2rem;
    }

    .booksSection  .booksContainer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .booksContainer .book {
        margin-left: 0;
        /* margin-bottom: 10px; */
    }

    .booksContainer .book a{
        justify-content: center;
        align-items: center;
    }
    .booksContainer .book a img {
        width: 40%;
        align-items: center;
    }

    .booksContainer .book h3 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .booksSection {
        padding: 5rem 9% 2rem;
    }

    .booksContainer .book h3 {
        font-size: 8px;
    }
}