/* styles for flip card gallery */
.flip-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
}
.flip-gallery > * {
    
    flex-grow:1;
    flex-shrink:1;
    flex-basis:26%;
    margin:1em;
    width: 300px;
    height: 214.285714286px;
    margin: .5em !important;
    overflow: hidden;
}
.flip-gallery figure {
    display: flex;
    height:100%;
    width:100%;
}
.flip-gallery img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.skacard {
    box-sizing: border-box;
    margin: 0;
}

.skacard,
.skacard * {
    box-sizing: border-box;
}
.skacard .card__content {
    height:100%;
    position: relative;
    text-align: center;
    transition: transform 2s;
    transform-style: preserve-3d;
    width:100%;
}

.skacard:hover .card__content {
    transform: rotateY(0.5turn);
}

.skacard .card__front,
.skacard .card__back {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform-style: preserve-3d;
    height:100%;
    width:100%;
}

.skacard .card__back {
    transform: rotateY(0.5turn);
    backface-visibility: hidden;
    height:100%;
    width:100%;
}

.skacard .card__copy {
    overflow: hidden;
    height: 100%;
    width: 100%;
    display: grid;
    align-content: center;
}