@import url("https://fonts.googleapis.com/css?family=Prompt:500,700,600,300,italic|Inter:400");

:root {
  color-scheme: light only !important;
}

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  font-family: 'Prompt', sans-serif !important;
}

/* สีสำหรับโหมด Light */
body {
  background-color: #fff;
  color: #000;
}

/* สีสำหรับโหมด Dark */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #fff;
    color: #000;
  }
}


html,
body {
  margin: 0px;
  height: 100%;
}

button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

.active {
  color: #BE1E2D;
}

.dropdown .active,
.service .active {
  color: #000 !important;
  background: #C7B299 !important;
}

.storage input[type='radio'] {
  --tw-ring-color: #684E2D !important;
}

.storage input[type='radio']:checked {
  background: #684E2D !important;
}

.inspectionButton {
  background: linear-gradient(180deg, #C7B299 0%, #946F52 41%, #684E2D 81%);
}

.board {
  text-shadow: -5px 4px 5px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.shadow_booard {
  box-shadow: -8px 10px 28px 0px rgba(0, 0, 0, 0.39), -34px 39px 52px 0px rgba(0, 0, 0, 0.34), -76px 88px 70px 0px rgba(0, 0, 0, 0.20), -135px 156px 82px 0px rgba(0, 0, 0, 0.06), -211px 243px 90px 0px rgba(0, 0, 0, 0.01);
}

.storage #dropdown {
  inset: -1rem auto auto -10rem !important;
}

.contact #dropdown {
  inset: -1rem auto auto 15rem !important;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -10 !important;
}

.carousel-open:checked+.carousel-item {
  position: static;
  opacity: 100;
}

#carousel-1:checked~.control-1,
#carousel-2:checked~.control-2,
#carousel-3:checked~.control-3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.desc {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

.shadow_board {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.board_left {
  left: 50% !important;
  transform: translateX(-145%) !important;
  padding-right: 15px !important;
  padding-left: 3px !important;
  border: 1px solid #dfdada !important;
}

.board_right {
  left: 50% !important;
  transform: translateX(45%) !important;
  padding-right: 3px !important;
  padding-left: 15px !important;
  border: 1px solid #dfdada !important;
}

.board_center {
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 1px solid #dfdada !important;
}

.rounded-b-contact {
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.carousel_img{
  height: 21rem;
}

@media screen and (max-width: 370px) {
  .board_left {
    left: 50% !important;
    transform: translateX(-155%) !important;
    padding-right: 15px !important;
    padding-left: 3px !important;
    border: 1px solid #dfdada !important;
  }

  .board_right {
    left: 50% !important;
    transform: translateX(42%) !important;
    padding-right: 3px !important;
    padding-left: 15px !important;
    border: 1px solid #dfdada !important;
  }

  .board_center {
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 1px solid #dfdada !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  .board_left img {
    height: 8.5rem !important;
  }

  .board_right img {
    width: 5.5rem !important;
    height: 8.5rem !important;
  }

  .board_right p {
    margin-left: 5px !important;
  }

  .board_center img {
    width: 5.5rem !important;
    height: 9rem !important;
  }

  .exmine .h-10rem {
    height: 10rem !important;
  }
}

@media (min-width: 768px) {
  .carousel_img{
    height: 24rem !important;
  }
}
@media (min-width: 992px) {
  .carousel_img{
    height: 24rem !important;
  }
}

@media (min-width: 1200px) {
  .carousel_img{
    height: 25rem !important;
  }
}
@media (min-width: 1400px) {
  .carousel_img{
    height: 40rem !important;
  }
}
