@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');

body {
  font-family: "Kanit", sans-serif !important;
  font-weight: 200;
  font-style: normal;
}

.tags {
  background-color: #3d3d3d;
  padding: 3px 8px;
  color: #edad33;
  border-radius: 3px;
}

.tags:hover {
  background-color: #edad33;
  color: #000000;
}




.wrap-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
}

.wrap-video video {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.my-video {
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: auto;
}

.skip-ads {
  position: absolute;
  font-size: 1.5rem;
  top: 70px;
  color: #FFF;
  padding: 6px 20px;
  display: none;
  background-color: #404040;
  z-index: 102;
  cursor: pointer;
}

.register-ads {
  position: absolute;
  font-size: 1.5rem;
  top: 15px;
  color: #FFF;
  padding: 6px 20px;
  /* display: none; */
  background-color: #da4545;
  z-index: 102;
  cursor: pointer;
}

.display-block {
  display: contents !important;
}

@media only screen and (max-width: 991px) {

  .section--first {
    margin-top: -32px !important;
  }

  .white_content2,
  .white_content3 {
    display: none !important;
  }

  .skip-ads {
    font-size: 1rem;
    top: 55px;
    color: #FFF;
    padding: 6px 20px;
  }

  .register-ads {
    font-size: 1rem;
    top: 15px;
    color: #FFF;
    padding: 6px 20px;
  }

}

@media (max-width: 768px) {
  .wrap-video {
    padding-bottom: 56.25%;
    /* เปลี่ยนอัตราส่วนสำหรับหน้าจอเล็ก */
  }
}

@media (max-width: 480px) {
  .wrap-video {
    padding-bottom: 56.25%;
    /* เปลี่ยนอัตราส่วนสำหรับหน้าจอเล็กมาก */
  }
}