:root{
    --wpig-width: 100vw;
    --wpig-downcard-width: 200px;
    --wpig-downcard-lift: 40px;
    --wpig-downcard-lift-neg: -40px
}
@media (max-width:870px){
    :root{
        --wpig-downcard-width: 23vw;
        --wpig-downcard-lift: 5vw;
        --wpig-downcard-lift-neg: -5vw
    }
}

.tarot-cards-animated-v2{
    overflow: hidden;
    position: relative;
    align-items: flex-start;
    padding-top: 50px;
}
.premium .content-blk{
    min-height: 100vh;
}

.tarot-cards-animated-v2 .tarot-list{
    width: 100%;
    white-space: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.tarot-cards-animated-v2 .tarot-list .tarot-card{
    vertical-align: bottom;
    margin: 0;
    padding: 0 0 2px;
    /*padding-top: calc(var(--wpig-downcard-lift) + 2px);*/
    width: 16px;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 42px;
    flex: 0 1 42px;
    max-width: 5%;
}
.tarot-cards-animated-v2 .tarot-list .tarot-card:last-child {
    min-width: var(--wpig-downcard-width);
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.tarot-cards-animated-v2 .tarot-list .tarot-card-inner{
    
    display: block;
    position: relative;
    z-index: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    padding: 0;
    overflow: hidden;
    background-image: url(../images/card-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: var(--wpig-downcard-width);
    height: calc(1.70*var(--wpig-downcard-width));
    cursor: pointer;

    box-shadow: 3px 3px 17px -7px #000;

    -webkit-transition: -webkit-transform .5s ease-in-out,-webkit-box-shadow .5s ease-in-out;
    transition: transform .5s ease-in-out,box-shadow .5s ease-in-out, opacity 0.5s ease-in;
    /*transition: transform .3s ease-in-out,box-shadow .3s ease-in-out,-webkit-transform .3s ease-in-out,-webkit-box-shadow .3s ease-in-out;*/
}

.tarot-cards-animated-v2 .tarot-fly.done-fly{
    z-index: 1;
}
.tarot-cards-animated-v2 .tarot-fly .tarot-card{
	display: block;    
    overflow: hidden;
    width: var(--wpig-downcard-width);
    height: calc(1.70*var(--wpig-downcard-width));

    position: absolute;
    z-index: 3;
    top: 70%;
    left: 50%;

    transform: translateX(-50%);

    background-image: url(../images/card-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;

    -webkit-transition: top .5s ease-in-out,left .5s ease-in-out;
    transition: top .5s ease-in-out,left .5s ease-in-out;

}
.tarot-cards-animated-v2 .card-choose{
	-ms-flex-item-align: start;
    align-self: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 1;
}
.tarot-cards-animated-v2 .card-btn{
    text-align: center;
    width: 100%;
    z-index: 2;
    position: relative;
    margin-top: 50px;
}
.tarot-cards-animated-v2 .card-btn .shuffle{
    color: #614932;
}
.tarot-cards-animated-v2 .card-btn .challenge-buttons{
    margin-bottom: 0px;
}
.tarot-cards-animated-v2 .hide-card{
    opacity: 0;
}
.tarot-cards-animated-v2 .tarot-list .tarot-card-inner:focus:before,
.tarot-cards-animated-v2 .tarot-list .tarot-card-inner:hover:before{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.1);
}
.tarot-cards-animated-v2 .tarot-card.selected .tarot-card-inner{
    -webkit-transform: translateY(var(--wpig-downcard-lift-neg));
    transform: translateY(var(--wpig-downcard-lift-neg));

    -webkit-box-shadow: -5px 5px 10px rgb(50 50 50 / 80%);
    box-shadow: -5px 5px 10px rgb(50 50 50 / 80%);

    /*box-shadow: 3px 3px 17px -7px #000;*/
}
@media screen and (max-width:600px){
    .tarot-cards-animated-v2 .tarot-list .tarot-card{
        max-width: 35px;
        flex: 0 1 35px;
    }
}
@media screen and (max-width:460px){
    .tarot-cards-animated-v2 .tarot-list .tarot-card{
        max-width: 25px;
        flex: 0 1 25px;
    }
}