body {
    font-family: Arial, sans-serif;
    background-color: #eef2f7;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;

}

.card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 400px;
    width: 300px;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-size: 20px;
    color: #4caf50;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #555;
    margin: 5px 0;
}

.actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.actions .btn {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: white;
    text-align: center;
    transition: background-color 0.3s ease;
}

.actions .btn-update {
    background-color: #007bff;
}

.actions .btn-update:hover {
    background-color: #0056b3;
}

.actions .btn-delete {
    background-color: #e74c3c;
}

.actions .btn-delete:hover {
    background-color: #c0392b;
}

.container .btnAgregar{
    background-color: #007bff;
}

.add-button {
    margin-right: 6%;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}
.add-button a {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.add-button a:hover {
    background-color: #218838;
}

.animal-image {
    width: 100%; /* O el tamaño que prefieras */
    height: auto;
    max-width: 400px; /* Máximo ancho */
    max-height: 250px;
    border-radius: 10px; /* Bordes redondeados, opcional */
    margin-bottom: 10px;
}

@media(max-width: 800px){
    .container{
        padding:0px;
    }
    
}