/* Division Priority Set */
body{
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: scroll;
}
body::-webkit-scrollbar{
  display: none;
}
.main-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  /* optional */
  -webkit-box-align: start;
  -moz-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  
}

.main-container .first-div {
  overflow: hidden;
  width: 100%;
  -webkit-box-ordinal-group: 1;
  -moz-box-ordinal-group: 1;
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
}

.main-container .second-div {
  overflow: hidden;
  width: 100%;
  -webkit-box-ordinal-group: 2;
  -moz-box-ordinal-group: 2;
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;
}

.main-container .third-div {
  overflow: hidden;
  width: 100%;
  -webkit-box-ordinal-group: 3;
  -moz-box-ordinal-group: 3;
  -ms-flex-order: 3;
  -webkit-order: 3;
  order: 3;
  
  min-height: 61vh !important;
}

.main-container .fourth-div {
  width: 100%;
  overflow: hidden;
  -webkit-box-ordinal-group: 4;
  -moz-box-ordinal-group: 4;
  -ms-flex-order: 4;
  -webkit-order: 4;
  order: 4;
}
.text-a {
  color: black;
  text-decoration: none;
}

@media only screen and (max-width: 600px) {
  .main-container .second-div {
    -webkit-box-ordinal-group: 4;
    -moz-box-ordinal-group: 4;
    -ms-flex-order: 4;
    -webkit-order: 4;
    order: 4;
  }
  .main-container .third-div {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }
  .main-container .fourth-div {
    -webkit-box-ordinal-group: 3;
    -moz-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
  }
}

/* Division Priority Set */

/* Third Division Start */
.third-div {
  
  height: auto;
  
}
.banner {
  margin-top: 4.7rem;
  height: 75vh;
  opacity: 1;
  background: url("../img/bg8.jpg") no-repeat center center/cover;
  background-attachment: fixed;
}
@media only screen and (max-width: 768px) {
  .banner {
    margin-top: 0;
    height: 78vh !important;
  }
  .grid-menu-icon{
    grid-template-columns: 1fr 1fr !important;
  }
  .jackpot__counter{
    font-size: 4rem !important;
  }
  .price-wrap h2{
    font-size: 2rem;
  }
  .third-div{
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 812px) {
  .flex-box{
    flex-direction: column;
  }
  .i-wrap{
    width: 100% !important; 
  }
}
@media only screen and (max-width: 441px) {
  .promotion-grid{
      grid-template-columns: 1fr 1fr !important;
  }
}
@media only screen and (max-width: 375px) {
  .grid-icon-items {
    height: 200px !important;
  }
  .i-wrap {
    width: 100% !important;
  }
  .price-wrap{
  height: unset !important;
  }
  .how-to-regis{
      padding: 0 !important;
  }
  .play-img{
      padding: 1rem 0 !important; 
  }
  .promotion-container{
      width: 95% !important;
  }
  .regis-item img {
      padding-bottom: 0 !important;
  }
}
@media only screen and (max-width: 1024px) {
  .banner {
    height: 90vh;
  }
  .jackpot-head h1{
      font-size: 1rem !important;
  }
  
}
.overlay {
  height: inherit;
  width: 100%;
  background-color: rgba(25, 0, 255, 0.164);
  position: absolute;
  display: none;
}

.head-text {
  height: inherit;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.head-text h1 {
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 300;
}

.head-text #ufa {
  font-weight: 700;
  font-size: 8rem;
  background:linear-gradient(270deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  filter: drop-shadow(4px 2px 2px rgb(46, 46, 46));
}

.head-text #wording {
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0px 2px 1px rgb(46, 46, 46);
}

.head-text button {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  width: 250px;
  margin-top: 25px;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  color: white;
  background: rgb(255, 37, 37);
  background: linear-gradient(90deg, #FCF6BA 0%, #B38728 30% ,#B38728 70%, #FBF5B7 100%);
  box-shadow: 0px 5px 8px rgb(0, 0, 0,0.5);
  text-shadow: 0px 2px 1px rgb(46, 46, 46 ,0.5);
  letter-spacing: 0.5px;
}

.head-text button:hover {
  cursor: pointer;
  transform: scale(0.9);
  transition: var(--transition-speed);
}

@media only screen and (max-width: 600px) {
  .head-text #ufa {
    font-size: 3.5rem;
  }
  .head-text #wording {
    font-size: 1.5rem;
  }
}
/* Content Section Start */
.content {
  /* max-width: var(--max-width); */
  margin: auto;
  padding-bottom: 2rem;
  
  
}
.text-content {
    border-radius: 5px;
    padding: 0rem 3rem 3rem 3rem;
    margin: auto;
    margin-top: 0rem !important;
    width: 100%;
    font-size: 1rem;
    text-align: justify;
    max-width: var(--max-width);
}

