body {
    background-image: url(images/bg.png);
    background-color: #0c0013;
    color: white;
    font-size: 16px;
    background-repeat: no-repeat;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-position: center top;
    overflow-x: hidden;
}
body * {
    box-sizing: border-box;
}
.logo {
    margin: 0 auto;
    position: absolute;
    left: -179px;
    top: 22px;
    z-index: 9999998;
    max-width: 200px;
}
.header-title{
    position: relative;
    left: 22px;
    max-width: 100%;
}
.girls{
    position: absolute;
    left: calc(50% - 959px);
    top: 0;
    z-index: 999;
}
.button {
    margin: 0 auto;
    display: block;
    bottom: 0;
    margin-top: -47px;
    z-index: 1000;
    position: relative;
    cursor: pointer;
    background-repeat: no-repeat;
    background-image: url(images/button.png);
    background-size: contain;
    height: 75px;
    width: 224px;
}
.viigrai {
    animation: bounce 1.5s infinite;
    width:637px;
    height:100px;
    margin:0 auto;
    background:url(images/50000.png);
}
.button:hover,
.button-2:hover {
    filter: brightness(110%);
    cursor: pointer;
}
.button:after {
    content: '';
    display: block;
    width: 210px;
    height: 58px;
    position: relative;
    top: 7px;
    left: 7px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(20%, rgba(255, 255, 255, 0)), color-stop(40%, rgba(255, 255, 255, 0)), color-stop(60%, rgba(255, 255, 255, 0.4)), color-stop(80%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-position: 100%;
    background-size: 300%;
    animation: light 2.5s infinite ease-in;
    -webkit-animation: light 2.5s infinite ease-in;
}
#ostalos {
    width: 100%;
    text-align: center;
    display: block;
    color: #f8e482;
    position: relative;
    z-index: 999;
    margin-top: 10px;
    text-shadow: 0 0 2px #1a0909, 0 0 2px #1a0909, 0 0 2px #1a0909, 0 0 2px #1a0909;
}
.popup {
    width: 541px;
    max-width: 100%;
    left: calc( 50% - 270px);
    position: fixed;
    background: url(images/popup-bg.png);
    z-index: 9999999;
    border-radius: 3.5px;
    top: 14.8%;
    display: none;
    height: 518px;
    color: #545454;
}
.popup .popup-header{
    color: #fff;
    margin: 22px auto;
    font-size: 18px;
    text-align: center;
}
.filler {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: 9999999;
    display: none;
    opacity: 0.7;
}
.popup > img:nth-child(1) {
    float: left;
    width: 45%;
    margin-top: 50px;
    margin-right: 2.5%;
}
.popup .inner{
    width:100%;
    text-align:center;
    padding:10px;
    min-height: 367px;
}
.popup .bright-txt{
    color: #e19b38;
}
.popup .light-txt{
    color: #f7be6c;
}
.popup_exit__inner{
    width: 340px;
    margin: 0 auto;
    text-align:center;
    padding:10px;
    min-height: 367px;
    max-width: 100%;
}
.popup_exit__inner h1{
    text-transform:uppercase;
}
.htl{
    color: #ffcc00;
}
.close {
    position: absolute;
    top: 24px;
    right: 20px;
    cursor: pointer;
}
.sidebar {
    float: left;
    text-align: center;
    width: 50%;
    min-width: 300px;
}
.sidebar p {
    margin: -4px;
}
.sidebar h3,
.ht {
    color: #FFBD09
}
.sidebar h3 {
    margin-bottom: 5px;
    font-size: 22px;
}
.blue-text {
    color: #5697d0;
}
.small {
    font-size: 14px;
    margin: -5px;
    display: block;
}
.button-2 {
    z-index: 3;
    text-transform: uppercase;
    font-size: 19px;
    margin: 13px auto 20px;
    position: relative;
    padding: 0 20px;
    border: 0;
    line-height: 45px;
    height: 45px;
    background-color: #ca0101;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .22);
    color: #fff;
    width: 100%;
    max-width: 280px;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,.83), inset 0 1px 2px rgba(241, 168, 91, 0.7);
    background-image: linear-gradient(180deg,#e22300 0,#ce0000 51%,#770000 100%);
    color: #fff;
}
.button-2:after {
    content: '';
    display: block;
    width: 280px;
    height: 45px;
    position: relative;
    top: -45px;
    left: -20px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 3px;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(20%, rgba(255, 255, 255, 0)), color-stop(40%, rgba(255, 255, 255, 0)), color-stop(60%, rgba(255, 255, 255, 0.4)), color-stop(80%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-position: 100%;
    background-size: 300%;
    animation: light 2.5s infinite ease-in;
    -webkit-animation: light 2.5s infinite ease-in;
}
input {
    background: #0D1630;
    border: 1px solid #2d4e6b;
    padding: 9px;
    height: 43px;
    border-radius: 10px;
    text-align: center;
    margin: 10px auto;
    display: block;
    outline: none;
    color:white;
    font-size: 16px;
}
input:focus {
    box-shadow: 0 0 3px #5b7f9e;
}
.big-container {
    position: relative;
}
.big-container:before {
    position: absolute;
    content: " ";
    top: 19px;
    left: 20px;
    width: 549px;
    height: 314px;
    z-index: -1;
    background: #43191f;
}
.ticker {
    position: absolute;
    overflow: hidden;
    color: rgba(179, 155, 93, 0.78);
    right: inherit;
    left: calc(50% - 295px);
    height: 30px;
    width: 590px;
    background: #fff;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, .68);
    top: 189px;
    vertical-align: top;
    z-index: 99999;
}


.win-wrap{
    width: 435px;
    height: 30px;
    overflow:hidden;
    display: inline-block;
}
.ticker ul {
    list-style: none;
    margin: 0;
    display: inline-block;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}
.ticker ul li {
    text-align: center;
    font-size: 14px;
    float: left;
    width: 100%;
    height: 30px;
    display: flex;
}
.ticker span {
    line-height: 30px;
    width: 18%;
}
span.ticker-prize{
    width: 24%;
}
.ticker h2 {
    font-size: 14px;
    display: inline-block;
    text-align: center;
    color: #f8e482;
    height: 30px;
    margin: 0;
}
.header-ticker {
    background-color: transparent;
    color: #f8e482;
    font-size: 17px;
    text-transform: capitalize;
    text-align: center;
    padding: 3px;
    font-weight: bold;
    width: 150px;
    display: inline-block;
    position: relative;
    top: -9px;
}
.ticker .shiner {
    position: absolute;
    width: 100%;
    height: 80%;
}
.ticker .name {
    display: inline-block;
    font-weight: bold;
    height: 30px;
}
.ticker .location {
    display: inline-block;
    height: 30px;
}
.ticker ul{
    transition:all 0.5s;
}
#left{
    color: #f8e482;
}
.igrat{
    display:none;
}
.igrat:hover  {
    filter: brightness(110%);
    cursor: pointer;
}
.timer{
  font-size: 51px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
}
#popup form{
    width: 280px;
    margin: 20px auto 0;
}
#popup form input{
    width: 100%;
    border: 1px solid rgb(48, 52, 56);
    border-radius: 2px;
    background-color: rgb(41, 46, 50);
    color: #9e9e9e;
    opacity: 0.7;
}
#popup h3.header-get-bonus{
    margin: 60px auto;
    font-size: 26px;
}
#popup h3{
    max-width: 320px;
    margin: 0 auto 14px;
}
#popup form input:hover,
#popup form input:focus{
    opacity: 1;
}
.with-arrow:after{
    content: url(images/arrow.png);
    display:block;
    margin-top: 10px;
}
#canvas{
    display: block;
    margin: 20px auto 0;
}
#animation_container{
    max-width: 100%;
}
@media (max-width: 1024px) {
    .logo{
        left: -130px;
    }
    .ticker .shiner {
        width: inherit;
        height: inherit;
    }
    .header-title{
        position: static;
        display: block;
        margin: 0 auto 40px;
    }
    .igrat{
        display:block;
        margin:0 auto;
        transform: scale(0.8)
    }
    .button{
        transform: scale(0.8);
    }
    #ostalos{
        margin: 0 auto 60px;
    }
    body{
        background-image:url('images/bg.png');
        overflow-x: hidden;
    }
    .viigrai {
        animation: bounce 1.5s infinite;
        width:276px;
        height:139px;
        background:url(images/50.png);
    }
}

