

@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai+Looped:wght@500;600;800&display=swap');


*{
    font-family: 'Noto Sans Thai Looped', sans-serif;
    font-weight: 800;
}

body {
  background: url('image/bg2_2.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.container-fluid {
  justify-content: space-between;
}

.navbar {
  border: 2px solid rgb(255, 255, 255, .3);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.436);
}

.navbar img {
  width: 100%;
  height: 40px;
}

.nav-link{
    display: inline-block;
    color: rgb(125, 78, 34);
    margin-left: 20px;
    font-size: 17px;
    box-shadow: inset 0 0 0 0 #a3690552;
    transition: color .10s ease-in-out, box-shadow .10s ease-in-out;
    border-radius: 5px;
    opacity: 0;
    animation: slidetop .5s ease forwards;
    animation-delay: calc(.10s * var(--i)); 
}
@keyframes slidetop {
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
.nav-link:hover {
    box-shadow: inset 150px 0 0 0 #a3690552;
  }
#logobrand h1{
    color: rgb(125, 78, 34);
    text-shadow: 0px 2px 2px rgb(0, 0, 0);
    font-weight: 800;
}
#logobrand p{
    color: rgb(0, 0, 0);
    /*text-shadow: 0px 1px 1px rgb(0, 0, 0);*/
    /*letter-spacing: .5px;*/
    font-weight: 600;
}
#logobrand h4{
    text-shadow: 0px 1px 1px rgb(0, 0, 0);
    font-weight: 800;
    
}
.logobrand{
    padding-top: 10vh;
}
.services{
    padding-top: 20vh;
}
.service-box{
    height: 500px;
}

.nav-link {
  display: inline-block;
  color: rgb(125, 78, 34);
  margin-left: 20px;
  font-size: 17px;
  box-shadow: inset 0 0 0 0 #a3690552;
  transition: color .10s ease-in-out, box-shadow .10s ease-in-out;
  border-radius: 5px;
  opacity: 0;
  animation: slidetop .5s ease forwards;
  animation-delay: calc(.10s * var(--i));
}

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

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-link:hover {
  box-shadow: inset 150px 0 0 0 #a3690552;
}

#logobrand h1 {
  color: rgb(125, 78, 34);
  text-shadow: 0px 2px 2px rgb(0, 0, 0);
}

#logobrand p {
  color: rgb(0, 0, 0);
  /*text-shadow: 0px 1px 1px rgb(0, 0, 0);*/
  letter-spacing: .5px;
}

#logobrand h4 {
  text-shadow: 0px 1px 1px rgb(0, 0, 0);

}

.logobrand {
  padding-top: 10vh;
}

.services {
  padding-top: 20vh;
}

.service-box {
  height: 500px;
}

.bi {
  font-size: 50px;
}

.cart_icon a i {
  font-size: 22px;
  cursor: pointer;
}

/*===================form======================*/
#logobrand img {
  opacity: 0;
  animation: zoomin 1s ease forwards, updown 4s ease-in-out infinite;
  animation-delay: 2.1s, 3.1s;
}

#logobrand h4 {
  opacity: 0;
  animation: slideleft 1s ease forwards;
  animation-delay: 3.1s;
}

#logobrand h1 {
  opacity: 0;
  animation: slideright 1s ease forwards;
  animation-delay: 3.5s;
}

#logobrand p {
  opacity: 0;
  animation: slideleft 1s ease forwards;
  animation-delay: 4s;
  line-height: 30px;
}

#logobrand .card {
  position: relative;
  color: #fff;
  background: transparent;
  overflow: hidden;
  border-top: 0px solid rgba(255, 255, 255, 0.5);
  border-right: 0px solid rgba(255, 255, 255, 0.5);
  border-bottom: 0px solid rgba(255, 255, 255, 0.5);
  border-left: 0px solid rgba(255, 255, 255, 0.5);
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 1em;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.53);
  opacity: 0;
  animation: zoomin 1s ease forwards;
  animation-delay: 1.1s;

}

#logobrand p {
  font-size: 0.95rem;

}

#logobrand span {
  position: absolute;
  border-radius: 100vmax;
}

.top {
  top: 0;
  left: 0;
  width: 0;
  height: 20px;
  background: linear-gradient(90deg,
      transparent 50%,
      rgba(255, 255, 255, 0.5),
      rgb(255, 255, 255));
}

#logobrand .bottom {
  right: 0;
  bottom: 0;
  height: 20px;
  background: linear-gradient(90deg,
      rgb(255, 255, 255),
      rgba(255, 255, 255, 0.5),
      transparent 50%);
}

#logobrand .right {
  top: 0;
  right: 0;
  width: 20px;
  height: 0;
  background: linear-gradient(180deg,
      transparent 30%,
      rgba(255, 255, 255, 0.5),
      rgb(255, 255, 255));
}

