@import url("../css/_animate.css");

@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/bebasneue/v2/JTUSjIg69CK48gW7PXooxW4.ttf) format('truetype')
}

@font-face {
    font-family: 'Athelas Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Athelas Regular'), url('../fonts/Athelas-Regular.woff') format('woff')
}

@font-face {
    font-family: 'Athelas Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Athelas Bold'), url('../fonts/Athelas-Bold.woff') format('woff')
}

i.check {
    display: none
}

i.x-circle {
    display: none
}

.playing-card {
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    position: relative;
    transform-style: preserve-3d;
    height: 600px;
    width: 350px;
    cursor: pointer
}

.playing-card-box {
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    position: relative;
    transform-style: preserve-3d;
    height: 600px;
    width: 350px;
    box-shadow: 0 0 17px 3px #0b4bc4, 0 0 4px 2px #0b4bc4;
    cursor: pointer
}
.ascension{
    box-shadow: 0 0 17px 3px #814949, 0 0 4px 2px #cc6a6a;
}


.playing-card:hover {
    box-shadow: 0 0 17px 3px #ef0000, 0 0 4px 2px #ce0404
}


.playing-card.disabled {
    pointer-events: none
}

.playing-card.fade_in {
    transform: rotateY(0deg);
    -webkit-animation: fadeIn .275s forwards linear;
    -moz-animation: fadeIn .275s forwards linear;
    animation: fadeIn .275s forwards linear;

    
}

.playing-card.fade_out {
    -webkit-animation: fadeOut .275s forwards linear;
    -moz-animation: fadeOut .275s forwards linear;
    animation: fadeOut .275s forwards linear;

    
}

.playing-card.flipped {
    -webkit-animation: cardFlip .275s forwards linear;
    -moz-animation: cardFlip .275s forwards linear;
    animation: cardFlip .275s forwards linear
}

.playing-card.unflip {
    -webkit-animation: cardUnFlip .275s forwards linear;
    -moz-animation: cardUnFlip .275s forwards linear;
    animation: cardUnFlip .275s forwards linear
}

.playing-card-container {
    width: 350px;
    height: 600px;
    display: inline-block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: scale(1);
    opacity: 1;
}

.playing-card-container.hidden {
    opacity: 0;
    visibility: hidden; 
    transform: scale(0.95);
}

.playing-card-backing,
.playing-card-front {
    -webkit-box-shadow: 0 0 8px 0 #000000;
    -moz-box-shadow: 0 0 8px 0 #000000;
    box-shadow: 0 0 8px 0 #000000;
    height: 100%;
    width: 100%;
    transform: scale(1);
}

.dragging {
    transform: scale(0.4) !important;
    box-shadow: 0 0 17px 3px #0000, 0 0 4px 2px #0000
}

.playing-card-backing {
    background-image: url('../images/Back.png');
    background-color: #272727;
    background-position: center center;
    background-size: cover;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    transform: rotateY(180deg)
}

.playing-card-backing img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    margin: 0 auto
}

.playing-card-face {
    position: absolute;
    backface-visibility: hidden
}

.playing-card-front {
    background-color: #fff;
    grid-template-rows: 4.4rem 1fr auto;
    color: #272727;
    text-align: center;
    text-transform: uppercase;
    background-position: center center;
    background-size: cover
}

.playing-card-front h1,
.playing-card-front .mane-pane {
    grid-row-start: 1;
    line-height: 1em
}

.playing-card-front .main-pane {
    grid-row-end: 4;
    z-index: 1;
    border-radius: 0 0 25% 25%
}

.playing-card-front-frame {
    background-image: url('../images/STANDARD_Frame.png');
    background-position: center center;
    background-size: cover;
    background-size: 100% 100%;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    line-height: 17px
}

.playing-card-front .top {
    position: relative;
    left: 57px;
    top: 20px;
    width: 236px;
    height: 35px
}

.tooltip {
    visibility: hidden; 
    background-color: rgba(0, 0, 0, 0.8); 
    color: #fff; 
    text-align: center; 
    border-radius: 5px; 
    padding: 10px;
    position: absolute; 
    z-index: 1;
    bottom: 125%; 
    left: 50%; 
    margin-left: -80px; 
    opacity: 0; 
    transition: opacity 0.3s; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    font-size:large
}

.tooltip.show{
    visibility: visible; 
    opacity: 1; 
}

.playing-card-front .cooldown-timers {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(134, 187, 241, 0.59)
}

