body{
    background-color:#f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    margin: 0;
    padding: 40px 20px;
    color: #1e293b;
    background-color: #000000;
}
header{
    text-align: center;
    margin-bottom: 50px;
}
header h1{
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
header p{
    font-size: 1.1rem;
    color: #64748b;
}
.contenedoranimal{
    display: grid;
    grid-template-columns: repeat(3,2fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}
.cardanimal{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.cardanimal:hover{
    transform: translateY(-8px);
}
.imgcirculo{
    width: 220px;
    height: 220px;
    border-radius:50% ;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffffff;
    transition: box-shadow 0.3s ease;
}
.cardanimal:hover .imgcirculo{
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
.imgcirculo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cardanimal h2{
    margin-top: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
}
.contenedor-principal {
    background-color: #ffffff;
    max-width: 1100px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 35px;
    box-sizing: border-box;
}