﻿/**{
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

html, body{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
}

.wrapper{
    display: flex;
    width: 70%;
    justify-content: space-around;
}

.card{
    width: 280px;
    height: 360px;
    padding: 2rem 1rem;
    background: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
    transition: 0.5s ease-in-out;
}

.card:hover{
    transform: translateY(5px);
}

.card:before{
    content: "";
    position: absolute;
    top: 180px;
    left: 0;
    display: block;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,176,155,0.5),rgba(150,201,61,1));
    z-index: 2;
    transition: 0.5s all;
    opacity: 0;
}
.card:hover:before{
    opacity: 1;
}

.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card .info{
    position: relative;
    z-index: 3;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s all;
}

.card:hover .info{
    opacity: 1;
    transform: translateY(0px);
}

.card .info h1{
    margin: 0;
}

.card .info p{
    letter-spacing: 1px;
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.card .info .btn{
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.card .info .btn:hover{
    box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
}*/




/* For GS Shop view_products */


/**{
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}
*/
/*html, body{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
}*/

/*.wrapper{
    display: flex;
    width: 70%;
    justify-content: space-around;
}*/

.card-hover {
    /*width: 280px;*/
    /*height: 360px;*/
    /*padding: 2rem 1rem;*/
    background: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-shadow: 0px 7px 10px rgba(0,0,0,0.5);
    transition: 0.4s ease-in-out;
    overflow: hidden;
}

    .card-hover:hover {
        transform: translateY(5px);
    }

    .card-hover:before {
        content: "";
        position: absolute;
        top: 200px;
        left: 0;
        display: block;
        width: 100%;
        height: 65%;
        background: #fff;
        z-index: 2;
        transition: 0.4s all;
        opacity: 1;
        border-radius: 10px;
        transform: translateY(0px);
    }

    .card-hover:hover:before {
        opacity: 1;
        transform: translateY(-115px);
    }

    .card-hover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .card-hover .card-body {
        position: relative;
        z-index: 3;
        color: #fff;
        opacity: 1;
        transform: translateY(0px);
        transition: 0.4s all;
        max-height: 65px !important;
        overflow: hidden;
    }


    .card-hover:hover .card-body {
        opacity: 1;
        transform: translateY(-115px);
        overflow: visible;
    }

    .card-hover .card-body h1 {
        margin: 0;
    }

    .card-hover .card-body p {
        letter-spacing: 1px;
        font-size: 15px;
        margin-top: 8px;
        margin-bottom: 20px;
    }

    .card-hover:hover .card-body .info .btn {
        text-decoration: none;
        padding: 0.5rem 1rem;
        background: #fff;
        color: #000;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
    }

@media screen and (max-width: 574px) {
    .card-hover:before {
        content: "";
        position: absolute;
        top: 160px;
        left: 0;
        display: block;
        width: 100%;
        height: 65%;
        background: #fff;
        z-index: 2;
        transition: 0.4s all;
        opacity: 1;
        border-radius: 10px;
        transform: translateY(0px);
    }
}