@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Bitter", serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cat-container {
    display: flex;
    margin: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.cat {
    margin: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 300px;
    background-color: #e5e5e5;
    border-radius: 15px;
}

.cat img {
    border-radius: 15px;
    width: 100%;
    height: 300px;
    margin: 20px;
    object-fit: cover;
}

#title {
    text-align: center;
}


h1 {
    text-decoration: underline #ff5e5e;
}

h2 {
    text-align: center;
}

button {
    padding: 10px;
    width: 150px;
    font-size: 16px;
    background-color: #ff5e5e;
    border-radius: 15px;
    border:none;
    color:white;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #c23434;
    transition: background-color 0.3s;
    cursor: pointer;
}

.heart-anim {
    position: absolute;
    color: #ff5e5e;
    font-size: 0;
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes fadeInOut {
    0% {
        font-size: 0;
        opacity: 0;
    }
    50% {
        font-size: 150px;
        opacity: 1;
    }
    100% {
        font-size: 200px;
        opacity: 0;
    }
}