

@font-face {
    font-family: "fte_normal";
    src: url("../xx_ress_global/police_inter_4_1/InterVariable.ttf") format("truetype");
}


:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --bg-color: #f4f7f6;
    --couleur-prix: orangered;
    --couleur-isbn: black;

}



h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}
/* Animation de chargement */
.loader {
    text-align: center;
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 50px;
}

/* --- Conteneur Flexbox --- */
.conteneur-livre {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1200px;
    margin: 10px;
    background-color: transparent;
}
/* --- Cartes de livres --- */
.carte-livre {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 220px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.carte-livre:hover {
    transform: translateY(-10px);
}
.carte-livre img {
    max-width: 100%;
    height: auto;
    display: block;
}

.livre-infos {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.livre-prix {
    font-family: "fte_normal", verdana, sans-serif;
    font-weight: bold;
    color: var(--couleur-prix);
    margin-top: 5px;
    font-size: 1.2em;
}

.livre-isbn {
    font-family: "fte_normal", verdana, sans-serif;
    font-size: 1.0em;
    color: var(--couleur-isbn);
    margin-top: 5px;
}

.conteneur-image {
    background: #eee;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}













