﻿@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');
*{
}
body
{
}
.containerflip
{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    transform-style: preserve-3d;
    
}
.containerflip .box
{
    position: relative ;
    width: 33%;
    height: 1000px;
   
margin-bottom: 10px;


    perspective: 1000px;
    overflow:  hidden;
    transform-style: preserve-3d;
} 
.containerflip .box .imgBx
{
    position: absolute;
    top: 0;
    left : 0;
    width: 100%;
    height: 100%;
    transform-origin:  top;
    transform-style: preserve-3d;
    transition: 0.5s;
    transition-delay: 0.2s;
}
.containerflip .box:hover .imgBx {
    transform: rotateX(-90deg);
    opacity: 0;
    transition-delay: 0;
}
.containerflip .box .contentBx
{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transform-origin: bottom;
    transform-style: preserve-3d;
    transition: 0.5s;
    transform: rotateX(90deg);
    opacity: 0;
}
.containerflip .box:hover .contentBx
{
    transform: rotateX(0deg);
    opacity: 1;
    transition-delay: 0.2s;
}






.containerflip .box .imgBx img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

