.coin-flip{
    min-height: 200vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.sprite{
    position: absolute;
    display: none;
}

.sprite.current{
    display: block;
}

.coin{
    display: flex;
    justify-content: center;
}
.coin-1{
    position: absolute;
    left: 50%;
    top: 16%;
    transform: translateX(calc(-15vw - -50%)) scale(.25);
}

.coin-2{
    position: absolute;
    left: 50%;
    top: 12%;
    transform: translateX(-50%) scale(1);
    display: flex;
    justify-content: center;
    z-index: 2;
}
.coin-3{
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translateX(calc(10vw - -50%)) scale(.6);
}

.black-hole{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform-origin: center;
    transform: translate(-50%, 5px) scaleX(1.8);
    z-index: 1;
}


/* NEW ANIM */
.coin-new-anim-wrapper{
    display: flex;
    height: 50vh;
    width: 600px;
    position: relative;

    & .coin-new-anim{
        display: flex;
        position: absolute;
        height: 200px;
        width: 200px;

        & .new-coin{
            opacity: 0;
            height: 200px;
            width: 200px;
            position: absolute;
            top: 0;
            left: 0;
        }
        & .new-coin:nth-child(1){
            background: url(../../../assets/img/coins-animation-01.svg) no-repeat;
        }
        & .new-coin:nth-child(2){
            background: url(../../../assets/img/coins-animation-02.svg) no-repeat;
        }
        & .new-coin:nth-child(3){
            background: url(../../../assets/img/coins-animation-03.svg) no-repeat;
        }
        & .new-coin:nth-child(4){
            background: url(../../../assets/img/coins-animation-04.svg) no-repeat;
        }

    } 

    & .coin-new-anim:nth-child(1){
        left: 0;
        top: 0;
    }
    & .coin-new-anim:nth-child(2){
        left: 50%;
        transform: translate(-50%, 25%);
        top: 0%;
        height: 400px;
        width: 400px;
        & .new-coin{
            height: 400px;
            width: 400px;
        }
    }
    & .coin-new-anim:nth-child(3){
        right: 0;
        top: 0;
        & .new-coin{
            height: 300px;
            width: 300px;
        }
    }

}




@media (max-width: 768px) {
    .coin-new-anim-wrapper{
        width: 600px;

        & .coin-new-anim:nth-child(2){
            height: 300px;
            width: 300px;
            & .new-coin{
                height: 300px;
                width: 300px;
            }
        }
        & .coin-new-anim:nth-child(3){
            & .new-coin{
                height: 200px;
                width: 200px;
            }
        }
    }    
}

/* MOBILE */
@media (max-width: 576px) {

    .coin-flip{
        min-height: 100vh;
    }

    .coin-2{transform: translateX(-50%) scale(0.7);}
    .coin-3{transform: translateX(calc(10vw - -50%)) scale(.5);}

    .coin-new-anim-wrapper{
        width: 400px;

        & .coin-new-anim{
            display: flex;
            position: absolute;
            height: 100px;
            width: 100px;
    
            & .new-coin{
                opacity: 0;
                height: 100px;
                width: 100px;
                position: absolute;
                top: 0;
                left: 0;
            }
        }

        & .coin-new-anim:nth-child(1){
            left: 2rem;
        }

        & .coin-new-anim:nth-child(2){
            height: 200px;
            width: 200px;
            & .new-coin{
                height: 200px;
                width: 200px;
            }
        }
        & .coin-new-anim:nth-child(3){
            right: 50px;
            & .new-coin{
                height: 150px;
                width: 150px;
            }
        }
    }


}