body {
    margin: 0;
    padding: 20px;
    background-color: #f0f8ff;
    font-family: Arial, sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.animal-btn {
    background: none;
    border: 3px solid #4CAF50;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.animal-btn img {
    width: 100%;
    height: auto;
}

.animal-btn:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#animatedGif {
    max-width: 80%;
    max-height: 80vh;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #ff4444;
    font-weight: bold;
}
