/* Flip-Box */

.lkFlipBox {
    position: relative;
    cursor: pointer;
    width: 100%;
}

.lkFlipBox figure {
    margin: 0;
}

.front, .back {
    display: flex;
    overflow:hidden;
}

.front {
    width:100%;
    height: 100%;
    position:absolute;
    top: 0;
}

.lkFlipBox img{
    max-width:100%;
    height:100%;
    object-fit: cover;
}

.front {
    display: none;
    border: 5px solid var(--primaryColor);
}

.front figcaption{
    top: 0;
    left: 0;
    position: absolute;
    color: var(--primaryColor);
    padding: 15px;
    font-size: 30px;
    font-family: 'Oswald', sans-serif;
    line-height: 1.1;
    font-weight: 900;
    background: rgba(254,205,0,0.7);
    margin: 20px;
    text-transform: uppercase;
}

.back {
    background-color: var(--primaryColor);
    color: var(--white);
    padding: 1.5rem;
    line-height: 1.8;
}

.back p {
    text-align: justify;
}

.lkFlipBox.flipped .lkFlipContentBox > div > .back {
    transform: perspective(600px) rotateY(0deg);
}

.lkFlipBox.flipped .lkFlipContentBox > div > .front {
    transform: perspective(600px) rotateY(-180deg);
}