.playing-card-front .cooldown-timers span {
    display: block;
    margin-top: 270px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px rgba(104, 104, 104, 0.58)
}

.playing-card-front .cooldown-timers span p {
    font-size: 30px;
    line-height: 40px
}

.playing-card-front .cooldown-timers span p:first-of-type {
    font-size: 20px
}

.playing-card-front .info,
.playing-card-front .bottom {
    position: absolute;
    bottom: 17px;
    left: 57px;
    width: 235px;
    height: 63px
}

.playing-card-front .info.is-hidden,
.playing-card-front .bottom.is-hidden {
    display: none
}

.playing-card-front .top>p:first-of-type,
.playing-card-front .top>p:last-of-type,
.playing-card-front .ability {
    font-size: 17px;
    color: #fff;
    font-family: 'Athelas Regular';
    letter-spacing: .8px;
    position: relative
}

.playing-card-front .top>p:first-of-type:before,
.playing-card-front .top>p:last-of-type:before,
.playing-card-front .ability:before,
.playing-card-front .top>p:first-of-type:after,
.playing-card-front .top>p:last-of-type:after,
.playing-card-front .ability:after {
    content: attr(title);
    position: absolute
}

.playing-card-front .top>p:first-of-type:before,
.playing-card-front .top>p:last-of-type:before,
.playing-card-front .ability:before {
    color: #064f82;
    text-shadow: 0 .1px 0 #064f82, 0 .3px .9px rgba(6, 79, 130, 0.8);
    top: 1.5px
}

.playing-card-front .top>p:first-of-type:after,
.playing-card-front .top>p:last-of-type:after,
.playing-card-front .ability:after {
    color: #05a0d6;
    top: .5px;
    left: 0;
    right: 0;
    text-shadow: 0 .1px .5px #fff
}

.playing-card-front .top>p:last-of-type {
    font-size: 16px;
    margin-top: 1px;
    color: #b9cada
}

.playing-card-front .top>p:last-of-type:before {
    color: #223b5a;
    text-shadow: 0 .1px 0 #243549, 0 .3px .9px rgba(36, 53, 73, 0.8)
}

.playing-card-front .top>p:last-of-type:after {
    color: #5d86b4;
    text-shadow: 0 .1px .5px #6287b4
}

.playing-card-front .ability {
    margin: 4px 0
}

.playing-card-front .stats>p,
.playing-card-front .info>p {
    font-size: 18px;
    font-family: 'Bebas Neue', cursive;
    display: inline-block;
    width: 29%;
    line-height: 18px;
    text-shadow: 0 -0.6px 0 rgba(255, 255, 255, 0.2), 0 .5px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: .8px;
    color: #494949;
    position: relative
}

.playing-card-front .stats>p:after,
.playing-card-front .info>p:after {
    content: attr(title);
    position: absolute;
    color: #1a1c19;
    text-shadow: 0 .1px .5px #6287b4;
    left: 0;
    right: 0;
    top: .5px
}

.playing-card-front .info {
    display: none;
    padding-top: 5px;
    overflow: hidden
}

.playing-card-front .info>p {
    font-size: 22px;
    width: 100%;
    line-height: 23px
}

.playing-card-front .info.is-visible {
    display: block
}

.playing-card-front[data-tier="2"] .playing-card-front-frame {
    background-image: url('../images/ULTRA_Frame.png')
}

.playing-card-front[data-tier="2"] .top>p:first-of-type,
.playing-card-front[data-tier="2"] .ability {
    color: #bb7f81
}

.playing-card-front[data-tier="2"] .top>p:first-of-type:before,
.playing-card-front[data-tier="2"] .ability:before {
    color: #7d100d;
    text-shadow: 0 .5px 0 #7d100d, 0 .3px .9px rgba(125, 16, 13, 0.8)
}

.playing-card-front[data-tier="2"] .top>p:first-of-type:after,
.playing-card-front[data-tier="2"] .ability:after {
    color: #ffe6e6;
    text-shadow: 0 .1px .5px #ffe6e6
}

.playing-card-front[data-tier="2"] .top>p:last-of-type {
    color: #e5ccc8
}

.playing-card-front[data-tier="2"] .top>p:last-of-type:before {
    color: #7d100d;
    text-shadow: 0 .1px 0 #7d100d, 0 .3px .9px rgba(125, 16, 13, 0.8)
}

