.deck3{max-width: 280px; grid-template-areas: "a a a";}
.deck4{max-width: 370px; grid-template-areas: "a a a a";}
.deck5{max-width: 460px; grid-template-areas: "a a a a a";}
.deck6{max-width: 550px; grid-template-areas: "a a a a a a";}
.deck7{max-width: 640px; grid-template-areas: "a a a a a a a";}
.deck8{max-width: 730px; grid-template-areas: "a a a a a a a a";}
.deck {
    padding: 10px;
    margin: 10px 0px;
    background: #fffa62;
    display: grid;
    grid-gap: 10px;
    border-radius: 8px;
}

.deck .card {
    height: 80px;
    width: 80px;
    background: #ffcf7f;
    display: inline-block;
    line-height: 140px;
    font-size: 0;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    vertical-align: top;
    cursor: pointer;
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    font-family: FontAwesome;
    line-height: 75px;
}
.deck .card.open {
    transform: rotateY(0);
    background: #89c4ff;
    cursor: default;
}
.deck .card.show-game {
    font-size: 33px;
    padding: 5px;
}
.deck .card img {
    display: none;
}
.deck .card.show-game img {
    display: block;
}
.deck .card.match img {
    display: block;
}

.show-game{
    display: inline-block !important;
}

.deck .card.match {
    transform: rotateY(0);
    cursor: default;
    background: #9bcb3c;
    font-size: 33px;
    padding: 5px;
}
.deck .card.notmatch {
    background: #ee0e51;
    padding: 5px;
}
.score-panel {
    text-align: left;
    width: 400px;
    padding-bottom: 10px;
    margin: 0 auto !important;
}
.score-panel .stars {
    margin: 0;
    padding: 0;
    display: inline-block;
    margin: 0 5px 0 0;
}
.score-panel .stars li {
    list-style: none;
    display: inline-block;
}
.score-panel .restart {
    float: right;
    cursor: pointer;
}
*::selection {
    background: transparent;
}
.swal2-overlay {
    background-color: rgba(255, 255, 255, 1);
}