@media (max-width: 870px){
    body{
        background-image:url('images/mobile-bg.png');
        background-color: #040003;
    }
    .girls{
        display: none;
    }
    .big-container{
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }
    #canvas{
        height:auto;
        margin: 0;
        max-width:100%;
        width: 300px;
        left: calc(50% - 150px);
        position: relative;
    }
    .logo{
        position: static;
        display: block;
        width: 150px;
        margin-top: 10px
    }
    .header-title{
        max-width: 100%;
        width: 310px;
        margin-bottom: -10px;
    }
    .big-container:before {
        top: 0;
        width: 280px;
        height: 181px;
        left: calc(50% - 140px);
        max-width: 100%;
    }
    .ticker{
        position: static;
        width: 200px;
        margin: 164px auto 0;
        height: 210px;
        background: transparent;
    }
    .header-ticker{
        display: block;
        width: 100%;
        margin-bottom: -10px;
    }
    .ticker span {
        width: 100%;
        display: block;
        line-height: 1.4;
        font-size: 1.2em;
    }
    .ticker ul li{
        height: auto;
        display: block;
    }
    .win-wrap{
        width: 100%;
        height: 120px;
        text-align: center;
    }
    span.ticker-prize{
        width: 100%;
    }
    .button{
        margin-top: -37px;
        transform: scale(0.6);
    }
    #ostalos{
        margin-top: -10px;
        width: auto;
    }
}
@media (max-width: 570px) {
    .popup{
        width:100%;
        left:0;
        border-right: 1px solid #2a2a2a;
    }
}
/*@media (min-height: 600px) and (max-height: 767px) and (max-width:1366px) {
    body{
        transform: scale(0.75)
    }
    .filler{
        transform:scale(2)
    }
}*/
 @media (max-width: 541px){
    .popup{
        left: 0;
    }
}
@media (max-width: 590px){
    .sidebar{
        float: none;
        margin: 0 auto;
    }
    #popup{
        text-align: center;
        left: calc(50% - 150px);
        width: 300px;
        border-right: 2px solid #2a2a2a;
    }
    .popup > img:nth-child(1){
        float: none;
        width: 70%;
        margin: 0;
    }
    .sidebar h3{
        margin-top: 0;
    }
    #popup h3{
        margin-bottom: 3px;
        font-size: 16px;
    }
}
@media (max-width: 480px) {



    .ticker .shiner{
        width: inherit;
        height: inherit;
    }
}

@media (max-width: 380px){
    .popup .popup-header{
        margin: 11px 40px;
    }
} 
@keyframes light {
    0% {
        background-position: -100%;
    }
    100% {
        background-position: 100%;
    }
}
@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.03, 1.03, 1.03);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  animation-name: pulse;
  animation-duration: 1.2s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}