.container {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    color: #4a6fa5;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6a98d0, #4a6fa5);
    border-radius: 2px;
}

.animalCard {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    width: 250px;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animalCard:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.animalImageContainer {
    width: 80px; /* Make the frame square */
    height: 80px; /* Make the frame square */
    margin: 0 15px 0 0; /* Add margin to the right */
    border-radius: 8px; /* Slightly rounded corners */
    overflow: hidden;
    border: 3px solid #6a98d0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animalImage {
    width: 100%; /* Ensure the image fills the square */
    height: 100%; /* Ensure the image fills the square */
    object-fit: cover;
}

.animalLabel {
    margin-left: 0; /* Remove unnecessary left margin */
    font-size: 16px;
    font-weight: bold;
    text-align: left; /* Align text to the left */
}

.headerContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.logoAnimabla {
    width: 20%;
    height: 20%;
    border-radius: 2px;
    margin-left: 20px;
}

.animalCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6a98d0, #4a6fa5);
}

.animalCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
    background-color: #f0f8ff; /* Add a subtle background color change */
}

.animalList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.8rem;
    }

    .animalCard {
        width: 100%;
        max-width: 320px;
    }
}

.footer {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #4a6fa5, #6a98d0);
    color: #fff;
    font-size: 1.1rem; /* Slightly increase font size */
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    bottom: 0;
    margin: 0 auto; /* Ensure proper centering */
    letter-spacing: 0.5px; /* Improve readability */
    border-top: 2px solid #fff; /* Add a border for separation */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1); /* Add shadow to footer */
}

.subtitle {
    font-size: 1.0rem; /* Reduce font size */
    color: #878787;
    margin-top: 10px;
    text-align: center;
}