.text-content img {
  width: 100%;
  margin: auto;
  display: flex;
}
.content-wrap{
  font-size: 1rem !important;
  background: #fff;
  margin-bottom: .5rem;
  width: 100%;
  max-width: var(--max-width);
  margin:auto;
  border-radius: 5px 5px 0 0;
  box-shadow: 0px 0px 2px #5f5f5f70;
}
.content-wrap a{
  font-size: 1rem ;
}


.content-wrap{
  font-size: 1.2rem;
}

.content-wrap a{
  color: #086C0A;
}

.content-wrap a:hover{
  color: #0303c0;
}

.i-wrap{
  width: 50% ;
}
.i-wrap i{
  padding-right: 5px;
}
.i-wrap span{
  display: flex;
  align-items: center;
}

@media only screen and (max-width:600px){
  .text-content{
    padding: 0rem;
  }
  .content-header-1{
    font-size: 1rem;
    font-weight: 300;
  }
  .arrow-down{
    margin-left: 1rem;
  }
  .text-content h1{
    text-align: left;
  }

}
/* Content Section End */

/* How to regis Start */
.how-to-regis{
width: var(--max-width);
margin: auto;
justify-content: center;
align-items: center;
text-align: center;
display: flex;
flex-direction: column;
padding: 2rem 2rem;
width: 100%;
}

.how-to-regis h2{
  padding-bottom: 3rem;
  font-size: 2rem;
  font-weight: 500;
}

.how-to-regis img{
  width: 100%;
}

