
#galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

#galeria h2 {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.mascota-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mascota-card:hover {
    transform: translatey(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mascota-card h3 {
    color: #16a085;
    margin-bottom: 0.8rem;
}

.img-cambio {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
}