.playing-card-front[data-tier="2"] .top>p:last-of-type:after {
    color: #e49127;
    text-shadow: 0 .1px .5px #e49127
}

.playing-card-front[data-tier="3"] .playing-card-front-frame {
    background-image: url('../images/LEGENDARY_Frame.png')
}

.playing-card-front[data-tier="3"] .top>p:first-of-type,
.playing-card-front[data-tier="3"] .ability {
    color: #fff
}

.playing-card-front[data-tier="3"] .top>p:first-of-type:before,
.playing-card-front[data-tier="3"] .ability:before {
    color: #38352e;
    text-shadow: 0 .5px 0 #38352e, 0 .3px .9px rgba(56, 53, 46, 0.8)
}

.playing-card-front[data-tier="3"] .top>p:first-of-type:after,
.playing-card-front[data-tier="3"] .ability:after {
    color: #ffd72d;
    text-shadow: 0 .1px .5px #ffd72d
}

.playing-card-front[data-tier="3"] .top>p:last-of-type {
    color: #e5ccc8
}

.playing-card-front[data-tier="3"] .top>p:last-of-type:before {
    color: #856d09;
    text-shadow: 0 .1px 0 #856d09, 0 .3px .9px rgba(133, 109, 9, 0.8)
}

.playing-card-front[data-tier="3"] .top>p:last-of-type:after {
    color: #252621;
    text-shadow: 0 .1px .5px #252621
}

.playing-card-front[data-tier="4"] .playing-card-front-frame {
    background-image: url('../images/ULTIMATE_Frame.png')
}

.playing-card-front[data-tier="4"] .top>p:first-of-type,
.playing-card-front[data-tier="4"] .ability {
    color: #fff
}

.playing-card-front[data-tier="4"] .top>p:first-of-type:before,
.playing-card-front[data-tier="4"] .ability:before {
    color: #939393;
    text-shadow: 0 .5px 0 #939393, 0 .3px .9px rgba(147, 147, 147, 0.8)
}

.playing-card-front[data-tier="4"] .top>p:first-of-type:after,
.playing-card-front[data-tier="4"] .ability:after {
    color: #fff;
    text-shadow: 0 .1px .5px #ffd7ff
}

.playing-card-front[data-tier="4"] .top>p:last-of-type {
    color: #ccb5d1
}

.playing-card-front[data-tier="4"] .top>p:last-of-type:before {
    color: #60535a;
    text-shadow: 0 .1px 0 #60535a, 0 .3px .9px rgba(96, 83, 90, 0.8)
}

.playing-card-front[data-tier="4"] .top>p:last-of-type:after {
    color: #62117a;
    text-shadow: 0 .1px .5px #62117a
}

.playing-card-front[data-tier="4"] .stats>p,
.playing-card-front[data-tier="4"] .info>p {
    text-shadow: 0 -0.6px 0 rgba(123, 83, 143, 0.2), 0 .5px 0 rgba(123, 83, 143, 0.2);
    color: #7b538f;
    opacity: .8
}

.playing-card-front[data-tier="4"] .stats>p:after,
.playing-card-front[data-tier="4"] .info>p:after {
    color: #32154d;
    text-shadow: 0 .1px .5px #32154d
}

.playing-card-front[data-tier="5"] .playing-card-front-frame {
    background-image: url('../images/ULTIMATE_Frame-old.png')
}



.playing-card-front[data-tier="6"] .playing-card-front-frame {
    background-image: url('../images/ULTIMATE_Frame.png')
}

.playing-card-front[data-tier="6"] .top>p:first-of-type{
    color: #fff
}

.playing-card-front[data-tier="6"] .ability {
    color: #fff;
    font-size: 10px;
}



.playing-card-front.-glow-red {
    box-shadow: 0 0 17px 3px #ef0000, 0 0 4px 2px #ce0404
}

@keyframes cardAppear {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 15deg) translate3d(0, -100vh, 0);
        -ms-transform: rotate3d(0, 0, 1, 15deg) translate3d(0, -100vh, 0);
        transform: rotate3d(0, 0, 1, 15deg) translate3d(0, -100vh, 0)
    }

    30% {
        -webkit-transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
        -ms-transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
        transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0)
    }

    65% {
        -webkit-transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
        -ms-transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
        transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1)
    }

    80% {
        -webkit-transform: rotate3d(0, 0, 1, -5deg) scale3d(1.05, 1.05, 1);
        -ms-transform: rotate3d(0, 0, 1, -5deg) scale3d(1.05, 1.05, 1);
        transform: rotate3d(0, 0, 1, -5deg) scale3d(1.05, 1.05, 1)
    }
}

