#random,
#desc {
    display: none;
}

#random.active,
#desc.active {
    display: table;
}

body {
    font-family: arial;
}

.card-body.new-bg {
    background: #2e3338;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
}

.bg-gold {
    background-image: linear-gradient(to bottom, #ded77d, #dccd80, #a8883c, #c09a29);
    border: 1px solid #dcd07f;
}

.card-header {
    background: #314e51 !important;
    border: 2px solid #ffe808;
    min-height: 30px;
}

.card.card-custom {
    box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.05);
    border: 0;
}

.card.card-custom>.card-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: 70px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
}

.card.card-custom>.card-header .card-title {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    margin-left: 0;
}

.card.card-custom>.card-header .card-title .card-icon {
    margin-right: 0.75rem;
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon i {
    font-size: 1.25rem;
    color: #7E8299;
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon i:after,
.card.card-custom>.card-header .card-title .card-icon i:before {
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg {
    height: 24px;
    width: 24px;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg g [fill] {
    transition: fill 0.3s ease;
    fill: #7E8299;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg:hover g [fill] {
    transition: fill 0.3s ease;
}

.card.card-custom>.card-header .card-title,
.card.card-custom>.card-header .card-title .card-label {
    font-weight: 500;
    font-size: 1.275rem;
    color: #181C32;
}

.card.card-custom>.card-header .card-title .card-label {
    margin: 0 0.75rem 0 0;
    flex-wrap: wrap;
}

.card.card-custom>.card-header .card-title small {
    color: #B5B5C3;
    font-size: 1rem;
}

.card.card-custom>.card-header .card-toolbar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.card.card-custom>.card-header.card-header-tabs-line {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: stretch;
}

.card.card-custom>.card-header.card-header-tabs-line .card-toolbar {
    margin: 0;
}

.card.card-custom>.card-header.card-header-tabs-line .nav {
    border-bottom-color: transparent;
}

.card.card-custom>.card-header.card-header-tabs-line .nav .nav-item {
    align-items: stretch;
}

.card.card-custom>.card-header.card-header-tabs-line .nav .nav-link {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.card.card-custom>.card-header.card-header-right {
    justify-content: flex-end;
}

/* Sets the background image for the wheel */

td.the_wheel {
    background: url(bg_spinc.webp) no-repeat;
background-position: 0px 40%;
position: relative;
background-size: 100%;
}

td.the_wheel::after {
    content: "";
    width: 25%;
    height: 100%;
    position: absolute;
    top: 1%;
    left: 38%;
background-size: auto;
background-size: contain;
}

/* Do some css reset on selected elements */
h1,
p {
    margin: 0;
}

div.html5_logo {
    margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {
    background-color: white;
    cursor: default;
}

td.pw1 {
    background-color: #6fe8f0;
}

td.pw2 {
    background-color: #86ef6f;
}

td.pw3 {
    background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
    margin-bottom: 5px;
}

h3 {
    font-size: 1.2em;
}


@font-face {
    font-family: 'Custom';
    src: url('https://spinbugis.com/font/Play-Bold.ttf');

}

body,
html {
background:url(bgx.webp) #000000 center fixed no-repeat;
background-size:100% 100%;
color:#f0f0f0;
font-family: 'Custom',
helvetica,
arial;
padding:0;
margin:0;
zoom:0.8
}
#history-wrapper{
    display: none;
}
#welcome-wrapper,
#history-wrapper,
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#welcome-wrapper,
#history-wrapper {
    z-index: 9;
    background: rgba(0, 0, 0, 0.8);
}
#welcome,
#history {
    width: 800px;
    max-width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.75;
    /*background: #de2d2d;*/
    box-shadow: inset 0 0 0 1px #5be6b4,inset 0 2px 0 0 #5be6b4,inset 0 4px 4px 2px #5be6b4,3px 3px 3px 1px rgba(0,0,0,0.2);
      background: #314e51;
      border: 1px solid #5be6b4 !important;
    color: #fff;
}

#history{
    width: 300px;
}

#wrapper {
    position: relative;
}

#alert,
#congrats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition-duration: .25s;
    z-index: 9
}