#logobrand .left {
  left: 0;
  bottom: 0;
  width: 20px;
  height: 0;
  background: linear-gradient(180deg,
      rgb(255, 255, 255),
      rgba(255, 255, 255, 0.5),
      transparent 70%);
}

#logobrand .top {
  animation: animateTop 10s ease-in-out infinite;
}

#logobrand .bottom {
  animation: animateBottom 10s ease-in-out infinite;
}

#logobrand .right {
  animation: animateRight 10s ease-in-out infinite;
}

#logobrand .left {
  animation: animateLeft 10s ease-in-out infinite;
}

@keyframes animateTop {
  25% {
    width: 100%;
    opacity: 1;
  }

  30%,
  100% {
    opacity: 0;
  }
}

@keyframes animateBottom {

  0%,
  50% {
    opacity: 0;
    width: 0;
  }

  75% {
    opacity: 1;
    width: 100%;
  }

  76%,
  100% {
    opacity: 0;
  }
}

@keyframes animateRight {

  0%,
  25% {
    opacity: 0;
    height: 0;
  }

  50% {
    opacity: 1;
    height: 100%;
  }

  55%,
  100% {
    height: 100%;
    opacity: 0;
  }
}

@keyframes animateLeft {

  0%,
  75% {
    opacity: 0;
    bottom: 0;
    height: 0;
  }

  100% {
    opacity: 1;
    height: 100%;
  }
}

/*==================Service=================*/
#services .card {
  /*background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.53);
    opacity: 0;
    animation: zoomin 1s ease forwards,updown 4s ease-in-out infinite;
    animation-delay: 1.1s,2.1s;*/


  border: 0px solid rgba(255, 255, 255, 0.5);
  flex: 0 50%;
  background: transparent;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.53);
  border-radius: 15px;
  margin: 8px;
  padding: 10px 15px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 265px;
  transition: 0.7s;
  
}

#services h3,
#services p,
#services i {
  color: rgb(255, 255, 255);
  text-shadow: 0px 1px 1px rgb(0, 0, 0);
  font-weight: 800;
}

@keyframes zoomin {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes updown {
  0% {
    transform: translateY(0);
  }

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

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

@keyframes slideleft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideright {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

#services h1,
#videoplay h1 {
  color: white;
  text-shadow: 0px 2px 2px rgb(0, 0, 0);
}


#services .card::before {
  content: "";
  position: absolute;
  background: rgb(85 108 214 / 5%);
  width: 170px;
  height: 400px;
  z-index: -1;
  transform: rotate(42deg);
  right: -56px;
  top: -23px;
  border-radius: 35px;
  color: #000;
}

#services .card:hover {
  background: #e7a218;
  color: #ffffff;
  transform: scale(1.1);
  z-index: 9;
}

#services .card:hover::before {
  background: rgba(11, 11, 11, 0.1)
}

#services .hover_color_bubble {
  position: absolute;
  background: rgba(0, 0, 0, 0.15);
  width: 100rem;
  height: 100rem;
  left: 0;
  right: 0;
  z-index: -1;
  top: 16rem;
  border-radius: 50%;
  transform: rotate(-36deg);
  left: -18rem;
  transition: 0.7s;
}

#services .card:hover .hover_color_bubble {
  top: 0rem;
}

#services i {
  font-size: 5em;
}

/*==========footer==========*/
#footer_index .imghov {
  --g: 0px;
  --b: 6px;
  --c: #da8a00;
  box-shadow: 1px 6px 12px #000000;


  padding: calc(var(--g) + var(--b));
  --_c: #0000 0 25%, var(--c) 0 50%;
  --_g1: repeating-linear-gradient(90deg, var(--_c)) repeat-x;
  --_g2: repeating-linear-gradient(180deg, var(--_c)) repeat-y;
  background:
    var(--_g1) var(--_p, 25%) 0, var(--_g2) 0 var(--_p, 125%),
    var(--_g1) var(--_p, 125%) 100%, var(--_g2) 100% var(--_p, 25%);
  background-size: 200% var(--b), var(--b) 200%;
  cursor: pointer;
  filter: grayscale(50%);
  transition: .3s;
}

#footer_index .imghov:hover {
  --_p: 75%;
  filter: grayscale(0%);
}

#footer_index .footstat,
#footer_index .footend {
  background: rgba(0, 0, 0, 0.334);
  color: white;
}

#footer_index {
  color: white;
}


/*==========img-menu===========*/
.img-slide {

  height: 400px;
  margin: auto;
  position: relative;
  width: 90%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.picture {
  display: flex;
  width: calc(500px*10);
  animation: scroll 40s linear infinite;
}

.picture:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-500px*5));
  }
}

.slideder {
  height: 300px;
  width: 1000px;
  display: flex;
  align-items: center;
  padding: 15px;
  perspective: 100px;
}

.slideder img {
  width: 100%;
  border-radius: 20px;
}

.slideder img:hover {
  transform: translateZ(20px);
}