@font-face {
  font-family: 'ibm_plex_sans_thaibold';
  src: url('../fonts/ibmplexsansthai-bold-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ibm_plex_sans_thaiextralight';
  src: url('../fonts/ibmplexsansthai-extralight-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-extralight-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'ibm_plex_sans_thailight';
  src: url('../fonts/ibmplexsansthai-light-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'ibm_plex_sans_thaimedium';
  src: url('../fonts/ibmplexsansthai-medium-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'ibm_plex_sans_thairegular';
  src: url('../fonts/ibmplexsansthai-regular-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'ibm_plex_sans_thaisemibold';
  src: url('../fonts/ibmplexsansthai-semibold-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-semibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'ibm_plex_sans_thaithin';
  src: url('../fonts/ibmplexsansthai-thin-webfont.woff2') format('woff2'),
       url('../fonts/ibmplexsansthai-thin-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: '863_customregular';
  src: url('../fonts/863custom-regular-webfont.woff2') format('woff2'),
       url('../fonts/863custom-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.font-ibm-bold {
  font-family: 'ibm_plex_sans_thaibold', sans-serif;
  vertical-align: middle;
}

.font-ibm-extra-light {
  font-family: 'ibm_plex_sans_thaiextralight', sans-serif;
  vertical-align: middle;
}

.font-ibm-light {
  font-family: 'ibm_plex_sans_thailight', sans-serif;
  vertical-align: middle;
}

.font-ibm-medium {
  font-family: 'ibm_plex_sans_thaimedium', sans-serif;
  vertical-align: middle;
}

.font-ibm-regular {
  font-family: 'ibm_plex_sans_thairegular', sans-serif;
  vertical-align: middle;
}

.font-ibm-semi-bold {
  font-family: 'ibm_plex_sans_thaisemibold', sans-serif;
  vertical-align: middle;
}

.font-ibm-semi-thin {
  font-family: 'ibm_plex_sans_thaithin', sans-serif;
  vertical-align: middle;
}

.font-863 {
  font-family: '863_customregular', 'ibm_plex_sans_thairegular', sans-serif;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .container {
    max-width: 1300px !important;
    width: 100%;
  }
}

* {
  touch-action: manipulation;
}

.range-slider {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgb(209 213 219 / var(--tw-bg-opacity, 1));
  border-radius: 5px;
}

.range-track {
  position: absolute;
  height: 6px;
  background: black;
  border-radius: 5px;
  z-index: 1;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: black;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all; 
  z-index: 2;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

label {
  font-family: 'ibm_plex_sans_thairegular', sans-serif;
  font-size: 14px;
}

input,
textarea {
  font-family: 'ibm_plex_sans_thairegular', sans-serif !important;
  font-size: 16px !important;
  border: 1px solid #bababa !important;
  border-radius: 100px !important;
  padding: 4px 16px !important;
  width: 100% !important;
  max-width: 100% !important;
}

textarea {
  border-radius: 10px !important;
}

input:focus,
textarea:focus {
  border-color: black !important;
  outline: none !important;
  box-shadow: none !important;
}

button[type="submit"] {
  font-family: '863_customregular', sans-serif !important;
  font-size: 20px !important;
  background: black !important;
  color: white !important;
  border-radius: 100px !important;
  padding: 10px 16px !important;
  outline: none !important;
  border: none !important;
}

button[type="submit"]:focus,
button[type="submit"]::after {
  outline: none !important;
  border: none !important;
}

.wpforms-form em.wpforms-error {
  margin-top: 0 !important;
}

.mailerlite-form-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
}

#mailerlite-1-field-email {
  width: 100% !important;
  height: 44px;
  border: 1px solid #BABABA;
}

#mailerlite-form_1,
.mailerlite-form .mailerlite-form-field {
  width: 100%;
  margin-bottom: 0;
}

@media screen and (min-width: 1100px) {
  .mailerlite-form .mailerlite-form-field {
    max-width: 365px !important;
  }
}

button[type="submit"].mailerlite-subscribe-submit {
  width: 100%;
  min-width: 100px;
  font-size: 16px !important;
  flex-shrink: 0;
  padding: 10px 15px !important;
}

.mailerlite-subscribe-button-container {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .mailerlite-form-inputs {
    flex-direction: row;
  } 

  .mailerlite-subscribe-button-container {
    width: auto;
  }
}

div.wpforms-container-full .wpforms-form textarea {
  padding: 15px !important;
}

button[name="wpforms[submit]"] {
  padding: 17px 29px !important;
  height: auto !important;
  font-size: 16px !important; 
}

button[type="submit"].mailerlite-subscribe-submit:hover,
button[name="wpforms[submit]"]:hover {
  background: #333 !important;
  transition: none !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background-color: #EFEFEF !important;
  border: none !important;
  text-align: center !important;
  padding: 40px 0 !important;
}


.ytp-gradient-top {
  display: none !important;
}


@keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-bottom {
  opacity: 0;
}

.fade-in-bottom.visible {
  animation: fadeInFromBottom 0.7s ease-out forwards;
}


.wpforms-container .wpforms-form .wpforms-field-label {
  margin-bottom: 5px !important;
}

.wpforms-submit {
  width: 100% !important;
}

@media screen and (min-width: 1100px) {
  .wpforms-submit {
    width: auto !important;
  }
}