#alert-message,
#congrats-message {
    /*background: #d9af4f;*/
    box-shadow: inset 0 0 0 1px #5be6b4,inset 0 2px 0 0 #5be6b4,inset 0 4px 4px 2px #5be6b4,3px 3px 3px 1px rgba(0,0,0,0.2);
      background: #314e51;
      border: 1px solid #5be6b4 !important;
    padding: 20px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

#close-alert,
#close-congrats {
    font-size: 2em;
    position: absolute;
    right: -10px;
    top: -15px;
    background: #062b08;
    cursor: pointer;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
}

#alert.hidden,
#congrats.hidden,
.confetti.hidden {
    transition-duration: .25s;
    -webkit-transition-duration: .25s;
    -moz-transition-duration: .25s;
    opacity: 0;
    z-index: -1
}

#spin_button,
#spin_button_mobile {
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    border-width: 2px;
    border-radius: 50px;
    background-image: linear-gradient(to bottom,#de2d2d 0%,#b10e0e 100%);
    background: linear-gradient(90deg, #3b654e, #5dedba);
    border: 2px solid #d1d1d1;
    /*background: linear-gradient(to bottom, #de2d2d, #de2d2d);*/
    color: #fff !important;
    /*border-color: #de2d2d;*/
    margin-bottom: 30px;
}

#spin_button:hover, #spin_button_mobile:hover, #spin_button:hover, #spin_button_mobile:focus {
  color: white;
  background: #5DEDBAff;
  transform: scale(110%);
}
        
#code-desk,
#code-mob,
#code-username,
#code-username-mob {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-align: center;
}

.claim {
    display: inline-block;
    margin: 10px 5px;
    margin-bottom: 0;
    border: 1px solid #ffd700;
    padding: 5px;
    background: #0a220a;
}

* {
    box-sizing: border-box
}

.hide-on-desktop {
    display: table-cell
}

.hide-on-mobile {
    display: none
}

.confetti {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#confetti2 {
    left: initial;
    right: 0
}

@media  only screen and (max-width: 600px) {
    body,
    html  {
        background:url(bgmob.webp) #000000 center center no-repeat;
        background-size: cover;
    }

    #spaced{
        display: none;
    }
    #logosecond{
        padding-right:50px;
        max-width: 275px;
    }
}

@media  screen and (max-width: 640px) and (min-width: 360px) {
      .desktab{
            max-width: 200%;
            width: 100%;
      }
      
      #canvas{
            padding-top: 13.5% !important;
            max-width: 100%;
            width: 97%;
      }
}

 @media  screen and (max-width: 850px) and (min-width: 420px) {
      .desktab{
            max-width: 200%;
            width: 100%;
      }
      
      #canvas{
            padding-top: 12.5% !important;
            max-width: 100%;
            width: 97%;
      }
}

@media  only screen and (min-width: 1024px) and (max-width: 1100px) {
    #canvas{
        padding-top: 29% !important;
        max-width: 101% !important;
        width: 96% !important;
    }
    .the_wheel{
        width: 100% !important;
    }
    .desktab{
        max-width: 278% !important;
        width: 224% !important;
        margin-top: -181px;
        margin-left: -400px;
    }
    .hide-on-mobile{
        min-width: 700px !important;
    }
}
       

@media  only screen and (min-width: 991px) and (max-width: 1023px) {
    #canvas{
        padding-top: 7.5% !important;
            max-width: 101% !important;
        width: 96% !important;
    }
    

}

@media  only screen and (min-width: 1110px) and (max-width: 1300px) {
.hide-on-mobile{
        min-width: 700px !important;
    }
    
    #canvas{
        padding-top: 22% !important;
        max-width: 101% !important;
        width: 96% !important;
    }
    
    .the_wheel{
        width: 100% !important;
    }
    .desktab{
        max-width: 278% !important;
        width: 224% !important;
        margin-top: -181px;
        margin-left: -400px;
    }
}

@media  only screen and (min-width: 1500px) and (max-width: 1790px) {
    .hide-on-mobile{
        min-width: 700px !important;
    }
    .the_wheel{
        width: 100% !important;
    }
    .desktab{
        max-width: 278% !important;
        width: 178% !important;
        margin-top: -181px;
        margin-left: -400px;
    }
    #canvas{
        padding-top: 20% !important;
        max-width: 101% !important;
        width: 96% !important;
    }
}

