@font-face {
  font-family: "Noto Sans";
  src: local("Noto Sans"),
    url("assets/fonts/NotoSansThai-Medium.ttf") format("truetype");
  font-display: swap;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

html {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: url("../images/background/bg-1.webp") no-repeat center center
    fixed !important;
  background-size: cover !important;
  backdrop-filter: brightness(50%);
}

.nuxt-layout {
  /* position: relative; */
  min-height: 100vh;
}
/* Nuxt-transitions  */
.page-enter-active,
.page-leave-active {
  transition: transform 0.2s, opacity 0.2s;
}
.page-enter {
  /* transform: translateX(50%); */
  opacity: 0;
}

.page-leave-to {
  /* transform: translateX(-50%); */
  opacity: 0;
}

.layout-enter-active,
.layout-leave-active {
  transition: opacity 0.5s;
}
.layout-enter,
.layout-leave-to {
  opacity: 0;
}

.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.4s;
}
.modal-enter,
.modal-leave-active {
  opacity: 0;
}

.slick-dots li button:before {
  content: "" !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 100% !important;
  background: #fff;
  border: #fff solid 2px !important;
}
.slick-dots li {
  margin: 4px 1px !important;
}

.slick-center {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  transform: scale(1.15);
}

/* card flip */
.flip-card {
  background-color: transparent;

  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;

  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #fff;
}

.flip-card-back {
  background-color: #fff;

  transform: rotateY(180deg);
}
