@import url("https://fonts.googleapis.com/css?family=Sarabun&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@600&display=swap');


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sarabun", sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
}

#content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
}

#footer {
  margin-top: auto;
}

.fNoto{
  font-family: 'Noto Sans Thai', sans-serif;
}

.fSarabun{
  font-family: "Sarabun", sans-serif;
}

.clickable {
  cursor: pointer;
}

.txtWrap {
  word-wrap: break-word;
}

.btclassic:is(:hover, :focus) {
  outline-offset: 3px;
}

a {
  color: inherit; /* Don't change text color */
  text-decoration: none; /* Remove underline */
}

a:hover {
  color: inherit; /* Don't change text color */
}

.scaleloop {
  animation: scaleUpLoop 3s ease-in-out infinite;
}

@keyframes scaleUpLoop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.myRoundedL {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 0px;
}

.myRoundedR {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 10px;
}

.thumb-image1 {
  border: 2px solid #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
  display: inline-block;
  width: 100%;
}

.thumb-image2 {
  border: 2px solid #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
  display: inline-block;
  width: 100%;
}

.flex-item {
  padding: 2px;
  flex: 0 0 33%; /* Set flex-grow, flex-shrink, and flex-basis */
  box-sizing: border-box; /* Include padding and border in the width calculation */
}

a.no-underline {
  text-decoration: none;
}

a.no-underline:hover {
  color: #ff5733; /* Change the color on hover, if desired */
}
/*************************/
/* Font Size */
/*************************/
.f8 {
  font-size: 8px;
}
.f10 {
  font-size: 10px;
}
.f12 {
  font-size: 12px;
}
.f14 {
  font-size: 14px;
}
.f16 {
  font-size: 16px;
}
.f18 {
  font-size: 18px;
}
.f20 {
  font-size: 20px;
}
.f22 {
  font-size: 22px;
}

.f24 {
  font-size: 24px;
}

.f26 {
  font-size: 26px;
}
/*************************/
/* Text Color */
/*************************/
.textFB {
  color: #3975ea;
}

.textRED {
  color: #e9001b;
}

.textTW {
  color: #4d9feb;
}

.textLINE {
  color: #70c46f;
}

.txtPurple2 {
  color: #3f51b8;
}

/*************************/
/* Hover Color */
/*************************/
.hoverblue:hover {
  /* Set the text color to blue */
  color: rgb(0, 106, 255);
}

.hoveryellow:hover {
  /* Set the text color to blue */
  color: rgb(255, 238, 0);
}

.hoverred:hover {
  color: rgb(229, 0, 0);
}

.hoverwhite:hover {
  /* Set the text color to blue */
  color: rgb(255, 255, 255);
}

/*************************/
/* Border */
/*************************/
.borderDash1{
  border: 2px dashed #327cfc;
}

.borderLowGray{
  border-color:#dbdbdb
}

/*************************/
/* Position <DIV> */
/*************************/

div.RB {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

div.LB {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

div.RT {
  position: absolute;
  top: 0px;
  right: 0px;
}

div.RT {
  position: absolute;
  top: 0px;
  left: 0px;
}

div.R0 {
  position: absolute;
  right: 10px;
}

/*************************/
/* INPUT FORM */
/*************************/
input.form-control::-webkit-input-placeholder {
  font-size: 14px;
  color: gray;
}

input.form-control::-moz-placeholder {
  font-size: 14px;
  color: gray;
}

input.form-control:-ms-input-placeholder {
  font-size: 14px;
  color: gray;
}

input.form-control::placeholder {
  font-size: 14px;
  color: gray;
}

.inputGroup {
  margin: 1em 0 1em 0;
  position: relative;
}

/*************************/
/* Drop Zone Image Upload */
/*************************/
.dropzone {
  width: 100%;
  height: 200px;
  border: 1px dashed #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-image: linear-gradient(to right, #7affe7, #53a8ff);
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: black;
  text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
  margin-bottom: 5px;
}

/*************************/
/* Scale Button */
/*************************/
.scale-button {
  /* Add your desired button styles */
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s; /* Animate the transform property */
}

.scale-button:hover {
  transform: scale(1.03); /* Scale up the button by 10% */
}

.scale-li {
  cursor: pointer;
  transition: transform 0.3s;
}

.scale-li:hover {
  transform: scale(1.2);
}

/********************/
/* Search Bar */
/********************/
.search {
  display: inline-block;
  position: relative;
}

.search input[type="text"] {

  padding: 10px;
  padding-left: 20px;

  border: none;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Style the placeholder text */
.search input[type="text"]::placeholder {
  color: #999; /* Adjust the color to your preference */
}

.search button[type="submit"] {
  background-color: #4e99e9;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -3;
  right: -3;
 
  transition: 0.9s ease;
}

.search button[type="submit"]:hover {
  transform: scale(1.1);
  color: rgb(255, 255, 255);
  background-color: rgb(1, 96, 192);
}

/**********************/
/* BORDER */
/**********************/

.borderRef{
  border: 2px dashed #2a2a2a;
}

/**********************/
/* Div Position */
/**********************/
.flex-centered-items {
  display: flex;
  align-items: center;
}


/**********************/
/* BUTTON */
/**********************/
.button_pack {
  background: #FDC830;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #F37335, #FDC830);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #F37335, #FDC830); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  border: 2px solid #fff; /* Add white border of 2px */
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
