﻿@import url('https://fonts.googleapis.com/css?family=Outfit:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    height: 100vh;
}*/

.main-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    /*margin-left: 50px;*/
    margin: auto 25px;
}

.container3D {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.container3D .card3D {
    width: 250px;
    height: 390px;
    padding: 20px;
    margin: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    transform-style: preserve-3d;
    background-color: black;
}

    .container3D .card3D .name {
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        width: 100%;
        transform-style: preserve-3d;
        transform: translate3d(0,0,75px);
        color: #fff;
        opacity: 0;
        z-index: 10;
        transition: 0.5s;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
    }

    .container3D .card3D:hover .name {
        top: 0px;
        opacity: 1;
    }

    .container3D .card3D h2 {
        color: #ffffff;
        font-size: 20px;
        margin-top: 10px;
        font-family: "Poppins", sans-serif;
        font-weight: 100;
        font-style: normal;
        transform-style: preserve-3d;
    }

    .container3D .card3D p {
        color: #ffffff;
        font-size: 14px;
        transform-style: preserve-3d;
        white-space: normal;
        line-height: 15px;
        color: lightgray;
        margin-top: -15px;
        margin-bottom: 25px;
    }

.container3D .card3D img.produto {
    max-width: 250px;
    transform-style: preserve-3d;
    transition: .5s;
}

        .container3D .card3D:hover img.produto, .container3D .card3D:hover button {
            transform: translate3d(0,0,100px); /*x Deslocamento, y Deslocamento, z profundidade*/
        }

        .container3D .card3D button {
            padding: 3px 20px;
            background-color: #e58e03;
            border: 0;
            border-radius: 25px;
            color: #fff;
            height: 40px;
            width: 100%;
            font-size: 14px;
            cursor: pointer;
            transform-style: preserve-3d;
            transition: .5s;
            margin-top: -10px;
        }


    .container3D div.card3DColor {
        background-image: linear-gradient(45deg, #000000, #808080);
    }


@media screen and (max-width: 878px) {
    /* Responsivo */
    .main-cards {
        margin: auto -8px;
    }
}