@media  only screen and (min-width: 1800px){
.hide-on-mobile{
        min-width: 700px !important;
    }

    #canvas{
        padding-top: 17% !important;
        max-width: 101% !important;
        width: 96% !important;
    }
    
    .the_wheel{
        width: 100% !important;
    }
    .desktab{
        max-width: 278% !important;
        width: 178% !important;
        margin-top: -181px;
        margin-left: -400px;
    }
}

@media  only screen and (min-width: 1330px) and (max-width: 1490px) {

.hide-on-mobile{
        min-width: 700px !important;
    }

    #canvas{
        padding-top: 25.5% !important;
        max-width: 101% !important;
        width: 96% !important;
    }
    
    .the_wheel{
        width: 100% !important;
    }
    .desktab{
        max-width: 278% !important;
        width: 178% !important;
        margin-top: -181px;
        margin-left: -400px;
    }
}


@media  only screen and (min-width: 1024px) {

    body,
    html {
        zoom: 1
    }

    .the_wheel{
        width: 100% !important;
    }

    .hide-on-desktop {
        display: none
    }

    .hide-on-mobile {
        display: table-cell
    }

    .confetti {
        width: 50%
    }

    #alert-message,
    #congrats-message {
        width: initial;
    }
    .desk{
        top: 200px;
        position: relative;
    }
    
    td.the_wheel{
        padding-bottom: 112px;
    }
    
}

.kedip {
background-color: #1c87c9;
-webkit-border-radius: 60px;
border-radius: 60px;
border: none;
color: #eeeeee;
cursor: pointer;
display: inline-block;
font-family: sans-serif;
font-size: 14px;
padding: 10px;
width: 100%;
text-align: center;
text-decoration: none;
animation: glowing 1300ms infinite;
}
@keyframes  glowing {
0% {
  background-color: #740100;
  box-shadow: 0 0 5px #740100;
}
50% {
  background-color: #c10005;
  box-shadow: 0 0 20px #c10005;
}
100% {
  background-color: #870300;
  box-shadow: 0 0 5px #870300;
}
}


.btn-success{
    background-color: #b6b6b6;
    border-color: #b6b6b6;
    border-radius: 10px;
}

.float-tele {
        position:fixed;
        display:flex;
        align-items:center;
        justify-content:center;
        width:60px;
        height:60px;
        bottom:125px;
        left:40px;
        background-color:#2AABEE;
        color:#FFF !important;
        border-radius:50px;
        text-align:center;
        text-decoration:none !important;
        font-size:34px;
        z-index:99999;
    }
 @media  only screen and (max-width: 900px) {
        .float-tele {
            bottom: 10px;
        }
    }

.float-wa {
        position:fixed;
        display:flex;
        align-items:center;
        justify-content:center;
        width:60px;
        height:60px;
        bottom:40px;
        left:40px;
        background-color:#25d366;
        color:#FFF !important;
        border-radius:50px;
        text-align:center;
        text-decoration:none !important;
        font-size:34px;
        z-index:99999;
    }
    .float-livechat {
        position:fixed;
        display:flex;
        align-items:center;
        justify-content:center;
        width:60px;
        height:60px;
        bottom:40px;
        right:40px;
        padding: 15px;
        background-color:#de2d2d;
        color:#FFF !important;
        border-radius:50px;
        text-align:center;
        text-decoration:none !important;
        z-index:99999;
    }
    .float-livechat img.livechat {
        display: block;
        width: 100%;
    }
    
    .btn.btn-close {
        background-color: #121212 !important;
        color: #f5f5f5 !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 16px;
    }
    .btn.btn-close span {
        font-size: 22px;
    }

    @media  only screen and (max-width: 900px) {
        .float-wa, .float-livechat {
            /*width: 80px;*/
            /*height: 80px;*/
            bottom: 100px;
        }
        footer {
            margin-bottom: 180px;
        }
        td.the_wheel{
            padding-bottom: 60px;
        }
    }
    hr.new1 {
      border-top: 4px solid red;
    }