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);
}

body {
    background-image: url(../img/main-bg.jpg);
    background-size: cover;
    background-position: center;
}

.top-wrapper-block {
    width: 100%;
}

.main_wrapper {
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-size: 1.8vh;
}

.main-logo {
    text-align: center;
    padding: 4vh 0 1vh;
}

.main-logo img {
    width: 130px;
}

.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%;
    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 {
    max-width: 650px;
    width: 100%;
    padding: 30px 10px;
    min-height: 450px;
    text-align: center;
    background: url(../img/popup-bg.png);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-size: contain;
    max-height: 485px;
    background-repeat: no-repeat;
}

.modal__bg {
    display: block;
    max-width: 100%
}

.modal__btn {
    position: absolute;
    bottom: -10px;
}

.modal__content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px 30px 10px 0px;
    text-align: center;
}

.modal__title {
    position: relative;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
    color: #FFD200;
}

.modal__title:after {
    content: attr(data-title);
    text-shadow: 0 4px .9px #0f0000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.modal__text {
    margin-bottom: 24px;
}

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;
}

a.modal-btn {
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Oswald';
    padding: 42px 50px 63px;
    display: block;
    background: url(../img/popup-btn.png);
    color: #000000;
    text-shadow: 0px 4px 15px rgb(0 0 0 / 25%);
    transform: rotate(-1.4deg);
    font-weight: 700;
    font-size: 30px;
    line-height: 117.5%;
    background-size: contain;
    background-repeat: no-repeat;
}

a.modal-btn {
    position: relative;
    overflow: hidden;
}

a.modal-btn span {
    position: relative;
}

span.w1 {
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: block;
    color: #FFFFFF;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
}

span.popup-sum {
    font-style: normal;
    text-align: center;
    letter-spacing: 0.02em;
    display: block;
    margin-top: 18px;
    text-transform: uppercase;
    color: #FFD200;
    text-shadow: 0px 4px 23px rgb(0 0 0 / 25%);
    font-weight: 700;
    font-size: 140px;
    line-height: 1;
    font-family: 'Oswald';
}

.slot-wrap {
    width: 32.5em;
    height: 22.375em;
    background: url(../img/slot_bg.png) no-repeat center/contain;
    margin: 0 auto;
    margin-top: 0;
    padding-left: 2.5em;
    padding-right: 2.9em;
    padding-top: 1.8em;
    padding-bottom: 2em;
    -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__win-line {
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    height: 7.1875em;
    width: 96%;
    margin-left: 3%;
    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: 8.5em;
  }

  button#game-start {
    background: url(../img/btn_bg.png);
    font-weight: 600;
    font-size: 33px;
    line-height: 105.2%;
    font-family: 'Oswald';
    text-transform: uppercase;
    display: block;
    border: none;
    padding: 22px 74px 23px;
    text-align: center;
    background-size: contain;
    margin: 0px auto 20px;
    cursor: pointer;
}

.game-controls {
    text-align: center;
    margin-bottom: 15px;
}

span.title-text {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 37px;
    line-height: 120%;
    display: block;
    text-transform: uppercase;
    color: #FFFFFF;
}

span.title-text span {
    display: block;
    color: rgba(249, 161, 27, 1);
}

.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;
    }
  }

  .btn-row {
    position: absolute;
    top: 2.5vh;
    z-index: 91;
    left: 0;
    right: 0;
    max-width: 1290px;
    text-align: right;
    margin: auto;
}

a.btn-sign {
    font-style: normal;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    background: url(../img/popup-btn.png);
    font-family: 'Impact';
    padding: 24px 40px 40px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #000000;
    text-shadow: 0px 4px 15px rgb(0 0 0 / 25%);
    transform: rotate(-1.4deg);
    font-weight: 400;
    font-size: 22px;
    background-size: contain;
    background-repeat: no-repeat;
}

a.btn-sign span {
    position: relative;
}







@media (min-width: 1600px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 1440px) {
    button#game-start {
        font-size: 28px;
        padding: 20px 68px 21px;
    }

    span.title-text {
        font-size: 30px;
    }

    span.subtitle-text {
        font-size: 22px;
        padding: 8px 25px 5px;
    }

    a.btn-sign {
        font-size: 20px;
        padding: 20px 35px 35px;
        background-position: center;
    }
}

@media (max-width: 1360px) {
    button#game-start {
        font-size: 20px;
        padding: 15px 50px;
    }

    .main-logo img {
        width: 100px;
    }

    span.subtitle-text {
        font-size: 17px;
        padding: 7px 20px 5px;
    }

    .slot-content-wrapper {
        margin-top: 5px;
    }
}

@media (max-width: 1280px) {
    .btn-row {
        display: none;
    }
}

@media (max-height: 460px) {
    .main_wrapper {
        overflow-y: scroll;
    }
}

@media (max-width:  1120px) {

    button.hero-btn.js-play-btn span {
        font-size: 20px;
    }

    .main-logo img {
        width: 125px;
    }

}



@media (max-width: 768px) {

    .main_wrapper {
        display: block;
        height: auto;
        font-size: 2.6vw;
    }

    .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-block {
    display: block;
    text-align: center;
    height: auto;
}

.wheel-container {
    margin: auto;
}

.main-logo img {
    margin-left: 0;
}

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: 50px;
    margin-bottom: 35px;
}

.modal__container {
    max-width: 90%;
}

h2.modal__title {
    font-size: 28px;
    margin-bottom: 5px;
}

span.w1 {
    font-size: 18px;
}

span.popup-sum {
    font-size: 80px;
    margin-top: 10px;
}

.modal__container {
    max-height: 240px;
    min-height: 240px;
    background-position: center;
}

a.modal-btn {
    font-size: 17px;
    padding: 21px 23px 35px;
}

.modal__text {
    margin-bottom: 0px;
}

.modal__btn {
    position: absolute;
    bottom: -10px;
}

.main-logo img {
    width: 100px;
}

}
