html {
    font-family: "Libre Baskerville";
    background: #f3f1ef;
    padding: 1rem;
}

body {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: #f5f5f5;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.card {
    background: white;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-content {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.card-text {
    flex: 1;
}

.card-image {
    flex-shrink: 0;
    max-width: 60%;
    min-width: 40%;
    height: 80px;
    /*background: #f0f0f0;*/
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    /* Aligne l'image à droite */

}

.card-image a {
    display: flex;
    justify-content: flex-end;
}

.card-image:hover {
    transform: scale(2);
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 4px;
    color: #333;
}

.card-description {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.1;
}

.card-link {
    display: inline-block;
    /*background: #007bff;*/
    color: white;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;

}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #333;
}

.thumbnail {
    max-width: 80%;
    /* Limite la largeur à 80% du div parent */
    height: auto;
    /* Maintient le ratio de l'image */
}