/* Sezione I miei libri */
.my-books-section {
    position: relative;
    background-image: url('assets/libri-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff; /* Cambia il testo a bianco per contrastare il background */
    z-index: 1;
}

.my-books-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75); /* Velo bianco al 50% */
    z-index: -1;
}

.book-links {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.book-links li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
    display: inline-block;
    width: 100%;
    max-width: 600px;
}

.book-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-links a::before {
    content: '♦';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.book-links a:hover {
    color: #007bff;
}

.book-links a:hover::before {
    color: #0056b3;
}

.book-cover {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 180px; /* Altezza massima per tutte le copertine */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
