@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kanit", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to right,
      #462278 0%,
      #462278 25%,
      #462278 50%,
      #462278 75%,
      #462278 100%);
  background-position: top center;
  background-repeat: repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.7rem;
}

.contactBtn {
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  border: none;
  background-color: #cc9e47;
  text-orientation: sideways-right;
  writing-mode: vertical-lr;
  animation: pulse-animation 2s infinite;
  cursor: pointer;
}

.navMenu {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.loginContainer {
  width: 100%;
}

.post {
  padding: 1rem;
  width: 100%;
  background-color: #3131318a;
  border-radius: 10px;
  margin: 1rem 0;
}

.loginContent {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.formContainer {
  display: flex;
  gap: 1rem;
  width: 50%;
}

.formContainer input {
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #494949;
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  outline: none;
  border: none;
  margin: 0.2rem 0;
}

.formContainer input:focus {
  outline: none;
}

.formContainer ::placeholder {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #b3b3b3;
  text-align: center;
}

.formContainer label {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
}

.btnContainer {
  display: flex;
  gap: 1rem;
  width: 50%;
  margin-top: 1.5rem;
}

.loginBtn {
  display: flex;
  align-items: start;
  flex-direction: column;
  width: 50%;
}

.loginBtn button {
  background-color: #f6ba02;
  color: #fff;
  width: 100%;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  padding: 1rem;
  cursor: pointer;
}

.loginBtn label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.registerBtn {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.registerBtn button {
  background-color: #f6ba02;
  color: #fff;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  padding: 1rem;
  cursor: pointer;
}

.psw {
  margin-top: 0.2rem;
}

.psw a {
  font-size: 0.8rem;
}

main {
  margin: 1rem 0;
  width: 100%;
  border-radius: 10px;
}

.mainBody {
  width: 100%;
  max-width: 1300px;
  /* background-image: url("/images/13783.png");
  background-position: top center;
  background-repeat: repeat;
  background-size: contain; */
  padding: 0 1rem;
}

/* NAV */

nav {
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  width: 100%;
  margin: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  padding: 0.5vw;
  /* max-width: 150px; */
}

.logo img {
  width: 100%;
  filter: drop-shadow(0px 0px 10px #e4d0aa);
  transition: 0.3s;
}

.logo img:hover {
  width: 100%;
  filter: drop-shadow(0px 0px 20px #e4d0aa);
  transition: 0.3s;
}

/* NAV < 768px */

@media screen and (min-width: 344px) and (max-width: 768px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
  }

  .logo {
    width: 60% !important;
    padding-right: 0.5vw;
  }

  .logo img {
    width: 100%;
    filter: drop-shadow(0px 0px 10px #e4d0aa);
    transition: 0.3s;
  }

  .logo img:hover {
    width: 100%;
    filter: drop-shadow(0px 0px 20px #e4d0aa);
    transition: 0.3s;
  }
}

/* NAV < 768px End*/

/* NAV */

.textSlideContainer {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* background-color: #24335e; */
  padding: 0 0.5rem;
  margin: 0.5rem 0;
  height: 2.5rem;
  width: 100%;
  border-radius: 10px;
  animation: pulse-animation 2s infinite;
  box-shadow: 0px 0px 10px 0px #e2dbaf;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0px 0px 10px 0px #e2dbaf;
  }

  50% {
    box-shadow: 0px 0px 20px 0.2px #e2dbaf;
  }

  100% {
    box-shadow: 0px 0px 10px 0.2px #e2dbaf;
  }
}

#textSlideImg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3%;
  margin-right: 0.2rem;
  background-color: #d6d6d6;
  z-index: 5;
}

.textSlideContainer img {
  width: 100%;
  max-width: 1.5rem;
}

.slideItem {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  width: 100%;
  color: #ebc64c;
  font-size: 1rem;
  letter-spacing: 1.2px;
}

.slideItem span {
  display: inline-block;
  padding-left: 100%;
  animation: slideItem 20s linear infinite;
}

.slideItem2 span {
  animation-delay: 20s;
}

@keyframes slideItem {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* เนื้อหาหลัก */
.lotto_1 {
  display: flex;
  padding: 0.6rem 0.6rem;
  border-radius: 5px;
  gap: 1rem;
}

.itemContainer {
  flex-grow: 1;
  flex-basis: 50%;
}

/* ตัวหนังสือหัวกล่อง */
.itemHead {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 1.3rem;
  margin-left: 1rem;
  gap: 1rem;
}

.itemHead h3 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
}

.itemHead p {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background-color: rgb(248, 102, 102);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* กล่องหวย */
.item {
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  position: relative;
  padding: 1rem 1rem 1.5rem 1rem;
}

.forone {
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  padding: 0.7rem 0.7rem;
}

.card-background {
  background-color: #f6ba02;
}

#itemFirst {
  transition: all 0.3s;
  /* background-color: #ffffff98; */
}

#itemGray {
  transition: all 0.3s;
  /* background-color: #ffffff98; */
}

.insideContainerOne {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.7rem;
}

.insideContainer {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.5rem;
}

.inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  flex-basis: 20%;
}

.inside p {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #f3f3f3;
  font-size: 1rem;
  color: #462278;
  border-radius: 5px 5px 0px 0px;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.26);
}

.inside h1 {
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 500;
  width: 100%;
  color: #ba8ee1;
  background-color: #ffffff;
  border-radius: 0px 0px 5px 5px;
  padding: 0.7rem 0;
}

.inside h2 {
  display: flex;
  justify-content: center;
  width: 100%;
  color: #ba8ee1;
  background-color: #ffffff;
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: 0px 0px 5px 5px;
  padding: 0.7rem 0;
}

.one {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1rem;
}

.bottom3 {
  flex-grow: 1;
  flex-basis: 40%;
}

/* หวยธนาคาร */
.circle_img {
  width: 4rem;
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle_img img {
  width: 100%;
  max-width: 4rem;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
}

/* หวยชุด */

/* หวยต่างประเทศ */
.lotto_world {
  display: flex;
  flex-wrap: wrap;
  padding: 0.6rem 0.6rem;
  border-radius: 5px;
  gap: 0.5rem;
  background-color: #f6ba02;
}

.itemContainerWorld {
  flex-grow: 1;
  flex-basis: 245px;
  background-color: #ffffff;
}

.itemContainerWorld2 {
  flex-grow: 1;
  flex-basis: 30%;
}

.insideContainerWorld {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.3rem;
}

.itemWorld {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  padding: 1rem 0.5rem 1.5rem 0.5rem;
  transition: all 0.3s;
}

.itemWorld:hover {
  transition: all 0.3s;
}

.itemContainerWorld2 .insideWorld {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  flex-basis: 25%;
}

.insideWorld {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  flex-basis: 50px;
}

.insideWorld p {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px 5px 0 0;
  padding: 0.6rem 0.2rem;
  font-size: 1rem;
  font-weight: 400;
  color: #462278;
  border: 1px solid #49494928;
}

.insideWorld h2 {
  display: flex;
  justify-content: center;
  width: 100%;
  color: #ba8ee1;
  background-color: #ffff;
  border-radius: 0 0 5px 5px;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.6rem 0.2rem;
  border: 1px solid #49494928;
  border-top: none;
}

.one {
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.background-yeekee-round {
  background: white;
  padding: 16px 8px 24px;
}

/* หวยหุ้น VIP */

/* Hide */
@media screen and (max-width: 800px) {
  .hideset {
    display: none;
  }
}

/* NAV */
@media screen and (min-width: 344px) and (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
    margin: 0.5rem 0;
  }

  .logo {
    width: 30%;
    padding-right: 0.5vw;
  }

  .logo img {
    width: 100%;
    filter: drop-shadow(0px 0px 10px #e4d0aa);
    transition: 0.3s;
  }

  .logo img:hover {
    width: 100%;
    filter: drop-shadow(0px 0px 20px #e4d0aa);
    transition: 0.3s;
  }

  .navMenu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .loginContainer {
    width: 100%;
  }

  .post {
    padding: 1rem;
    width: 100%;
    background-color: #3131318a;
    border-radius: 10px;
    margin: 1rem 0;
  }

  .loginContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .formContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .formContainer input {
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #494949;
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    outline: none;
    border: none;
    margin: 0.7rem 0;
  }

  .formContainer input:focus {
    outline: none;
  }

  .formContainer ::placeholder {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #b3b3b3;
    text-align: center;
  }

  .formContainer label {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
  }

  .btnContainer {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .loginBtn {
    display: flex;
    align-items: start;
    flex-direction: column;
    width: 50%;
  }

  .loginBtn button {
    background-color: #065bbc;
    color: #fff;
    width: 100%;
    font-size: clamp(1rem, 2vw, 1.3rem);
    border-radius: 10px;
    border: none;
    padding: 1rem;
    cursor: pointer;
  }

  .loginBtn label {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }

  .registerBtn {
    display: flex;
    flex-direction: column;
    width: 50%;
  }

  .registerBtn button {
    background-color: #0c3c81;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.3rem);
    border-radius: 10px;
    border: none;
    padding: 1rem;
    cursor: pointer;
  }

  .psw {
    margin-top: 0.2rem;
  }

  .psw a {
    font-size: 0.8rem;
  }
}

/* mobile */
@media screen and (min-width: 344px) and (max-width: 630px) {
  /* Mobile Main Start*/

  .lotto_1 {
    display: flex;
    flex-wrap: wrap;
    padding: 0rem 0.2rem;
    gap: 0.2rem;
  }

  .itemContainer {
    flex-grow: 1;
    flex-basis: 100%;
  }

  /* ตัวหนังสือหัวกล่อง */
  .itemHead {
    margin-top: 3rem;
    margin-bottom: 1.3rem;
    margin-left: 1rem;
  }

  .itemHead h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
  }

  .itemHead p {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
  }

  /* กล่องหวย */
  .item {
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    padding: 1rem 1rem 1.5rem 1rem;
  }

  .forone {
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    padding: 0.5rem 0.5rem;
  }

  .insideContainerOne {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5rem;
  }

  .insideContainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5rem;
  }

  .inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    flex-basis: 105px;
  }

  .inside p {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    font-size: 1.2rem;
    color: black;
  }

  .inside h1 {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
    width: 100%;
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
  }

  .inside h2 {
    display: flex;
    justify-content: center;
    margin-top: 0.2rem;
    width: 100%;
    color: black;
    background-color: #ffffff;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .one {
    width: 100%;
  }

  .bottom3 {
    flex-grow: 1;
    flex-basis: 220px;
  }

  /* หวยธนาคาร */
  .circle_img {
    width: 2rem;
  }

  .circle_img img {
    width: 100%;
    max-width: 4rem;
  }

  .title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .title h4 {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    font-weight: 600;
  }

  /* หวยต่างประเทศ */
  .lotto_world {
    display: flex;
    flex-wrap: wrap;
    padding: 0.6rem 0.6rem;
    gap: 0.5rem;
  }

  .itemContainerWorld {
    flex-grow: 1;
    flex-basis: 45%;
    border-radius: 5px;
  }

  .itemContainerWorld2 {
    flex-grow: 1;
    flex-basis: 45%;
  }

  .insideContainerWorld {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.3rem;
    border-radius: 5px;
  }

  .itemWorld {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    transition: all 0.3s;
  }

  .itemContainerWorld2 .insideWorld {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    flex-basis: 45%;
  }

  .insideWorld {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    flex-basis: 45%;
  }

  .insideWorld p {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    font-weight: 600;
    color: black;
  }

  .insideWorld h2 {
    display: flex;
    justify-content: center;
    margin-top: 0.3rem;
    width: 100%;
    color: black;
    background-color: #ffff;
    border-radius: 5px;
    font-size: clamp(0.85rem, 1vw, 1.2rem);
    font-weight: 400;
    border: 1px solid #4949492f;
  }

  .one {
    flex-direction: row;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hide {
    display: none;
  }


  /* Mobile Main End*/
}