
@keyframes slide {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100px);
    }
  }

  .plnzee {
    
    font-size: 25px;
    text-decoration: none; /* กำหนดให้ไม่มีขีดเส้นใต้ข้อความ */
    overflow: hidden; /* ป้องกันข้อความเกินขอบ */
    white-space: nowrap; /* ให้ข้อความอยู่ในบรรทัดเดียว */
    animation: slide 20s linear infinite; /* เลื่อนไปทางซ้าย โดยใช้ animation ที่ชื่อ slide */
  }
  .plnzee a{
    text-decoration: none; /* กำหนดให้ไม่มีขีดเส้นใต้ข้อความ */
    font-size: 25px;
    color: rgb(233, 207, 5);
  }

  @keyframes slide2 {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(calc(18% ));
    }
  }
  .plnzee2 {
    
    margin-top: 40px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden; /* ป้องกันข้อความเกินขอบ */
    white-space: nowrap; /* ให้ข้อความอยู่ในบรรทัดเดียว */
    animation: slide2 20s linear infinite; /* เลื่อนไปทางซ้าย โดยใช้ animation ที่ชื่อ slide */
    box-sizing: border-box;
  }
  .plnzee2 a{
    text-decoration: none; /* กำหนดให้ไม่มีขีดเส้นใต้ข้อความ */
    font-size: 14px;
    color: rgb(42, 255, 4);
  }

  /* ===== Mobile ===== */
  @media only screen and (max-width: 768px) {
    .plnzee2 {
      width: 100%;
      max-width: 100vw;
      left: 0;
      font-size: 14px;
    }
    .plnzee2 a {
      font-size: 14px;
    }
  }

  /* ===== Small Mobile ===== */
  @media only screen and (max-width: 400px) {
    .plnzee2 {
      font-size: 12px;
    }
    .plnzee2 a {
      font-size: 12px;
    }
  }