* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}

a:hover {
    background-color: #0056b3;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
    color: #333;
}

h2 {
    margin: 20px 0 30px;
    color: #3a3a3a;
    text-align: center;
    font-size: 2.2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ff9800;
    margin: 10px auto;
}

/* Suppression des styles de table par défaut */
table, tr, th, td {
    display: block;
    border: none;
}

table {
    max-width: 1200px;
    margin: 0 auto;
}

th {
    display: none; /* Cache les en-têtes de colonnes */
}

/* Style pour chaque carte de chat */
tr {
    display: inline-block;
    width: calc(33.33% - 20px);
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    vertical-align: top;
}

tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Style pour l'image */
td:first-child {
    display: block;
    width: 100%;
    padding: 0;
    height: 200px;
    overflow: hidden;
}

.chat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Style pour le nom de la race */
td:nth-child(2) {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 15px 5px;
    color: #333;
}

/* Style pour la taille */
td:nth-child(3) {
    position: relative;
    padding: 5px 15px;
    color: #666;
}

td:nth-child(3)::before {
    content: "Taille: ";
    font-weight: bold;
}

td:nth-child(3)::after {
    content: " cm";
}

/* Style pour le poids */
td:nth-child(4) {
    position: relative;
    padding: 5px 15px 15px;
    color: #666;
}

td:nth-child(4)::before {
    content: "Poids: ";
    font-weight: bold;
}

td:nth-child(4)::after {
    content: " kg";
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
    tr {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    tr {
        width: 100%;
        margin: 10px 0;
    }
}