@keyframes cardFlip {
    0% {
        -webkit-transform: rotateZ(0deg) rotateY(180deg);
        -ms-transform: rotateZ(0deg) rotateY(180deg);
        transform: rotateZ(0deg) rotateY(180deg)
    }

    50% {
        -webkit-transform: rotateZ(-10deg) rotateY(90deg);
        -ms-transform: rotateZ(-10deg) rotateY(90deg);
        transform: rotateZ(-10deg) rotateY(90deg)
    }

    100% {
        -webkit-transform: rotateZ(0deg) rotateY(0deg);
        -ms-transform: rotateZ(0deg) rotateY(0deg);
        transform: rotateZ(0deg) rotateY(0deg)
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(1.5);
    }

    100% {
        opacity: 1; 
        transform: scale(1);
    }
}

@keyframes cardUnFlip {
    0% {
        -webkit-transform: rotateZ(0deg) rotateY(0deg);
        -ms-transform: rotateZ(0deg) rotateY(0deg);
        transform: rotateZ(0deg) rotateY(0deg)
    }

    50% {
        -webkit-transform: rotateZ(-10deg) rotateY(90deg);
        -ms-transform: rotateZ(-10deg) rotateY(90deg);
        transform: rotateZ(-10deg) rotateY(90deg)
    }

    100% {
        -webkit-transform: rotateZ(0deg) rotateY(180deg);
        -ms-transform: rotateZ(0deg) rotateY(180deg);
        transform: rotateZ(0deg) rotateY(180deg)
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: rotateY(0deg);
    }
    100% {
        opacity: 0;
        transform: rotateY(90deg); /* Optional: Rotate while fading out */
    }
}

.hp-lost {
    position: absolute;
    transition: top 3s ease 0s, transform 1s ease-in, opacity 2s ease-out;
    top: -10px;
    opacity: 0;
    font-size: 25px;
    color: #fff;
    text-shadow: 0 0 7px #ce0404, 0 0 13px #ce0404
}

.hp-lost.show {
    opacity: 1;
    transition: opacity .5s ease-out
}

.hp-lost.remove {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    transition: top 3s ease 0s, transform 1s ease-in, opacity 2s ease-out;
    top: -140px;
    opacity: 0
}

.cards-1 .hp-lost {
    right: -10px
}

.cards-1 .hp-lost.remove {
    -webkit-animation: sideWays1 3s ease-in-out infinite alternate;
    -moz-animation: sideWays1 3s ease-in-out infinite alternate;
    animation: sideWays1 3s ease-in-out infinite alternate
}

@-moz-keyframes sideWays1 {
    0% {
        right: -10px
    }

    33% {
        right: 30px
    }

    66% {
        right: -10px
    }

    100% {
        right: -30px
    }
}

@keyframes sideWays1 {
    0% {
        right: -10px
    }

    33% {
        right: 30px
    }

    66% {
        right: -10px
    }

    100% {
        right: -30px
    }
}

.cards-2 .hp-lost {
    left: -10px
}

.cards-2 .hp-lost.remove {
    -webkit-animation: sideWays2 3s ease-in-out infinite alternate;
    -moz-animation: sideWays2 3s ease-in-out infinite alternate;
    animation: sideWays2 3s ease-in-out infinite alternate
}

@-moz-keyframes sideWays2 {
    0% {
        left: -10px
    }

    33% {
        left: -30px
    }

    66% {
        left: -10px
    }

    100% {
        left: 30px
    }
}

@keyframes sideWays2 {
    0% {
        left: -10px
    }

    33% {
        left: -30px
    }

    66% {
        left: -10px
    }

    100% {
        left: 30px
    }
}

[data-view="viewer-dashboard"] [data-page="cards"] [data-component="navigation"] {
    border-bottom: none
}

[data-view="viewer-dashboard"] [data-page="cards"] .nav-tabs {
    display: flex
}

[data-view="viewer-dashboard"] .cards .playing-card-container {
    margin: 13px;
    -webkit-transform: scale(.6);
    -moz-transform: scale(.6);
    -o-transform: scale(.6);
    transform: scale(.6);
    margin: -109px -60px
}

