@mobile: ~"only screen and (max-width: 900px), only screen and (pointer: coarse)";
@desktop: ~"only screen and (min-width: 900.01px) and (pointer: fine)";
@portrait: ~"only screen and (orientation: portrait)";
@landscape: ~"only screen and (orientation: landscape)";
@mobilePortrait: ~"only screen and (max-width: 900px) and (orientation: portrait), only screen and (pointer: coarse) and (orientation: portrait)";
@mobileLandscape: ~"only screen and (max-width: 900px) and (orientation: landscape), only screen and (pointer: coarse) and (orientation: landscape)";
@tabs-width: 250px;
@font-family: "Roboto";
@font-family-titles: "Lilita", 'Roboto', sans-serif;
@textColor: #fef1cf;
@titleColor: #58a7ff;

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

// Targets vi_VN
// We apply it to the universal selector (*) to ensure it hits every element
:lang(vi_VN) *,
[lang="vi_VN"] * {
  font-family: 'Arial', sans-serif !important;
}

.noselect,
div,
span,
a,
p,
h1,
h2,
h3,
h4 {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.replay-button {
      color: #a3a3a3 !important;
      font: normal normal normal 24px / 1 FontAwesome !important;
}

.searchButton {
      color: #a3a3a3 !important;
      font: normal normal normal 24px / 1 FontAwesome !important;
}

.gameUI {
  .paylines {
    display: inline-block;
    max-width: 90%;

    .flex-container {
      display: inline-block;
      margin: 15px;
    }
  }

  .paylines .square {
    display: inline-flex;
  }

  .replay {
    justify-content: center;
    font-size: 28px !important;
    margin-top: 30px !important;
  }

  .settings {
    h1,
    h2,
    h3,
    h4,
    p {
      font-family: "Roboto", "Segoe UI", "Helvetica", sans-serif;
      font-weight: normal;
      margin: 3px 0;
      line-height: 1.15;
    }

    .paytable-section p {
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    p{
      color: @textColor;
      margin-bottom: 15px;
      line-height: 1.2;
      font-size: 1.1em;
    }

    h1 {
      margin: 5px 0;
      &#game-title{
        font-size: 7.5vmin;
        margin-bottom: 0;
        // @media @mobile {
        //   font-size: 9vmin;
        // }
      }
    }

    h2 {
      font-size: 24px;
      margin: 4px 0;
    }

    h3 {
      font-size: 20px;
      margin: 3px 0;
    }

    .subtitle {
      color: @textColor;
      font-size: 1.3em;
      .blue-txt{
        color: @titleColor;
      }
    }

    ul {
      max-width: 90%;
      text-align: left;
      font-style: 18px;
      color: @textColor;
      width: 100%;

      li {
        margin: 4px 0 15px;
        font-size: 1.1em;
      }
      ul{
        margin-top: 10px;
        padding-left: 30px;
        li{
          margin-bottom: 5px;
        }
      }
    }
    img{
      width: 100%;
      max-width: 100%;
      &.paytable_logo {
        max-width: 400px;
      }
      &.fsimg{
        margin-top: -20px;
        @media screen and (max-width: 1200px){
          margin-top: 0px;

        }
      }
      &.mysteryimg{
        margin-bottom: 20px;
      }
      &.goldenspinimg{
        margin-top: -20px;
      }
      &.winup {
        max-width: 500px;
      }
      &.line-separator {
        margin: 20px 0;
        max-width: 90%;
      }
    }

    .section-title {
      color: @titleColor;
      font-family: @font-family-titles;
      margin-top: 30px;
      margin-bottom: 20px;
      font-size: 42px;
      @media @mobile {
        font-size: 28px;
        margin-top: 25px;
        margin-bottom: 15px;
      }
      &.section-subtitle{
        font-size: 36px;
        @media @mobile {
          font-size: 22px;
        }
      }
    }

    #game-title {
      font-family: "Lilita", "Roboto", "Segoe UI", "Helvetica", sans-serif;
      margin-top: 0px;
    }

    .symbol-group-payout {
      max-width: 90%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 15px;
    }

    .symbol-payout {
      p{
        margin-bottom: 0px;
        line-height: 1;
      }
      img {
        max-width: 140px;
        max-height: 140px;
        margin: 15px;
        margin-bottom: 5px;
      }
    }

    .buy-button {
      display: flex;
      justify-content: center;
      .buy-feature-button {
        position: relative;
        width: 250px;
        height: auto;
        top: 0;
        bottom: 30%;
        left: auto;
        right: auto;
        margin-bottom: -15px;
        margin-top: -35px;

        .button-paytable {
          transform: scale(1) !important;
        }

        .svg-container {
          position: relative;

          .svg-icon {
            position: relative;
            max-height: none;
            width: 60%;
          }
        }

        .enable-pointer-events {
          pointer-events: none !important;
        }
      }
    }

  }

  @media only screen and (max-width: 900px) and (orientation: portrait),
  only screen and (pointer: coarse) and (orientation: portrait) {
    .buy-feature-button {
      left: 65%;
      bottom: 5%;
      height: 14%;
      width: 29%;
    }
  }

  @media only screen and (max-width: 900px) and (max-aspect-ratio: 0.555556 / 1),
  only screen and (pointer: coarse) and (max-aspect-ratio: 0.555556 / 1) {
    .buy-feature-button {
      bottom: 10vw;
      left: 66%;
      height: 12%;
      width: 25%;
    }
  }
  @media only screen and (max-width: 900px), only screen and (pointer: coarse) {
   .buy-button .buy-feature-button {
      transform-origin: center;
      -webkit-transform-origin: center;
    }
  }
}
