/* TITLE SECTION */
section#section-title {
    height: 50vh;
    background-color: rgb(0, 56, 52);
    display: flex;
    align-items: center;
    justify-content: center;
}

section#section-title>img {
    height: 100%;
}

/* ISBN SEARCH SECTION */
section#section-search {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

section#section-search>.bar {
    display: flex;
    align-items: center;
    justify-content: center;    
}

section#section-search>.bar>input {
    padding: .5rem;
    border-radius: .3rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: lightgray 1px solid;
    outline: none;
    background-color: #fff;
}

section#section-search>.bar>button {
    padding: .5rem;
    border-radius: .3rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: lightgray 1px solid;
    outline: none;
    background-color: lightgray;
}

section#section-search>.bar>button:hover {
    border: rgb(228, 228, 228) 1px solid;
    background-color: rgb(228, 228, 228);
}

/* BOOKS SECTION */
section#section-books {
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

section#section-books>#book-card {
    padding: 1rem;
    border-radius: .3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    gap: 1rem;
    color: black;
    text-decoration: none;
    transition: box-shadow 100ms ease-in-out, transform 100ms ease-in-out;
}

section#section-books>#book-card:hover {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transform: translateY(-0.5rem);
}

section#section-books>#book-card>img {
    max-height: 10vh;
}

@media (width <=800px) {
    section#section-books {
        justify-content: center;
    }
}