/* main container */
.container-animation {
    top: 0px;
    background: #fff;
    width: 100%;
    height: 100%;
    min-height: 800px;
    position: absolute;
    left: 0%;
    /*background:#1E1E20 url(https://mir-s3-cdn-cf.behance.net/project_modules/hd/0ab4b036812305.572a1cada9fdc.gif) center top no-repeat;*/
    background-size: cover;
}
.loader {
    text-align: center;
}
.loader span {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: -280px 40px 64px -34px;
    /*background:url("https://cdn2.iconfinder.com/data/icons/chinese-new-years-2/4000/chinese24_new_years_rain_imlek_chineseculture-128.png");*/
    background: url("img/envelope.png.html");
    -webkit-animation: loader 10s infinite linear;
    -moz-animation: loader 10s infinite linear;
}
.loader span:nth-child(5n + 5) {
    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
}
.loader span:nth-child(3n + 2) {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
}
.loader span:nth-child(2n + 5) {
    -webkit-animation-delay: 1.7s;
    -moz-animation-delay: 1.7s;
}

.loader span:nth-child(3n + 10) {
    -webkit-animation-delay: 2.7s;
    -moz-animation-delay: 2.7s;
}
.loader span:nth-child(7n + 2) {
    -webkit-animation-delay: 3.5s;
    -moz-animation-delay: 3.5s;
}
.loader span:nth-child(4n + 5) {
    -webkit-animation-delay: 5.5s;
    -moz-animation-delay: 5.5s;
}
.loader span:nth-child(3n + 7) {
    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
}
@-webkit-keyframes loader {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;

        -webkit-transform: translate(0, 0px) rotateZ(0deg);
    }
    75% {
        width: 80px;
        height: 80px;
        opacity: 1;

        -webkit-transform: translate(100px, 600px) rotateZ(270deg);
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;

        -webkit-transform: translate(150px, 800px) rotateZ(360deg);
    }
}
@-moz-keyframes loader {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;

        -webkit-transform: translate(0, 0px) rotateZ(0deg);
    }
    75% {
        width: 80px;
        height: 80px;
        opacity: 1;

        -webkit-transform: translate(100px, 600px) rotateZ(270deg);
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;

        -webkit-transform: translate(150px, 800px) rotateZ(360deg);
    }
}

.main-body {
    position: relative;
    max-width: 480px;
    -webkit-margin-start: auto;
    margin-inline-start: auto;
    -webkit-margin-end: auto;
    margin-inline-end: auto;
    -webkit-transition: 0.5s ease-out;
    transition: 0.5s ease-out;
    font-family: "Poppins", sans-serif;
    height: 100vh;
}

.main-card {
    background: transparent;
    width: 100%;
}

.main-card .game-section {
    margin: 0;
    height: 100vh;
    background-image: url('../img/feature/bg2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


 .slot-machine {
     max-width: 440px;
     margin: 0 auto;
     position: relative;
}
 .slot-machine > img {
     display: block;
     position: relative;
     width: 100%;
}

.slotwrapper {
    position: absolute;
    overflow: hidden;
    display: flex;
    height: 70vh;
    width: 100%;
    top: 50%;
}
.slotwrapper ul {
    padding: 0;
    /*margin: 0;*/
    list-style: none;
    position: relative;
    float: left;
    width: 200px;
    font-size: 150px;
    line-height: 200px;
    text-align: center;
    height: auto;
}

.slotwrapper ul li {
}

.slotwrapper ul li img {
    /*vertical-align: middle;
    height: 100%;*/
}
.slot-machine-btn {
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translate(0, -50%);
    background: transparent;
    border: none;
    width: 80px;
    margin-top: 70px;
    transition: 0.4s all ease-in-out;
}
.slot-machine-btn.clicked {
    transform: translate(0, -50%) rotateX(190deg);
}
/*#btn-spin:hover > img {
    -webkit-animation: rotation 2s infinite linear;
}*/
#btn-spin > img {
    transition: 0.1s all ease-in-out;
   user-select: none;
}
:not(button) img {
  pointer-events: none;
}
.spining-around{
    -webkit-animation: rotation 0.5s infinite linear;
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to   {-webkit-transform: rotate(359deg);}
}

.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 30px 0;
    background-color: #3498db;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 500 18px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
    z-index: 2;
    font-weight: 700;
}

.ribbon-top-right {
    right: 0px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: 0px;
    top: 10px;
    transform: rotate(45deg);
}


.countdown {
    color: #FEE134;
    font-size: 15px;
    font-weight: bold;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
@keyframes example {
    0%   {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
    50%  {
        filter: brightness(0.5);
        filter: contrast(0.5);
        -webkit-filter: brightness(0.5);
        -webkit-filter: contrast(0.5);
    }
    100% {
        filter: brightness(1);
        filter: contrast(1);
        -webkit-filter: brightness(1);
        -webkit-filter: contrast(1);
    }
}
