/*-----------------------------------------------------
Flip-CARD Container
-------------------------------------------------------*/
.container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.container {
    transform-style: preserve-3d
}

.container .box {
    position: relative;
    width: 350px;
    height: 300px;
    margin: 25px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.container .box .body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease
}

.container .box .body .imgContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    background-position:center;
    background-repeat:no-repeat
}

.container .box .body .imgContainer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.container .box .body .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    backface-visibility: hidden;
    transform-style: preserve-4d;
    transform: rotateY(180deg)
}

.container .box:hover .body {
    transform: rotateY(180deg)
}

.container .box .body .content > div {
    transform-style: preserve-3d;
    padding: 20px;
    background: linear-gradient(40deg, #045EB3DF, #42258A);
    transform: translateZ(100px)
}
.container .box .body .content div h3 {
    letter-spacing: 1px
}

/* ----------------------------------------------------------------
	Flip Cards
-----------------------------------------------------------------*/