.regis-grid{
  justify-content: center;
  max-width: var(--max-width);
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.regis-grid a{
  text-decoration: none;
  color:var(--text-secondary)
}

.regis-item {
  border-radius: 5px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: auto;
  margin-bottom: 15px;
}

.regis-item img{
  height: 150px;
  padding-top: 1rem;
}

.regis-item h3{
  font-size: 1.2rem;
  font-weight: 600;
}

.regis-item h5{
  font-size: 1rem;
  font-weight: 500;
}

@media only screen and (max-width:1024px){
  .regis-grid{
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }
  .text-content {
      padding: 0rem 1rem 3rem 1rem;
  }
  .half-div{
      flex-direction: column;
      width: 100%;
  }
  .article-wrap{
      width: 95% !important;
  }
  .articles-content{
  height: unset !important;
  }
}

@media only screen and (max-width:768px){
  .how-to-regis{
    padding: 3rem 2rem;
    }
}



/* How to regis End */

/* Slider Start */
.slider-container{
  width: 100%;
  height: 80vh;
  display: flex;
  overflow: hidden;
  position: relative;
}
.slider-span{
  position: absolute;
  top: -40%;
}
.img-slider{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 600ms ease-in-out;

}

.slider-div{
  margin: 0px 30px 0px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img{
  position: relative;
  width: 350px;
  height: 350px;
  transition: 500ms ease-in-out;
  filter: saturate(50%);
}

.button{
  position: absolute;
  width: 350px;
  height: 350px;
  transition: 200ms ease-in-out;
  background-color: rgba(0,0,0,0.4);
}

.button:hover{
  background-color: rgba(0,0,0,0.1);
}


#slider-span1:target ~ .img-slider #img1,
#slider-span1:target ~ .img-slider #button-1{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span2:target ~ .img-slider #img2,
#slider-span2:target ~ .img-slider #button-2{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span3:target ~ .img-slider #img3,
#slider-span3:target ~ .img-slider #button-3{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span4:target ~ .img-slider #img4,
#slider-span4:target ~ .img-slider #button-4{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span5:target ~ .img-slider #img5,
#slider-span5:target ~ .img-slider #button-5{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span6:target ~ .img-slider #img6,
#slider-span6:target ~ .img-slider #button-6{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span7:target ~ .img-slider #img7,
#slider-span7:target ~ .img-slider #button-7{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span8:target ~ .img-slider #img8,
#slider-span8:target ~ .img-slider #button-8{
  width: 441px;
  height: 441px;
  background-color: transparent;
  filter: saturate(100%);
}

#slider-span1:target ~ .img-slider {left: -70%;}
#slider-span2:target ~ .img-slider {left: 85%;}
#slider-span3:target ~ .img-slider {left: 55%;}
#slider-span4:target ~ .img-slider {left: 25%;}

#slider-span6:target ~ .img-slider {left: -25%;}
#slider-span7:target ~ .img-slider {left: -55%;}
#slider-span8:target ~ .img-slider {left: -85%;}
#slider-span9:target ~ .img-slider {left: 70%;}

@media only screen and (max-width:1024px){
#slider-span1:target ~ .img-slider #img1,
#slider-span1:target ~ .img-slider #button-1{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span2:target ~ .img-slider #img2,
#slider-span2:target ~ .img-slider #button-2{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span3:target ~ .img-slider #img3,
#slider-span3:target ~ .img-slider #button-3{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span4:target ~ .img-slider #img4,
#slider-span4:target ~ .img-slider #button-4{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span5:target ~ .img-slider #img5,
#slider-span5:target ~ .img-slider #button-5{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span6:target ~ .img-slider #img6,
#slider-span6:target ~ .img-slider #button-6{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span7:target ~ .img-slider #img7,
#slider-span7:target ~ .img-slider #button-7{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
#slider-span8:target ~ .img-slider #img8,
#slider-span8:target ~ .img-slider #button-8{
  width: 450px;
  height: 450px;
  background-color: transparent;
  filter: saturate(100%);
}
  .button ,.img{
    width: 375px;
    height: 375px;
    margin: 0;
  }

  .slider-container{
    height: 40vh;
  }

  

  #slider-span1:target ~ .img-slider {left: -120%;}
  #slider-span2:target ~ .img-slider {left: 150%;}
  #slider-span3:target ~ .img-slider{left: 85%;}
  #slider-span4:target ~ .img-slider{left: 45%;}
  #slider-span5:target ~ .img-slider{left: 0%;}
  #slider-span6:target ~ .img-slider{left: -45%;}
  #slider-span7:target ~ .img-slider{left: -85%;}
  #slider-span8:target ~ .img-slider{left: -120%;}
  #slider-span9:target ~ .img-slider{left: 120%;}
}

@media only screen and (max-width:768px){
  #slider-span1:target ~ .img-slider #img1,
  #slider-span1:target ~ .img-slider #button-1{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span2:target ~ .img-slider #img2,
  #slider-span2:target ~ .img-slider #button-2{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span3:target ~ .img-slider #img3,
  #slider-span3:target ~ .img-slider #button-3{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span4:target ~ .img-slider #img4,
  #slider-span4:target ~ .img-slider #button-4{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span5:target ~ .img-slider #img5,
  #slider-span5:target ~ .img-slider #button-5{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span6:target ~ .img-slider #img6,
  #slider-span6:target ~ .img-slider #button-6{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span7:target ~ .img-slider #img7,
  #slider-span7:target ~ .img-slider #button-7{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
  #slider-span8:target ~ .img-slider #img8,
  #slider-span8:target ~ .img-slider #button-8{
    width: 240px;
    height: 240px;
    background-color: transparent;
    filter: saturate(100%);
  }
    .button ,.img{
      width: 200px;
      height: 200px;
      margin: 0;
    }
  
    .slider-container{
      height: 40vh;
    }
  
    
  
    #slider-span1:target ~ .img-slider {left: -220%;}
    #slider-span2:target ~ .img-slider {left: 208%;}
    #slider-span3:target ~ .img-slider{left: 139%;}
    #slider-span4:target ~ .img-slider{left: 70%;}
    #slider-span5:target ~ .img-slider{left: 0%;}
    #slider-span6:target ~ .img-slider{left: -70%;}
    #slider-span7:target ~ .img-slider{left: -142%;}
    #slider-span8:target ~ .img-slider{left: -205%;}
    #slider-span9:target ~ .img-slider{left: 220%;}
  }