[data-view="viewer-dashboard"] .cards .playing-card-container[data-hidden="true"] h1,
[data-view="viewer-dashboard"] .cards .playing-card-container[data-hidden="true"] p {
    display: none
}

[data-view="viewer-dashboard"] .cards .playing-card-container[data-count="0"] {
    opacity: .5
}

[data-view="viewer-dashboard"] .cards .playing-card-container[data-number] {
    opacity: 1
}

[data-view="viewer-dashboard"] .cards .playing-card-container .top p {
    font-size: 18px;
    padding-top: 9px
}

@media only screen and (min-width:600px) {
    [data-view="viewer-dashboard"] .cards .playing-card-container .top p {
        font-size: 26px
    }
}

[data-view="viewer-dashboard"] .cards .playing-card-container .top p:before {
    top: 11px
}

[data-view="viewer-dashboard"] .cards .playing-card-container .top p:after {
    top: 10.3px
}

[data-view="viewer-dashboard"] .cards .playing-card-container .top p:last-of-type {
    display: none
}

[data-view="viewer-dashboard"] .cards .playing-card-container .number,
[data-view="viewer-dashboard"] .cards .playing-card-container .count {
    color: #272727;
    font-size: 28px;
    line-height: 29px;
    font-weight: bold
}

@media only screen and (min-width:600px) {

    [data-view="viewer-dashboard"] .cards .playing-card-container .number,
    [data-view="viewer-dashboard"] .cards .playing-card-container .count {
        font-size: 30px
    }
}

[data-view="viewer-dashboard"] .cards .playing-card-container .info p:after {
    text-shadow: none
}

[data-view="viewer-dashboard"] .cards .playing-card-container .count {
    padding-top: 13px
}

[data-view="viewer-dashboard"] .cards .playing-card-container .count:after {
    top: 11.5px
}

[data-view="viewer-dashboard"] .cards .playing-card-container i.question {
    position: relative;
    top: 34%;
    transform: translateY(-34%);
    font-size: 100px;
    color: #123e25;
    margin: 0 auto
}

[data-view="viewer-dashboard"] .cards .playing-card-container i.check {
    color: #ef0000;
    font-size: 35px;
    position: absolute;
    top: -15px;
    border-radius: 50%;
    right: -15px;
    padding: 3px;
    box-shadow: 0 0 17px 3px #ef0000, 0 0 4px 2px #ce0404;
    background-color: #fff
}

[data-view="viewer-dashboard"] .cards .playing-card-container i.x-circle {
    color: #ef0000;
    font-size: 35px;
    position: absolute;
    top: -15px;
    border-radius: 50%;
    right: -15px;
    padding: 3px;
    box-shadow: 0 0 17px 3px #ef0000, 0 0 4px 2px #ce0404;
    background-color: #fff
}

[data-view="viewer-dashboard"] .cards .playing-card-container.selected i.check {
    display: block
}

[data-view="viewer-dashboard"] .cards .playing-card-container.dump-remove i.x-circle ,
[data-view="viewer-dashboard"] .cards .playing-card-container.hq-select i.x-circle ,
[data-view="viewer-dashboard"] .cards .playing-card-container.chamber-select i.x-circle {
    display: block
}

[data-view="viewer-dashboard"] .view-card {
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    cursor: pointer
}

[data-view="viewer-dashboard"] .view-card.is-above {
    z-index: 100;
    position: fixed;
}

[data-view="viewer-dashboard"] .view-card.is-visible {
    opacity: 1
}

[data-view="viewer-dashboard"] .view-card .playing-card-face {
    position: relative
}

[data-view="viewer-dashboard"] .view-card>div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    width: 390px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    zoom: .9;
    box-shadow: 1px 0 18px 3px rgba(0, 0, 0, 0.54);
    -webkit-box-shadow: 1px 0 18px 3px rgba(0, 0, 0, 0.54);
    -moz-box-shadow: 1px 0 18px 3px rgba(0, 0, 0, 0.54)
}

@media only screen and (min-width:600px) {
    [data-view="viewer-dashboard"] .view-card>div {
        zoom: none
    }
}

[data-view="viewer-dashboard"] .view-card>div .description {
    padding: 0 20px 20px;
    font-size: 18px;
    line-height: 20px
}

[data-view="viewer-dashboard"] .view-card>div .description span {
    font-weight: bold
}

[data-view="viewer-dashboard"] .view-card>div>div {
    width: 350px;
    height: 600px;
    margin: 20px
}

