/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue'); */

@font-face {
    font-family: Gotham-Bold;
    src: url(fonts/Gotham\ Family/GothamBold.ttf);
}

@font-face {
    font-family: Bebas Neue;
    src: url(fonts/bebas_neue/BebasNeue-Regular.woff);


}

@font-face {
    font-family: Courier New Font;
    src: url(fonts/cour.ttf);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}

audio {
    display: none;
}

.background {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: fixed !important;
    width: 100%;
    background-position: 50% 50%;
}

.logo {
    position: fixed;
    top: 150px;
    width: 200px;
    height: 100px
}

.logo img {
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.container .stage {
    position: relative;
    height: 120px;
    bottom: -257px;
    left: 12px;
}

.container .stage img {

    width: 100%;
    height: 100%;
}

.container .pointer {
    position: absolute;
    height: 80px;
    width: 30px;
    bottom: -10px;
    z-index: 10;

}

.container .pointer img {

    width: 100%;
    height: 100%;
}



.container .spinBtn {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;

}

.container .spinBtn img {

    width: 100%;
    height: 100%;
}

/* .container .spinBtn::before {
    content: '';
    position: absolute;
    top: -30px;
    width: 20px;
    height: 30px;
    background: #fff;
    clip-path: polygon(50% 0%, 15% 100%, 85% 100%);
} */

.container .blink {
    position: absolute;

    top: 0;
    left: 0;
    transform: rotate(calc(var(--d) * var(--i)));
    transform-origin: bottom right;
    width: 50%;
    height: 50%;

}

.container .blink img {
    width: 50px;
    position: relative;
    top: 64px;
    left: -13px;
}


.container .wheel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 3px rgb(245, 212, 109),
        0 0 0 10px #430d2d,
        0 0 0 30px #551449,
        0 0 0 31px rgb(245, 212, 109);

}


.container .wheel.animate {
    transition: transform 8s ease;
}

/* .container .pointer {
    transition: ;
} */


.container .pointer.animate-fast {
    animation-name: pointer-crush;
    animation-duration: 0.2s;
    animation-iteration-count: 40;
    animation-direction: alternate;
    transform-origin: bottom;
    animation-timing-function: ease;
}

.container .pointer.animate-slow {
    animation-name: pointer-crush;
    animation-duration: 0.5s;
    animation-iteration-count: 4;
    animation-direction: alternate;
    transform-origin: bottom;
    animation-timing-function: ease;
}


@keyframes pointer-crush {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-15deg);

    }
}


.container .wheel .number {
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--clr);
    transform-origin: bottom right;
    transform: rotate(calc(var(--d) * var(--i)));
    clip-path: polygon(0 0, 59% 0, 100% 100%, 0 59%);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
    font-family: 'Bebas Neue'

}

.container .wheel .number span {
    position: relative;
    transform: rotate(45deg);
    font-size: 2em;
    font-weight: 700;
    color: var(--c);
    text-shadow: 3px 5px 2px rgba(0, 0, 0, 0.15);
}


.jackpot-coin {
    position: absolute;
    top: 0;
    z-index: 12;

}


.jackpot-coin img {
    width: 100%;
    height: 1005;
}

#middleDiv {
    max-height: 500px;
    /*overflow-y: hidden;*/
}

@media only screen and (max-width: 1000px) {

    .side-container {
        display:none!important;
    }

    #middleDiv {
        z-index: 9;
        transform: translateY(380px);
    }

    #mobilePrizeListDiv {
        display: block !important
    }

    #mobilePrizeList {
        border: 3px solid #fff;
        border-radius: 15px;
        background: rgba(1,1,1,0.15);
    }
}


@media only screen and (min-width: 768px) {

    .background {
        /*background-image: url('../images/background_desktop.png');*/
        /*background-image: url('../img/Background-gif.gif');*/
        background-image: url('../img/u99_bg.gif');
        background-size: cover;
        background-repeat: no-repeat;
        height: 100vh;
        position: fixed !important;
        width: 100%;
        height: 100%;
        background-position: 50% 0%;
    }

}

@media only screen and (max-width: 767px) {

    .background {
        /*background-image: url('../images/background_mobile.png');*/
/*        background-image: url('../img/phone-background.gif');*/
        background-image: url('../img/u99_bg_mobile.gif');
        background-position: 50% 0;
    }
    .displayDesktop {
        display: none;
    }

    .displayMobile {
        display: block !important;
    }
    #afterLogin {
        width: 100%;
    }

        #afterLogin .row > .col-12 {
            display: flex;
            justify-content: space-between;
        }

    #beforeLogin img {
        max-width: 130px;
        margin: 0 30px;
    }

    #afterLogin .row > .col-12 a img, #beforeLogin a img {
        max-width: 140px;
        margin: 0 30px;
    }

    
}

@media only screen and (max-width: 600px) {
    .clickable-box {
        height: 200px !important;
        bottom: 300px !important;
    }

    #middleDiv {
        transform: translateY(320px);
    }
}

@media only screen and (max-width: 550px) {
    #middleDiv {
        transform: translateY(280px);
    }
}

@media only screen and (max-width: 500px) {
    .modal-content{
        width:100%!important;
    }

    #middleDiv {
        transform: translateY(200px);
    }

    #afterLogin .row > .col-12 a img, #beforeLogin a img {
        max-width: 110px;
        margin: 0 10px;
    }
}


@media only screen and (max-width: 499px) {

    .logo {
        width: 150px;
        height: 60px;
    }

    .container {
        width: 280px;
        height: 280px;

    }

    .container .stage {
        height: 75px;
        bottom: -188px;
        left: 0;
    }

    .container .pointer {
        height: 60px;
    }

    .container .blink img {
        width: 30px;
        position: relative;
        top: 46px;
        left: -13px;
    }

    .container .wheel .number span {
        font-size: 1.5em;
    }


}

@media only screen and (max-height: 950px) {
    .logo{
        top: 110px;
    }
}

@media only screen and (max-height: 800px) {
    .logo{
        top: 130px;
    }
}



@media only screen and (max-height: 680px) {
    .logo{
        top: 95px;
    }
}


#afterLogin, #beforeLogin {
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: right;
}

#modalResult .modal-content{
    max-height:500px;
    overflow-y:scroll;
}

#modalResult .modal-content::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#modalResult .modal-content {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}