.slider-div a.prev{
  transform: translateX(20%);
  margin: 0;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  font-size: 3rem;
  text-decoration: none;
}

.slider-div a.next{
  transform: translateX(-20%);
  margin: 0;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  font-size: 3rem;
  text-decoration: none;
}

.slider-div a i{
  color: #000;
}

.next i{
  transform: rotate(180deg);
}

.promotion-header{
  font-size: 4rem;
  text-align: center;
  padding: 3rem 3rem 0rem;
}
/* Slider End */


/* Price Start */

.price-container{
  width: 100%;
  max-width: var(--max-width);
  height: 40vh;
  margin: auto;
  background: url(../img/menu-icon/jackpot-2.webp) no-repeat center center/contain;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.overlay-trns{
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1;
}
.price-wrap{
  z-index: 10;
  width: 100%;
  height: 260px;
  max-width: 1130px;
  margin: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  justify-content: center;
  align-items: center;
  padding: 1rem 0rem;
  border-radius: 5px;
}

.price-wrap h2{
  background: linear-gradient(to bottom, #cfc09f 22%,#634f2c 24%, #cfc09f 26%, #cfc09f 27%,#ffecb3 40%,#3a2c0f 78%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

.price-wrap hr{
  border: 1px solid rgb(0, 0, 0);
}

.price-box{
  width: 300px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.price-box h2{
  font-size: 2rem;
  font-weight: 500;
}
.price-box h3{
  font-size: 1rem;
    font-weight: 500;
}

.jackpot__counter {
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(to bottom, #cfc09f 22%,#634f2c 24%, #cfc09f 26%, #cfc09f 27%,#ffecb3 40%,#3a2c0f 78%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

.jackpot__counter:after {
  background: none;
  content: attr(data-heading);
  left: 0;
top: 0;
  z-index: -1;
  position: absolute;
  text-shadow: 
  -1px 0 1px #c6bb9f, 
  0 1px 1px #c6bb9f, 
  5px 5px 10px rgba(0, 0, 0, 0.4),
  -5px -5px 10px rgba(0, 0, 0, 0.4);
}

.flex-box{
  display: flex;
}

@media only screen and (max-width:600px){
  .price-wrap{
    width: 100%;
    flex-direction: column;
    margin: 0 1rem;
  }
  .price-wrap hr{
    width: 50%;
    margin: auto;
  }
  .price-box{
    width: 100%;
  }
  
}

@media only screen and (max-width:812px){
  .jackpot__counter{
    font-size: 1.5rem !important;
  }
}
@media only screen and (max-width:320px){
  .jackpot__counter{
    font-size: 1rem !important;
  }
}
/* Price End */




/* Third Division End */

/* Banner Regis Start */

.banner-regis-btn {
  text-decoration: none;
  font-family: "Kanit", sans-serif;
  width: 250px;
  margin-top: 25px;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  color: white;
  text-align: center;
  background: rgb(255, 37, 37);
  background: linear-gradient(
    90deg,
    rgba(255, 37, 37, 1) 0%,
    rgba(255, 229, 59, 1) 100%
  );
}

.banner-regis-btn:hover {
  transform: scale(0.9);
  transition: var(--transition-speed);
  cursor: pointer;
}
/* Banner Regis End */



/* reciept Start*/
.reciept-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto;
  padding: 0px 0px;
  background: url("../img/reciept-3.jpg") no-repeat center center/cover;
}

.reciept-wrapper {
  max-width: 1024px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: space-between;
}

.reciept-box {
  display: flex;
  padding: 5px;
  flex-direction: column;
  width: 95%;
  height: 45vh;
  margin: 5px 0px;
  background-color: white;
}

.reciept-box:hover {
  transform: scale(0.9);
  cursor: pointer;
  transition: var(--transition-speed);
}

@media only screen and (max-width: 1024px) {
  .reciept-container {
    padding: 25px 0px;
  }
  .reciept-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
  .reciept-box {
    height: 320px;
    width: 98%;
  }
}
/* reciept End */

/* Play IMG Start */
.play-img {
  max-width: var(--max-width);
  justify-content: space-around;
  padding: 0rem 0rem 1rem 0rem;
}

.play-img a img {
  height: 100%;
  object-fit: contain;
  width: 100% !important;
}

.play-img a img:hover{
  transition: 300ms ease-in-out;
  filter: drop-shadow(0 0 0.8rem rgb(255, 187, 0));
}


/* Play IMG End */

/* Content Header Start */
.content-header-1{
  background-color: #020d18;
  padding: 1rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 5px 5px 0px 0px;
  margin-bottom: 0.5rem;
  color: #fff;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arrow-down{
  font-size: 1.5rem;
  transition: 300ms ease-in-out;
}

.arrow-fx{
  transform: rotate(900deg);
  transition: 200ms ease-in-out;
}
.content-header-1:hover{
  cursor: pointer;
}

.content-header-1 a{
  
  font-size: 2rem;
  text-decoration: none;
  color: #000;
}
.content-header-1 a:hover{
  color: #086C0A;
}
.articles-text{
  
  padding: 1rem;
  margin-bottom: .5rem;
}
.fa-check-square {
  color: rgb(0, 194, 0);
  font-size: 1.5rem !important;
}
.content-toggle{
  background-color: var(--bg-primary);
  border-image-source: linear-gradient(to left, #d9d9d9 0%, #f6f2f2 74%);
  color: #fff;
}

@media only screen and (max-width: 600px) {
  .content-header-1-fx {
    font-size: 1.2rem !important;
    justify-content: center;
    padding-bottom: 8px;
  }
  .jackpot__counter{
    font-size: 1.5rem !important;
  }
  .price-wrap h2{
    font-size: 1rem !important;
  }
  .price-container{
      padding: 0 !important;
  }
}
@media only screen and (max-width: 1024px) {
  .price-container{
      height: 300px;
    }
}
@media only screen and (max-width: 768px) {
  .price-container{
      height: 200px;
    }
    .jackpot-grid-item p {
      font-size: .8rem !important;
    }
}
@media only screen and (max-width: 441px) {
  .price-container{
      height: 100px;
    }
}
@media only screen and (max-width: 375px) {
  .price-container{
      height: 100px;
    }
    .article-head h1{
        font-size: 1rem !important;
    }
}
@media only screen and (max-width: 320px) {
  .price-container{
      height: 80px;
    }
    .jackpot__counter{
        font-size: 1rem !important;
    }
}




/* Jackpot Start */
.jackpot-container{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}
.jackpot-grid{
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.jackpot-wrap{
  border-radius: 5px 5px 5px 5px ;
  width: 100%;
  margin: auto;
  box-shadow: 0px 2px 15px #00000070;
}
.jackpot-grid-item{
  width: 100%;
  margin: auto;
  display: flex;
  padding: 1rem;
  flex-direction: column;
}

.jackpot-grid-item img{
  width: 200px;
  object-fit: contain;
  margin: auto;
}
.jackpot-head{
  border-radius: 5px 5px 0px 0px;
  color: #fff;
  font-weight: 300;
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;

  max-width: var(--max-width);
  margin: auto;
  
}

.first-head{
  border-radius: 0 ;
}

.jackpot-head h1{
  padding: 1rem;
  font-weight: 400;
  font-size: 1.5rem;
}
.jackpot-head h2{
  font-weight: 400;
  
}
.left-jackpot{
  color: red;
}
.left-jackpot p{
  font-weight: 600;
}
.right-jackpot p{
 justify-content: flex-end;
}
.prize-wrap{
  width: 100%;
  margin:auto;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.jackpot-articles{
  border-radius: 0px 0px 5px 5px ;
  background-color: #fafafa;
  padding: 2rem 3rem 2rem 3rem ;
  z-index: 5;
  font-size: 1rem;
  max-width: var(--max-width);
}

.jackpot-articles span{
  font-size: 1.1rem;
}

.jackpot-articles ol{
  padding-left: 3rem;
  margin: 1rem 0;
}

.jackpot-articles span{
  font-weight: 500;
  color: var(--text-seo);
}

.jackpot-articles strong{
  color: var(--text-seo);
  font-weight: 500;
}

.jackpot-articles a{
  color: var(--text-seo);
  text-decoration: none;
  font-weight: 500;
}

.jackpot-grid-item h2{
  text-align: center;
  text-transform: uppercase;
}

.jackpot-grid-item p{
  font-size: .9rem;   
  width: 100%;
  display: flex;
  align-items: center;
}

.mgt-2{
  margin-top: 2rem;
}
.indent{
  text-indent: 50px;
}
.max-width{
  max-width: var(--max-width);
}

@media only screen and (max-width:768px){
  .jackpot-wrap h2{
      font-size: .9rem;
  }
  .jackpot-articles{
      padding: 2rem;
  }
  .jackpot-articles ol {
      padding-left: 1.5rem;
  }
  .prize-wrap{
      width: 100%;
  }
  .jackpot-grid{
      width: 95%;
      max-width: var(--max-width);
      margin: auto;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      justify-content: center;
      align-items: center;
  }
}

@media only screen and (max-width:441px){
  .jackpot-grid{
      grid-template-columns: 1fr;
  }
  
}
/* Jackpot End */

/* Promotion Start */
.promotion-container{
  
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.promotion-grid{
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.promotion-grid-item{
  width: 95%;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}
.promotion-grid-item img{
  width: 100%;
  object-fit: contain;
}

.promotion-grid-item a{
  width: 100%;
}


.promotion-grid-item button {background-image: linear-gradient(to left, #0575E6 0%, #021B79  51%, #0575E6  100%)}
.promotion-grid-item button {
 transition: 0.5s;
 background-size: 200% auto;
}

.promotion-grid-item button:hover {
 background-position: right center; /* change the direction of the change here */
 color: #fff;
}



.promotion-grid-item button{
  font-family: "Kanit", sans-serif;
  width: 100%;
  font-size: 1.2rem;
  padding: 1rem 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  border: 0;
  border-radius: 0;
}

.promotion-grid-item button:hover{
  cursor: pointer;
}

.reciept{
  padding: 2rem 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.reciept img{
  width: 95%;
  object-fit: contain;
}

.show{
  width: 100% !important;
  position: fixed;
  margin: auto;
  overflow: hidden;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
  z-index: 50;
}

.overlay-reciept{
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 49;
  background-color: #000;
}

/* Promotion End */

/* Halfdiv Start */
.half-div{
  display: flex;
  width: 100%;
  margin: auto;
  max-width: var(--max-width);
}

.articles-content{
  padding: 1rem 1.5rem;
  border-radius: 0px 0px 5px 5px ;
  background-color: #fafafa;
  z-index: 5;
  font-size: 1rem;
  max-width: var(--max-width);
  height: 280px;
}

.articles-content span{
  font-size: 1.1rem;
}


.articles-content span{
  font-weight: 500;
  color: var(--text-seo);
}

.articles-content strong{
  color: var(--text-seo);
  font-weight: 500;
}

.articles-content a{
  color: var(--text-seo);
  text-decoration: none;
  font-weight: 500;
}

.article-head{
  border-radius: 5px 5px 0px 0px;
  color: #fff;
  font-weight: 300;
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;

}

.article-head h1{
  font-size: 1.5rem;
  font-weight: 400;
}

.article-wrap{
  box-shadow: 0px 2px 5px #00000070;
  width: 500px;
  margin: auto;
}

/* Halfdiv END */

/* BEGIN: Rule  */
.rule-header{
  max-width: 1000px;
  margin: auto;
}

.rule-header h2,.rule-header h1{
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0px 10px;
  text-align: center;
}

.rule-header ol{
  margin-top: 1rem;
  max-width: 300px;
  margin: auto;
}

.rule-header p{
  text-align: center;
  margin-top: 1.5rem;
}

.rule-header hr{
  border-radius: 5px;
  width: 100px;
  height: 3px;
  background: #000;
  margin: 15px auto;
}

.rule-header a{
  font-weight: 500;
  color: var(--primary-color);
}

.rule-header a:hover{
  cursor: pointer;
  font-weight: 700;
}

.mgt2{
  margin-top: 2rem;
}

@media screen and (max-width:441px) {
  .rule-header{
    padding: 0px 15px;
  }
}
/* END: Rule */