/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13-feb-2019, 12:17:53
    Author     : FERNANDO
*/
@import url('https://fonts.googleapis.com/css?family=Poppins:20');
/*body
{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins',sans-serif;

}*/
.quote
{
    width: 1200px;
    min-height: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 2;
}

.quote .box
{
    position: relative;
    width: 360px;
    height: auto;
    background: #fff;
    overflow: hidden;
    transition: 0.5s;
    z-index: 2;
    box-sizing: border-box;
    padding: 30px;
    box-shadow: -10px 25px 50px rgba(0,0,0,.2);
}

.quote .box:hover{
    box-shadow: -20px 50px 100px rgba(0,0,0,.5);
}

.quote .box p{
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-align: justify;
}

.quote .box:hover p{
    color: #fff;
}

.quote .box h2{
    position: absolute; 
    bottom: 30px;
    right: 30px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    text-transform: uppercase;
}

.quote .box:hover h2{
    color: #fff;
}

.quote .bg{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    width: 100%;
    height: 100%
}

.quote .box.box1:hover ~ .bg,
.quote .box.box1:hover
{
    cursor: pointer;
    opacity: 1;
    background: linear-gradient(#03a9f4,#e91e63);
}
.quote .box.box2:hover ~ .bg,
.quote .box.box2:hover
{
    cursor: pointer;
    opacity: 1;
    background: linear-gradient(#ffc107,#19fd36);
}
.quote .box.box3:hover ~ .bg,
.quote .box.box3:hover
{
    cursor: pointer;
    opacity: 1;
    background: linear-gradient(#ffc107,#e91e63);
}

.quote .box:before{
    content: '';
    position: absolute;
    top:0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    pointer-events: none;
}

.quote .box:after{
    content: url(quote.png);
    position: absolute;
    bottom: 10%;
    right: 10%;
    opacity: .1;
    background: rgba(255,255,255,.2);
    pointer-events: none;
    filter: invert(1);
}
.quote .box:hover:after{
    filter: invert(0);
}
