body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #e9e9e9;
}

#container {
    text-align: center;
    width: 90%;
    max-width: 600px;
    background: #f3f3f3;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

#showMore {
    background-color: #d258fc;
    margin-top: 12px;
    margin-bottom: 5px;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 50%;
}
#showMore:hover {
    background-color: #dc66cf;
}

nav button {
    background-color: #d258fc;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

nav button:hover {
    background-color: #dc66cf;
}

.hidden {
    display: none !important
}

h1, h2 {
    color: #333;
}


#randomCats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 400px;

}
#favourites {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 400px;
}



.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%; /* Ocupa el ancho completo del contenedor */
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-info {
    padding: 10px;
}

.card-info h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #333;
}

.card-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

.card button {
    background-color: transparent;
    border: 1px solid #ff6b6b;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    font-size: 1rem;
    color: #ff6b6b;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 10px;
}

.card button:hover {
    background-color: #ff6b6b;
    color: #fff;
    transform: scale(1.05);
}

h6 {
    color: #d258fc;
    font-size: 0.8rem;
    text-align: right;;
    margin-top: -10px;
    width: 100%;

}