#pergma{
    text-decoration: none;
    color: #0000;
    padding: .5em;
}

#pergma:hover{
    animation: smooth .5s ease-in;
    color:#fff
}

@keyframes smooth {
    0% { opacity: 0;}
    100% { opacity: 1;}
}


#spinnerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#spinner {
    margin: auto;
}

.resultados {
    font-size: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid #ccc;
}

.product-card img {
    width: 200px;
    height: auto;
}

.product-card h2 {
    font-size: 15px;
    margin: 10px 0;
    text-transform: capitalize;
}

.product-card p {
    font-size: 12px;
    text-align: center;
    text-transform: capitalize;
}

#load-more {
    display: block;
    margin: 20px auto;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}

@media (min-width: 601px) and (max-width: 865px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}