body {
    background: linear-gradient(to right, #4568dc, #b06ab3);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 0;
    margin: 0;
}

.box-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 0;
}

.widget-container {
    transition: all 0.3s ease;
}

.widget-container .common-flip-style {
    width: 250px;
    height: 250px;
    cursor: pointer;
}

.widget-container .common-flip-style .common-box-style {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    border-radius: 10px;
}

.flip-box {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.flip-box .box-front {
    transform: none;
    z-index: 1;
    background-image: url('ff-main-image.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.flip-box .box-back {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transform: rotateX(0) rotateY(-180deg);
    background: #fff;
    border: 5px solid orange;
}

.flip-box:hover .box-front {
    transform: rotateX(0) rotateY(180deg);
}

.flip-box:hover .box-back {
    transform: none;
}

.box-content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    transform: translateZ(90px);
}