body {
    margin: 0%;
    padding: 0%;
    background-color: #d2d2d288;
}




/* titulo com imagem start */
.header {
    position: relative;
    width: 100%;
    height: 250px;
    /* Ajuste a altura conforme necessário */
    background-image: url('./imagens/familia\ fundo.jpg');
    /* Substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.34);
    letter-spacing: 4px;

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Ajuste a opacidade conforme necessário */
}

.header h1 {
    position: relative;
    z-index: 1;
    font-size: 3em;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

/* titulo com imagem end */

/* catalogo start */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-top: 80px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 220px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.product-card:hover {
    transform: scale(1.1);

}

.product-card img {
    width: 100%;
    height: auto;

}


.product-card h3 {
    font-size: 18px;
    margin: 10px 0;
    padding: 0 10px;
}

.product-card .code {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-card .rating {
    font-size: 14px;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 16px;
    color: #0c6502;
    margin-bottom: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* catalogo end */

.estrelas {
    color: rgb(222, 222, 0);
    font-size: 20px;
}


/* btn  voltar Start */
button {
    font-size: 17px;
    padding: 0.5em 2em;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    background: dodgerblue;
    color: white;
    border-radius: 4px;
    text-align: center;
    justify-content: center;

}

button:hover {
    background: rgb(2, 0, 36);
    background: linear-gradient(90deg, rgba(30, 144, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);
}

button:active {
    transform: translate(0em, 0.2em);
}


.container {
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    margin-top: 35px;
}

a {
    text-decoration: none;
    /* Remove a linha de sublinhado */
    color: inherit;
    /* Mantém a cor padrão do texto */
}

/* btn  voltar end */



.WhatsApp img {
    width: 90px;
    height: auto;
}

.WhatsApp {

    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}

.WhatsApp:hover {
    transform: scale(1.05);
}


@media (max-width: 1020px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header {
        padding: 0;
        height: 11rem;
    }

    .WhatsApp img {
        height: 5rem;
        width: 5rem;

    }

    .WhatsApp {
        bottom: 1rem;
        right: 1rem;
    }

}