content {
    width: 1200px;
}

.section-title {
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 31px;
    font-weight: bold;
    color: var(--text);
    text-align: left;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.book {
    display: flex;
    background-color: var(--backgroundmain);
    border: 1px solid var(--decorbor);
    border-radius: 10px;
    box-shadow: 0 2px 4px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

.book:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px var(--shadow);
}

.bookcardimage {
    flex: 0 0 120px;
}

.bookcardimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.bookcarddata {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    text-align: left;
}

.bookcarddata h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--text);
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.disnone {
    display: none;
}

.bookcarddata p {
    font-size: 14px;
    color: var(--suggestions);
    margin: 0px;
    margin-bottom: auto;
}

.bookcarddata p strong {
    color: var(--text);
}

.bookcarddata a {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    align-self: center;  
}

.bookcarddata a:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
