.tarot-cards{
    text-align: center;
    /* display: flex; */
    justify-content: center;
    min-height: 300px;
    position: relative;
}
.tarot-cards .card-div img{
    /* max-width: 100%; */
    max-height: 230px;
    /* position: absolute; */
}
.tarot-cards .card-div {
    /* display: inline-block; */
    margin: 5px;
    margin-top: 50px;
    cursor: pointer;
    transition: transform .2s; /* Animation */
    position: absolute;
    right: calc(100% - 140px);
    z-index: 1;
}
.tarot-cards .card-div.flip .front{
    /* transition-duration: 5s;
    transform: rotateY(90deg); */
    /* display: none;
    transform:rotateY(90deg); */
    transition-duration:1s;
    z-index: 900;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}
.tarot-cards .card-div.flip .back{
    z-index: 1000;
    transition-duration:1s;
    /* -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg); */
}
.tarot-cards .card-div .back{
    display: none;
    /* -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg); */
}

.tarot-cards .card-div.active {
    margin-top: 35px;
    margin-bottom: 15px;
    animation: active-card-animation 1.3s infinite;

}
.tarot-cards .card-div:hover, .tarot-cards .card-div.wait{
    transform: scale(1.06);
    margin-top: 35px;
    margin-bottom: 15px;
}
.disabled{
    cursor: no-drop !important;
}
.quiz-main-form{
    max-width: 820px;
    padding: 0 15px;
    margin: 25px auto;
}
@keyframes active-card-animation {
    0% {
        margin-top: 50px;
        margin-bottom: 0px;
    }
    20% {
        margin-top: 50px;
        margin-bottom: 0px;
    }
    50% {
        margin-top: 35px;
        margin-bottom: 15px;
    }
    80% {
        margin-top: 50px;
        margin-bottom: 0px;
    }
    100% {
        margin-top: 50px;
        margin-bottom: 0px;
    }
}
/* .card-div#card0{
    right: calc((100% - 140px));
} */
.card-div#card1{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *0));
    z-index: 2;
}
.card-div#card2{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *1));
    z-index: 2;
}
.card-div#card3{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *2));
    z-index: 2;
}
.card-div#card4{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *3));
    z-index: 2;
}
.card-div#card5{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *4));
    z-index: 2;
}
.card-div#card6{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *5));
    z-index: 2;
}
.card-div#card7{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *6));
    z-index: 2;
}
.card-div#card8{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *7));
    z-index: 2;
}
.card-div#card9{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *8));
    z-index: 2;
}
.card-div#card10{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *9));
    z-index: 2;
}
.card-div#card11{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *10));
    z-index: 2;
}
.card-div#card12{
    right: calc((100% - 140px) - (((100% - 140px) / 11) *11));
    z-index: 2;
}
.result-cards{
    display: none;
}

.result-card img{
    max-width: 100%;
    padding: 2px;
    max-height: 230px;
}
@media (max-width: 767px) {
    .result-cards{
        display: flex;
        justify-content: center;
    }
    /* .flip{
        position: fixed;
        top: calc(50% - 190px);
        left: calc(50% - 100px);
        z-index: 999;
        -webkit-animation: cssAnimation 2s forwards !important;
        animation: cssAnimation 2s forwards !important;
    }
    .flip img{
        max-height: 100% !important;
        width: auto !important;
        max-width: 200px !important;
    } */
    .tarot-cards .card-div.flip.active{
        animation: unset;
    }
    .tarot-cards .card-div.flip{
        margin-top: 25px;
    }

    @keyframes cssAnimation {
        0%   {display: block;}
        90%  {display: block;}
        100% {display: none;}
    }
    @-webkit-keyframes cssAnimation {
        0%   {display: block;}
        90%  {display: block;}
        100% {display: none;}
    }
}