.playing-card-wrapper.-invert {
    filter: invert(100%);
    transition: 1s
}

.playing-card-wrapper.-grayscale {
    filter: grayscale(100%);
    transition: 1s
}

.playing-card-wrapper.-blur {
    filter: blur(4px);
    transition: .5s
}

.playing-card-wrapper.-bounce {
    animation: bounce;
    animation-duration: .5s
}

.playing-card-wrapper.-rubberBand {
    animation: rubberBand;
    animation-duration: .7s
}

.playing-card-wrapper.-jello {
    animation: jello;
    animation-duration: .7s
}

.playing-card-wrapper.-wobble {
    animation: wobble;
    animation-duration: 1s
}

.playing-card-wrapper.-shakeX {
    animation: shakeX;
    animation-duration: .7s
}

.playing-card-wrapper.-shakeY {
    animation: shakeY;
    animation-duration: .7s
}

.playing-card-wrapper.-swing {
    animation: swing;
    animation-duration: .7s
}

.playing-card-wrapper.-tada {
    animation: tada;
    animation-duration: .7s
}

.playing-card-wrapper.-beat {
    animation: heartBeat;
    animation-duration: .7s
}

.playing-card-wrapper.-flash {
    animation: flash;
    animation-duration: .3s
}

.playing-card-wrapper.-shine:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: shine 3s ease-in-out;
    z-index: 2
}

.playing-card-wrapper.-glow-red {
    animation: glow-red .5s linear infinite
}

.playing-card-wrapper.-glow-green {
    animation: glow-green .5s linear infinite
}

.playing-card-wrapper.-powerup {
    animation: powerup .3s linear infinite
}

.context-menu {
    position: absolute;
    background: #747474;
    border: 1px solid #ccc;
    z-index: 1000;
    top: 0;
    right: 0;
  }
  .context-menu div {
    padding: 8px 12px;
    cursor: pointer;
  }
  .context-menu div:hover {
    background-color: #f0f0f0;
    color: #030303;
  }
  .overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
  }
  

@keyframes glow-red {
    0% {
        -webkit-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4);
        -moz-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4);
        box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4)
    }

    20% {
        -webkit-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65);
        -moz-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65);
        box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65)
    }

    40% {
        -webkit-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.95);
        -moz-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.95);
        box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.95)
    }

    80% {
        -webkit-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65);
        -moz-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65);
        box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.65)
    }

    100% {
        -webkit-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4);
        -moz-box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4);
        box-shadow: 0 0 20px 10px rgba(168, 3, 3, 0.4)
    }
}

@keyframes glow-green {
    0% {
        -webkit-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4);
        -moz-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4);
        box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4)
    }

    20% {
        -webkit-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65);
        -moz-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65);
        box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65)
    }

    40% {
        -webkit-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.95);
        -moz-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.95);
        box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.95)
    }

    80% {
        -webkit-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65);
        -moz-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65);
        box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.65)
    }

    100% {
        -webkit-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4);
        -moz-box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4);
        box-shadow: 0 0 20px 10px rgba(3, 168, 11, 0.4)
    }
}

@keyframes powerup {
    0% {
        -webkit-box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3);
        -moz-box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3);
        box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3)
    }

    20% {
        -webkit-box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65);
        -moz-box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65);
        box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65)
    }

    40% {
        -webkit-box-shadow: 0 0 20px 20px rgba(223, 238, 8, 0.95);
        -moz-box-shadow: 0 0 20px 20px rgba(223, 238, 8, 0.95);
        box-shadow: 0 0 20px 20px rgba(223, 238, 8, 0.95)
    }

    80% {
        -webkit-box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65);
        -moz-box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65);
        box-shadow: 0 0 20px 15px rgba(223, 238, 8, 0.65)
    }

    100% {
        -webkit-box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3);
        -moz-box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3);
        box-shadow: 0 0 20px 10px rgba(223, 238, 8, 0.3)
    }
}

@keyframes shine {
    from {
        background-repeat: no-repeat;
        background-image: -webkit-linear-gradient(top left, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 0) 45%, rgba(250, 250, 250, 0.3) 48%, rgba(250, 250, 250, 0.5) 50%, rgba(250, 250, 250, 0.3) 52%, rgba(250, 250, 250, 0) 57%, rgba(250, 250, 250, 0) 100%);
        background-position: -400px -400px;
        background-size: 600px 600px
    }

    to {
        background-repeat: no-repeat;
        background-position: 900px 900px
    }
}