.flipbox {
    background-color: transparent;
    width: 100%;
    height: 425px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.flipbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipbox:hover .flipbox-inner {
    transform: rotateY(180deg);
}

.flipbox-vertical:hover .flipbox-inner {
    transform: rotateX(180deg);
}

.flipbox-front, .flipbox-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 25px;
}

.flipbox-front {
    background-size: cover;
    background-position: center;
}

.flipbox-front h3 {
    background-color: transparent;
    color:#fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: auto;
}

.flipbox-back {
    background-color: #fdf6f3;
    transform: rotateY(180deg);
    justify-content: flex-start;
    color:#000;
}

.flipbox-vertical .flipbox-back {
    transform: rotateX(180deg);
}

.flipbox-back h3 {
    margin-bottom: 10px;
}

.flipbox-back p {
    margin: 0;
}
 
.flipbox-button {
    background-color: #e8b8d0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}