/* * {
  color: rgb(0, 0, 0) !important;
  background-color: transparent !important;
} */
/* .aa {
  background-color: rgb(255, 0, 0);
} */

.scale {
  transform: scale(0.85);
  transform-origin: top center;
}

.lr {
  position: relative;
  /* ทำให้สามารถใช้ left ได้ */
  left: 0;
  transition: left 0.3s;
  /* เพิ่มการเปลี่ยนแปลงนุ่มนวล */
}

.lr:hover {
  left: 10px;
}

.text {
  transition: transform 0.5s ease;
}

.text:hover {
  transform: translateX(50px);
}

.center-point {
  display: flex;
  justify-content: center;
  /* แนวนอน */
  align-items: center;
  /* แนวตั้ง */
  height: 685px;
  /* ความสูงของหน้าจอ */
}

/* zoom img */
.img-z {
  width: auto;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  transition: transform 0.5s ease, opacity 0.5s ease;
  background-color: rgb(255, 255, 255);
}

.img-z img {
  width: 100%;
  opacity: 1;
  transition: transform 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.img-z:hover img {
  transform: scale(1.05);
  opacity: 0.6;

}

.carousel-item {
  position: relative;
}

.overlay {
  color: #179900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.overlay.fade-out {
  opacity: 0;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.scroll-indicator {
  display: inline-block;
  animation: bounce 1s infinite;
  font-size: 24px;
}

@keyframes bouncex {

  0%,
  100% {
    transform: translatex(0);
  }

  50% {
    transform: translatex(-50px);
  }
}

.scroll-indicatorx {
  display: inline-block;
  animation: bouncex 1s infinite;
  font-size: 24px;
}

.fs-white {
  filter: drop-shadow(10px 10px 20px rgb(255, 255, 255));
}

.fs-black {
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.774));
}

.fade-zoom {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-zoom.show {
  opacity: 1;
  transform: scale(1);
}

#quill-editor {
  height: 150px;
  /* ตั้งค่าความสูงของ Editor */
}

.pb {
  border: none;
  /* ไม่มีกรอบ */
  outline: none;
  /* ไม่มีขอบเมื่อคลิก */
  font-size: 40px;

  padding: 0;
}

.pb-p {
  border: none;
  /* ไม่มีกรอบ */
  outline: none;
  /* ไม่มีขอบเมื่อคลิก */
  padding: 10px;
}