@media screen and (max-width: 1024px) {
  #moblieclose {
    display: none;
  }

  #moblie {
    display: block;
  }

  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav .navlink {
    border-style: none;
    border-radius: 0px;
    background: none;
  }

  #gm img {
    position: relative;
    top: 9%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding-top: 50px;
    width: 50%;
  }

  .video-hero video {
    width: 70%;
    margin-left: 155px;
    border: 1px solid #002cbd;
    margin-top: -60px;
  }
  .hero-logo {
    text-align: center;
    margin-bottom: 90px;
  }
  .hero-logo img {
    width: 300px;
    margin-left: 5px;
    padding-bottom: 1px;
  }

  /* #btn-pc {
    display: block;
    margin-top: -4%;
  } */

  .hero-text {
    margin-top: -150%;
    text-align: center;
  }

  .hero-text input {
    margin-top: -35px;
    font-size: 18px;
  }

  .group-btn {
    text-align: center;
    margin-top: -80px;
    margin-left: 0;
    margin-right: 0;
  }

  #btn1 {
    padding: 7px 50px;
    margin-right: 0px;
    top: -80px;
    font-family: "Kanit", sans-serif;
  }

  #btn3 {
    padding: 7px 45px;
    margin-right: 0px;
    top: -45px;
    font-family: "Kanit", sans-serif;
  }
  #btn2 {
    padding: 7px 27px;
    margin-right: 0px;
    top: -10px;
    font-family: "Kanit", sans-serif;
  }
  #btn1_log {
    font-weight: bold;
    padding: 10px 15px;
    margin-right: 0px;
    top: -10px;
    font-family: "Kanit", sans-serif;
    /* margin-top: 100px; */
    font-size: 20px;
  }
  .form-login {
    padding-bottom: -30px;
  }
  .form-login a {
    margin-top: -100px;
  }

  /* ---------------------login---------------------- */
  .logo-login img {
    width: 250px;
    text-align: center;
    position: relative;
    margin-top: -20%;
    left: 50%;
  }

  .form-login {
    text-align: center;
    position: relative;
    margin-top: -10%;
  }
}

@media screen and (max-width: 1024px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  #gameContent img {
    width: 100%;
    margin-top: 0px;
  }

  #gameContent01 img {
    width: 100%;
  }

  .slider img {
    width: 100%;
    text-align: center;
    margin-left: 30px;
  }

  .footer {
    padding-right: 30px;
  }
  .footer-2 {
    margin-bottom: 30px;
  }
  /* ******************************************casino seo****************************** */
  .textcasino {
    margin-top: 20px;
  }
  #gameContentslot {
    margin-top: 20px;
    padding-top: 0px;
  }
  #gameContentslot p {
    padding-bottom: 30px;
  }

  .textslot h3 {
    margin-top: 30px;
  }

  #gameContent01 {
    margin-top: 20px;
  }
  #gameauto {
    margin-top: 20px;
  }
  #esport {
    margin-top: 20px;
  }
  #esport img {
    width: 100%;
  }
  marquee {
    width: 80%;
  }

  .marquee dt {
    width: 20%;
    padding-left: -30px;
  }
  #casino2 {
    display: none;
  }

  /* **********************************menu mobile*********************************** */

  .menu_mobile {
    display: inline;
  }
  .menu_mobile {
    position: fixed;
    bottom: 0%;
    width: 100%;
    background: red;
    background: -webkit-linear-gradient(#001b55, #000000);
    background: -o-linear-gradient(#001b55, #000000);
    background: -moz-linear-gradient(#001b55, #000000);
    background: linear-gradient(#001b55, #000000);
    border-top: 2px solid #00276d;
    box-shadow: 0 0 15px #5acdff, 0 0 5px #5acdff, 0 0 5px #5acdff,
      0 0 5px #5acdff;
  }
  .menu_mobile ul {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0px 0 0;
    padding-bottom: 20px;
  }

  .menu_mobile li {
    width: 20%;
    float: left;
    text-align: center;
    color: #f3f3f3;
  }
  .menu_mobile li a {
    color: #ffffff;
    font-size: 20px;
    display: block;
    line-height: 1.5;
  }
  .menu-mobile li a i {
    display: block;
    font-size: 50px;
    background: #ffffff;
  }

  /* ****************************************<button>**************************** */

  .footer-btn {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: linear-gradient(
      to bottom,
      #fff200 5%,
      #f2ea01 50%,
      #ca9b00 100%
    );
    box-shadow: 0 0 15px #f8d300, 0 0 5px #f57f00, 0 0 5px #fad504,
      0 0 5px #5acdff;
    font-family: "Kanit", sans-serif;
    color: #000000;
    border: 2px solid #f3f3f3;
    font-size: 20px;
  }
  .footer a {
    color: #fffefe;
    text-decoration: none;
  }
  .footer .footer-btn:hover {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(
      to bottom,
      #fad519 5%,
      #fac219 50%,
      #fcf517 100%
    );
  }
  .footer i {
    color: #fdfdfd;
  }
  /* #btn2 {
    display: none;
  } */
  .tel {
    padding-top: 0%;
    margin-top: -90px;
  }

  .gamefootpc img {
    width: 15%;
  }
}

/* ****************************************<button>**************************** */

/* body {
        margin: auto;
        margin-right: -10px;
        margin-left: -10px;

    } */

@media screen and (max-width: 1024px) {
  body {
    margin: auto;
    margin-right: auto;
    margin-left: auto;
    font-family: "Kanit", sans-serif;
    background-image: url("../img/bg.jpg");
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
    /* background-blend-mode: soft-light;
    background-color: #0f0f0f; */
  }
}
@media screen and (max-width: 600px) {
  body {
    margin: auto;
    margin-right: auto;
    margin-left: auto;
    font-family: "Kanit", sans-serif;
    background-image: url("../img/bg.jpg");
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
    /* background-blend-mode: soft-light;
    background-color: #0f0f0f; */
  }
}
