#tarot-burimas {display:block;}
#containeris10 {display:none;}
#rinktis-korta {
    display: none;
    overflow: hidden;
}


article {
    z-index: 1;
    justify-self: center;
    align-self: center;
    /* margin: auto; */
    -webkit-transform: translateY(-200px) translateX(-100px);
    -moz-transform: translateY(-200px) translateX(-100px);
    -ms-transform: translateY(-200px) translateX(-100px);
    transform: translateY(-200px) translateX(-100px);
}

figure,
#containeris10 div {
    width: 150px;
    height: 350px;
    border-radius: 3px;
    filter: drop-shadow(7px 7px 7px rgba(0, 0, 0, 0.33));
    background: url('../img/tarot-card-back.png') no-repeat center;
    animation: shuffle2 2s ease infinite;
    position: absolute;
    margin: 0 auto;
}

/* figure {
  animation: shuffle2 2s ease infinite;
}

div {
  animation: shuffle1 2s ease infinite;
} */

.spin figure {
    /* animation: shuffle2 2s ease infinite; */
    animation-direction: reverse;
}

figure:nth-child(2) {
    /* left: 150px; */
    animation-delay: .5s;
}

figure:nth-child(3) {
    /* left: 150px; */
    /* top: 150px; */
    animation-delay: 1s;
}

figure:nth-child(4) {
    /* top: 150px; */
    animation-delay: 1.5s;
}

#containeris10 div:nth-child(2) {
    /* left: 50px; */
    animation-delay: .5s;
}

#containeris10 div:nth-child(3) {
    /* left: 50px; */
    /* top: 50px; */
    animation-delay: .8s;
}

#containeris10 div:nth-child(4) {
    /* top: 50px; */
    animation-delay: 1.5s;
}

@keyframes shuffle1 {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(50px) rotate(90deg);
    }
    50% {
        transform: translateX(50px) translateY(50px) rotate(0);
    }
    75% {
        transform: translateX(0) translateY(50px) rotate(90deg);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes shuffle2 {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(150px) rotate(90deg);
    }
    50% {
        transform: translateX(150px) translateY(150px) rotate(0);
    }
    75% {
        transform: translateX(0) translateY(150px) rotate(90deg);
    }
    100% {
        transform: translateX(0);
    }
}

#containeris10 {
    position: relative;
    margin: 0 auto;
    width: 100px;
}

/* Sound control positioning - BELOW shuffle animation */
.container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
}

.garsas {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: none;
    cursor: pointer;
    transition: none;
    max-width: 280px;
    margin: 0 auto;
}

.garsas:hover {
    box-shadow: none;
    transform: none;
}

.garsas img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.garsas:hover img {
    transform: scale(1.1);
}

.garsas p {
    margin: 0;
    padding-left: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    user-select: none;
}