body {
    margin: 0px;
}

@font-face {
    font-family: 'Oswald';
    src:  url(../fonts/Oswald-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: 'Oswald';
    src:  url(../fonts/Oswald-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: 'DIN Condensed';
    src:  url(../fonts/DINCondensed-Regular.ttf);
}

@font-face {
    font-family: 'Impact';
    src:  url(../fonts/impact.ttf);
}

@font-face {
    font-family: 'Termina';
    src:  url(../fonts/Termina-Bold.otf);
}

body {
    background-image: url(../img/main-bg.png);
    background-size: cover;
    background-position: center;
    background-position-y: -2px;
    background-color: #000;
}

.top-wrapper-block {
    width: 100%;
    /* background: #fff; */
}

.main_wrapper {
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-size: 1.8vh;
}

.main-logo {
    text-align: center;
    padding: 4vh 0 4vh;
}

.slot-content-wrapper {
    margin-top: 40px;
}

.top-wrapper-block {
    position: relative;
    z-index: 99;
}

.wheel-container {
    position: relative;
    z-index: 9;
    max-height: calc(100vh - 100px - 10vh - 100px);
    max-width: calc(100vh - 100px - 10vh - 100px);
}

.bottom-paylogo {
    max-width: 1000px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 9;
    margin: auto;
}

.flex-logo-bottom {
    width: 100%;
    background: #fff;
    padding: 17px;
}

.main-wrapper-block {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: center;
    height: 100%;
}

.item-paylogo {
    margin: 0px 10px;
    flex-basis: 11.11%;
}

.item-paylogo img {
    width: 100%;
}



.hero-btn {
    display: inline-block;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-image: url(../img/pleambe.png);
    background-color: transparent;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}



[data-modal] {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    min-width: 320px;
    text-align: center;
    font-size: 0;
    transform: translate3d(0, 0, 0);
    overflow: auto;
    transition: opacity 1s, visibility 1s, z-index .3s;
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 15px
}

[data-modal]:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 100%
}

[data-modal].is-open {
    opacity: 1;
    visibility: visible;
    z-index: 100
}

[data-modal-container] {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto
}

.modal__container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-height: 500px;
    display: flex;
    align-items: center;
}

.sensational img {
    max-width: 61%;
}

.modal__content {
    margin-top: 14%;
}

button.hero-btn.js-play-btn span {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(124.22deg, #FFE49B 2.94%, #FFAA00 102.18%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


.slot-wrap {
    width: 37.5em;
    height: 23.375em;
    background: url(../img/slot_bg.png) no-repeat center/contain;
    margin: 0 auto;
    margin-top: 0;
    padding-left: 3.2em;
    padding-right: 2.9em;
    padding-top: 3.8em;
    padding-bottom: 1.5em;
    -webkit-animation: show_up 1 0.75s both ease;
    animation: show_up 1 0.75s both ease;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}


.slot-container__item--1 {
    background-image: url("../img/slot_col_1.png");
  }
  .slot-container__item--2 {
    background-image: url("../img/slot_col_2.png");
  }
  .slot-container__item--3 {
    background-image: url("../img/slot_col_3.png");
  }
  .slot-container__item--4 {
    background-image: url("../img/slot_col_4.png");
  }
  .slot-container__item--5 {
    background-image: url("../img/slot_col_5.png");
  }
  .slot-container__item--6 {
    background-image: url("../img/slot_col_6.png");
  }



  .slot-container__win-line {
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    height: 7.1875em;
    width: 100%;
    position: absolute;
    -webkit-box-shadow: 0em 0em 1.5625em 0em gold inset;
            box-shadow: 0em 0em 1.5625em 0em gold inset;
    margin-top: 0.2em;
    display: none;
    opacity: 0;
    -webkit-animation: blinking 0.5s infinite ease alternate;
            animation: blinking 0.5s infinite ease alternate;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
  }

  .slot-container {
    width: 100%;
    height: 100%;
    border-radius: 1.875em;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    position: relative;
  }
  .slot-container__item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0em 0.312em;
    background-position: center top;
    background-repeat: repeat-y;
    height: 100%;
    background-size: 6em;
  }

  #game-start {
    font-family: 'Termina';
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 125%;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #F8FF13;
    text-decoration: none;
    background: #000000;
    border-radius: 62px;
    padding: 21px 60px;
    filter: drop-shadow(0px 0px 20px #FAFF00);
    transition: all 0.4s ease-in-out;
    margin: auto;
    border: none;
    cursor: pointer;
    justify-content: center;
    width: fit-content;
}

#game-start.active-btn {
    background: #F8FF13;
    color: #000;
}

