
/* List */
.book-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
}

.book-item {
    background-color: #f9f9f9;
    border-radius: 5px;
    margin: 10px;
    padding: 15px;
    width: calc(33% - 10px);
    box-shadow: none;
    transition: transform 0.3s ease;
    border: solid 1px #f2f2f2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.book-item:hover {
    transform: scale(1.05);
}

.book-thumbnail {
    max-width: 100%;
    height: auto;
}

.book-title {
    font-size: 1.5em;
    color: #333;
}

.book-genre,
.book-author,
.book-date {
    font-size: 1em;
    color: #666;
}

@media (max-width: 768px) {
    .book-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .book-item {
        width: 100%;
    }
}


/* Detail */

.book-detail {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.book-detail h1 {
    font-size: 2em;
    color: #333;
}

.book-thumbnail {
    max-width: 100%;
    height: auto;
}

.book-content {
    margin-top: 20px;
}


/* form */

.book-search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-input,
.search-select {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.search-button {
    padding: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #005177;
}