#game-start:hover {
    background: #F8FF13;
    color: #000;
}

.game-controls {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 9995;
}

span.subtitle-text-image img {
    max-width: 400px;
}

.main-logo img {
    max-width: 330px;
}

span.title-text {
    font-family: 'Termina';
    font-style: normal;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #F8FF13;
    text-shadow: 0px 0px 17.6047px rgba(88, 255, 245, 0.25);
}

.main__wheel {
    text-align: center;
    position: relative;
}

span.subtitle-text {
    font-family: 'Termina';
    display: block;
    margin-top: 6px;
    border-radius: 13px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0px 0px 17.6047px rgba(88, 255, 245, 0.25);
}

span.description-text {
    font-size: 21px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    font-family: 'Termina';
}

.show-result .slot-container__win-line {
    display: block;
    opacity: 1;
}

@-webkit-keyframes blinking {
    0% {
      opacity: 0.2;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes blinking {
    0% {
      opacity: 0.2;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
    }
  }

.slot-container__win-line {
    top: 53%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 6.3em;
    width: 100%;
    position: absolute;
    -webkit-box-shadow: 0em 0em 1.5625em 0em gold inset;
    box-shadow: 0em 0em 1.5625em 0em gold inset;
    margin-top: -3.4375em;
    display: none;
    opacity: 0;
    -webkit-animation: blinking 0.5s infinite ease alternate;
    animation: blinking 0.5s infinite ease alternate;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.main-wrapper.show-result .slot-container__win-line {
    display: block;
    opacity: 1;
}

.main__wheel {
    position: relative;
}

span.title-slot-bg {
    font-family: 'Termina';
    font-style: normal;
    font-weight: 400;
    font-size: 0.9em;
    line-height: 29px;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    margin-top: -2.96em;
    left: calc(50% - 9em);
    background: linear-gradient(180deg, #FAFF00 44.95%, #AC24FF 86.86%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    margin-left: 1.1em;
}


.donat1 {
    position: absolute;
    left: 2%;
    bottom: 26%;
}

.donat1 img {
    max-width: 40vh;
}

.girl1 {
    position: absolute;
    left: 11%;
    z-index: 0;
    bottom: -3%;
}

.slot-content-wrapper {
    position: relative;
    z-index: 91;
}

.girl1 img {
    max-height: 70vh;
}

.ball1 {
    position: absolute;
    bottom: 15%;
    left: 12%;
}

.ball1 img {
    max-width: 23vh;
}

.donat2 {
    position: absolute;
    right: 20%;
    bottom: 0;
    z-index: 994;
}

.donat2 img {
    max-width: 42vh;
}

.girl2 {
    position: absolute;
    bottom: 0;
    right: 4%;
    z-index: 93;
}

.girl2 img {
    max-height: 66vh;
}

.ball2 {
    position: absolute;
    right: 18%;
    bottom: 35%;
    z-index: 91;
}

.ball2 img {
    max-width: 34vh;
}

.main-wrapper-block:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: radial-gradient(circle, rgba(0,0,0,0) 57%, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
}

.left-image-block > div, .right-image-block > div, .slot-content-wrapper, .main-wrapper-block:before {
    transition: all 0.4s ease-in-out;
}

.not-active .left-image-block > div {
    transform: translate(-14vw, 0vw);
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.not-active .right-image-block > div {
    transform: translate(14vw, 0vw);
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.not-active .slot-content-wrapper {
    filter: grayscale(1);
}

.not-active .main-wrapper-block:before {
    background: radial-gradient(circle, rgba(0,0,0,0) -18%, rgba(0,0,0,1) 76%, rgba(0,0,0,1) 94%);
}


.ball2 img {
    animation: girls 3.4s infinite ease-in-out;
    transform: translate(0px, -5px);
}


@-webkit-keyframes girls {
    0% {
        transform: translate(0px, -5px);
    }
    50% {
        transform: translate(0px, 5px);
    }
    100% {
        transform: translate(0px, -5px);
    }
}

.ball1 img {
    animation: girls 3.4s infinite ease-in-out;
    transform: translate(0px, -5px);
}


@-webkit-keyframes girlsHorizontal {
    0% {
        transform: translate(-5px, 0px);
    }
    50% {
        transform: translate(5px, 0px);
    }
    100% {
        transform: translate(-5px, 0px);
    }
}

.girl1 img {
    animation: girlsHorizontal 3.4s infinite ease-in-out;
    transform: translate(-5px, 0px);
}


@-webkit-keyframes girlsHorizontalFlip {
    0% {
        transform: translate(5px, 0px);
    }
    50% {
        transform: translate(-5px, 0px);
    }
    100% {
        transform: translate(5px, 0px);
    }
}

.girl2 img {
    animation: girlsHorizontalFlip 3.4s infinite ease-in-out;
    transform: translate(5px, 0px);
}


@keyframes vibration {
    5%, 15%, 25%, 35%, 45% {
      transform: rotate(1deg);
    }
    
    10%, 20%, 30%, 40% {
      transform: rotate(-1deg);
    }
    
    50% {
      transform: rotate(0);
    }
   }


   .not-active #game-start {
    animation: vibration 2s ease-in-out infinite;
   }

   #game-start.active-btn {
    animation: vibration 2s ease-in-out infinite;
   }





@media (min-width: 1600px) {
    .container {
        max-width: 100%;
    }
}


@media (max-width: 1440px) {
    #game-start {
        font-size: 21px;
        padding: 18px 55px;
        margin-top: 10px;
    }
    .main-logo img {
        max-width: 199px;
    }

    .sensational img {
        max-width: 50%;
    }

    span.title-text {
        font-size: 2.7em;
        margin-bottom: 0px;
    }

    span.subtitle-text {
        font-size: 2.4em;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    span.description-text {
        font-size: 1.4em;
    }

    a.btn-link {
        font-size: 18px;
        padding: 17px 35px;
    }

    .btn-bottom {
        bottom: 30px;
    }

    span.title-slot-bg {
        margin-top: -3.3em;
    }


    span.subtitle-text-image img {
        max-width: 400px;
        width: 30em;
    }

    span.title-slot-bg {
        margin-top: -3.3em;
    }

    .girl2 {
        right: 8%;
    }
    
    .ball2 {
        right: 21%;
    }
    
    .girl1 {
        left: 16%;
    }
    
    .donat1 {
        left: 8%;
    }
    
    .ball1 {
        left: 16%;
    }
}

@media (max-width: 1360px) {
    .slot-content-wrapper {
        margin-top: 15px;
    }
}


@media (max-height: 460px) {
    .main_wrapper {
        overflow-y: scroll;
    }
}

@media (max-width:  1120px) {

    button.hero-btn.js-play-btn span {
        font-size: 20px;
    }

    #game-start {
        font-size: 18px;
        padding: 17px 45px;
        margin-top: 10px;
    }

    .main-logo img {
        max-width: 150px;
    }

    a.btn-sign {
        font-size: 16px;
        padding: 10px 30px;
    }

}


@media (max-width: 991px) {

    .main-logo img {
        margin-left: 0;
    }

    .main-logo {
        padding: 9vh 0 3vh;
    }

    .girl2 img {
        max-width: 50vw;
    }
    
    .girl2 {
        right: -14%;
    }
    
    .donat2 {
        right: 6%;
    }
    
    .donat2 img {
        max-width: 40vw;
    }
    
    .ball2 {
        display: none;
    }
    
    .girl1 img {
        max-width: 63vw;
    }
    
    .girl1 {
        bottom: -12vh;
        left: -22%;
        z-index: 99;
    }
    
    .donat1 {
        display: none;
    }
    
    .ball1 {
        left: 3%;
        bottom: 7%;
        z-index: 991;
    }
    
    .ball1 img {
        max-width: 20vw;
    }
}



@media (max-width: 767px) {

    .main_wrapper {
        display: block;
        font-size: 2.2vw;
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .main-wrapper-block {
        height: 100%;
    }

    .flex-logo-bottom {
        padding: 40px 0px 20px;
    }

    a.close-popup {
        font-size: 50px;
        position: absolute;
        top: 50px;
        right: 20px;
        transform: rotate(45deg);
        color: rgba(64, 18, 103, 1);
    }

    .main_wrapper .container {
        height: 100%;
    }

    .wheel-container {
        margin: auto;
    }

    .main-logo img {
        margin-left: 0;
    }

    .modal__container {
        border-radius: 0px;
        max-height: 250px;
        width: calc(100% - 20px);
    }

    h2.modal__title {
        margin-bottom: 25px;
    }

    button.hero-btn.js-play-btn span {
        font-size: 16px;
    }

    .bottom-paylogo {
        flex-wrap: wrap;
        margin-top: 0px;
        padding: 0px 35px;
        width: calc(100% - 70px);
    }

    .bottom-paylogo > div {
        flex-basis: calc(33.33% - 20px);
        margin-bottom: 20px;
    }

    .slot-content-wrapper {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .main__wheel {
        padding-bottom: 80px;
    }

    span.title-slot-bg {
        margin-top: -2.5em;
    }

    #game-start {
        font-size: 18px;
        padding: 16px 45px;
    }

    .main__wheel {
        padding-bottom: 0px;
    }

    span.title-slot-bg {
        margin-top: -2.9em;
    }


    .sensational img {
        max-width: 100%;
    }


    .main-logo img {
        width: 200px;
    }

    span.title-text {
        font-size: 21px;
    }
    
    span.title-text span {
        display: block;
    }
    
    span.subtitle-text {
        font-size: 21px;
    }
    
    span.description-text {
        font-size: 13px;
        /* max-width: 200px; */
        margin: auto;
        display: block;
    }

    .main-logo img {
        margin-left: 0;
    }

    .main-logo {
        padding: 9vh 0 3vh;
    }

    .girl2 img {
        max-width: 85vw;
    }
    
    .girl2 {
        right: -27%;
    }
    
    .donat2 {
        right: 6%;
    }
    
    .donat2 img {
        max-width: 65vw;
    }
    
    .ball2 {
        display: none;
    }
    
    .girl1 img {
        max-width: 89vw;
    }
    
    .girl1 {
        bottom: 0;
        left: -25%;
        z-index: 99;
    }
    
    .donat1 {
        display: none;
    }
    
    .ball1 {
        left: 6%;
        bottom: 12%;
        z-index: 991;
    }
    
    .ball1 img {
        max-width: 29vw;
    }
    
    
    body {
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #000;
        /* background-blend-mode: overlay; */
        background-position: bottom;
    }
    
    .slot-image-wrapper {
        margin-top: 30px;
    }

    .modal__content {
        margin-top: -26%;
    }


}


@media (max-width: 560px) {
    span.title-slot-bg {
        margin-top: -3.9em;
    }
    /* [data-modal] {
        background: linear-gradient(180deg, #FFC633 0%, #FBA31D 100%);
    } */


}