@font-face {
  font-family: 'FZPHOTOGRAPH';
  src: url(../f/FZ-PHOTOGRAPH.TTF); 
}
@font-face {
  font-family: 'SVNAmeyallindaSignature';
  src: url(../f/SVN-AmeyallindaSignature.otf); 
}
@font-face {
  font-family: 'MontserratExtraBold';
  src: url(../f/Montserrat-ExtraBold.ttf); 
}
@font-face {
  font-family: 'OpenSans-Italic';
  src: url(../f/OpenSans-Italic.ttf); 
}
@font-face {
  font-family: 'OpenSans';
  src: url(../f/OpenSans-Regular.ttf); 
}
@font-face {
  font-family: 'OpenSansExtraBold';
  src: url(../f/OpenSans-ExtraBold.ttf); 
}
#ud8-1{
    padding: 30px 0 80px 0;
}
#ud8-1 img{
    display: block;
    margin: auto;
}
.title-ud8 {
        text-align: center;
    background: linear-gradient(to bottom, #a07500, #522e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'MontserratExtraBold';
    font-size: 50px;
    font-weight: 100;
    line-height: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-ud8 span{
        font-family: 'FZPHOTOGRAPH';
    font-size: 90px;
    line-height: 2;
    display: inline-block;
    margin: 0px 0px 10px 0;
}
#ud8-1 .title-ud8 span{
  margin-right: 10px;
}
.tt-ud8 h3{
      font-size: 40px;
    font-family: 'MontserratExtraBold';
    text-align: center;
    text-transform: uppercase;
}

#ud8-1 p{
    max-width: 940px;
    text-align: center;
    margin: auto;
    margin-bottom: -55px;
    position: relative;
    font-size: 18px;
    color: #4f2600;
    font-family: 'OpenSans-Italic';
}
#ud8-1 .title-ud8{
        margin: -40px auto 0;
}
#ud8-1 .d_contact{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#ud8-1 input{
font-family: 'OpenSans';
    font-size: 16px;
    border: 1px solid #e0bb65;
    border-radius: 32px;
    padding: 18px 40px;
}
#ud8-1 .d-send{
        background-color: #e40000;
    color: #fff;
    text-transform: uppercase;
    font-family: 'OpenSansExtraBold';
    font-size: 14px;
    padding: 20px 23px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
}
#ud8-1 .d-send:before{
    content: "";
    display: inline-block;
    width: 96%;
    height: 95%;
    border: 1px solid #e0bb65;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 40px;
    transform: translate(-50%, -50%);
    bottom: 0;
}


#ud8-2{
    position: relative;
}
#ud8-2 img{
      margin: auto;
    display: block;
}
#ud8-3 .title-ud8 span{
  line-height: 1.3;
}
.tt-ud8 p{
      color: #b57d00;
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    font-family: 'OpenSans-Italic';
}
#ud8-3 .ctn{
  max-width: 1160px;
}
#ud8-3 .row .cmd4{
  padding: 0;
  text-align: center;
}
.note1{
  text-align: center;
  font-size: 18px;
  font-family: OpenSansExtraBold;
  font-style: italic;
  color: #000;
  margin: 30px 0 30px;
}

#ud8-4 img{
  width: 100%;
}
.bt-ud8{
  display: flex;
    justify-content: center;
    gap: 30px;
}
.bt-ud8 li{
      width: 220px;
    height: 52px;
    display: inline-block;
    background: url(/wp-content/themes/traisonglam/PC/assets/uudai8/i/btn.png) center no-repeat;
    font-size: 18px;
    font-family: OpenSansExtraBold;
    color: #fff;
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    justify-content: end;
    padding-right: 32px;
    box-shadow: 0 8px 12px #eea798, 0 3px 6px rgba(0, 0, 0, .08);
    border-radius: 28px;
    
}
.bt-ud8 li:nth-child(2){
  box-shadow: 0 8px 12px #e2cc9a, 0 3px 6px rgba(0, 0, 0, .08);
  background: url(../i/btn1.png) center no-repeat;
}
#ud8-4 .bt-ud8{
      margin: -94px auto 0;
}
#ud8-4{
  margin-bottom: 100px;
}
.itud8 {
    border-radius: 50px;
    border: 9px solid #fff;
    background: linear-gradient(to bottom, #f2ead8 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-family: 'OpenSansExtraBold';
    font-size: 17px;
    text-align-last: right;
    padding: 22px 28px;
}
#ud8-5{
      background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
}

#left-ud8-5{
  position: absolute;
    right: -80%;
    max-width: 325px;
    z-index: 1;
    margin: 143px 0 0 0;
}
#right-ud8-5{
  position: absolute;
    left: -90%;
    max-width: 325px;
    z-index: 1;
    margin: 143px 0 0 0;
}
#left-ud8-5 .itud8:nth-child(1){
      width: 325px;
    margin-left: 60px;
}
#left-ud8-5 .itud8:nth-child(1){
      margin-left: 40px;
      width: 325px;
}
#right-ud8-5 .itud8:nth-child(1){
      width: 325px;
        margin-left: -50px;
}
#right-ud8-5 .itud8:nth-child(3){
  margin-left: -42px;
}
#ud8-5 .tt-ud8{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
      top: -4%;
}
#ud8-5  .title-ud8 span{
      line-height: 2;
    margin-bottom: -40px;
}
#ud8-6{
  padding-bottom: 25px;
}
#ud8-6 .title-ud8 span{
      line-height: 2;
    margin-bottom: -40px;
}
#ud8-6 img{
  display: block;
  margin: auto;
}
#ud8-6 .bt-ud8{
  margin: -88px auto 0;
}
#ud8-7 .title-ud8 span{
  margin: 30px 0 -30px 0;
}
#ud8-7 .tt-ud8 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1;
}
#ud8-7 img{
  display: block;
  margin: auto;
}
#ud8-7{
  position: relative;
    padding-top: 145px;
}
#ud8-8 img{
  display: block;
  margin: auto;
}
#ud8-8{
      margin-bottom: -100px;
    position: relative;
}
#ud8-9 img{
  display: block;
  margin: auto;
}
#ud8-10 .title-ud8 span{
  margin: 0 0 -35px 0;
}
#ud8-10 .cmd2 > div{
  border: 8px solid #fff;
    background: linear-gradient(to bottom, #f2ead8 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
        border-radius: 30px;    min-height: 260px;
}
#ud8-10 .cmd2 span{
  width: 110px;
    height: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 18px;
}
#ud8-10 .cmd2 p{
      font-size: 16px;
    color: #2c2c2e;
    text-align: center;
    padding: 0 15px;
    font-family: 'OpenSans-Italic';
}
#ud8-10{
  position: relative;
    overflow: hidden;
    padding-bottom: 15px;
}
#ud8-11 img{
      margin: 0 auto -57px;
    display: block;
}
/* slider 3d */
#ud8-2 .container{
      display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
}

.slider-container {
  height: 35rem;
  width: 100vw;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  position: relative;
  margin-top: 2rem;
}

.left-arrow,
.right-arrow {
  height: 100%;
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.slider-content {
  height: 100%;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  overflow: hidden;
  position: relative;
  perspective: 100px;
}
.slider-content-background {
  height: 100%;
  width: 102%;
  position: absolute;
  top: 0;
  left: -1%;
  background: linear-gradient(
    to left,
    #f1f1f1,
    transparent,
    transparent,
    transparent,
    #f1f1f1
  );
  z-index: 3;
}
.slider-content .slide {
  position: absolute;
  left: 50%;
  height: 492px;
  max-height: 495px;
  width: 65%;
  min-width: 270px;
  border-radius: 25px;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, 0) rotateY(0deg) scale(1,1);
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, left 0.5s ease-in-out,
    z-index 0s 0.25s ease-in-out, box-shadow 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.slide.position-1 {
  left: 20% !important;
  z-index: 1 !important;
  transform: translate(-50%, 0) rotateY(-2deg) scale(0.8, 0.8) !important;
  opacity: 1 !important;
  box-shadow: 0px 0.4rem 1.6rem rgba(0, 0, 0, 0.1) !important;
  filter: blur(5px);
  
}
.slide.position-2 {
  left: 35% !important;
  z-index: 2 !important;
  transform: translate(-50%, 0) rotateY(-1deg) scale(0.9, 0.9) !important;
  opacity: 1 !important;
  box-shadow: 0px 0.4rem 1.6rem rgba(0, 0, 0, 0.3) !important;
  filter: blur(2px);
  
  
}
.slide.position-3 {
  left: 50% !important;
  z-index: 4 !important;
  transform: translate(-50%, 0) rotateY(0deg) scale(1, 1) !important;
  opacity: 1 !important;
  
  cursor: pointer;
  filter: blur(0px);
}
.slide.position-3:hover {
  
  transform: translate(-50%, 0) rotateY(0deg) scale(1.02, 1.02) !important;
}
.slide.position-4 {
  left: 65% !important;
  z-index: 2 !important;
  transform: translate(-50%, 0) rotateY(1deg) scale(0.9, 0.9) !important;
  opacity: 1 !important;
  box-shadow: 0px 0.4rem 1.6rem rgba(0, 0, 0, 0.3) !important;
  filter: blur(2px);
  
/*   animation: center-animation 1s 1s linear 1 forwards; */
}
/* @keyframes center-animation{ */
/*   0%{
    left: 70% !important;
    transform: translate(-50%, 0) rotateY(1deg) scale(0.9, 0.9) !important;
  }
  50%{
    left: 75% !important;
    transform: translate(-50%, 0) rotateY(-2deg) scale(1.1, 1.1) !important;
  }
  100%{
    left: 50% !important;
    transform: translate(-50%, 0) rotateY(0deg) scale(1, 1) !important;
  }
} */
.slide.position-5 {
  left: 80% !important;
  z-index: 1 !important;
  transform: translate(-50%, 0) rotateY(2deg) scale(0.8, 0.8) !important;
  opacity: 1 !important;
  box-shadow: 0px 0.4rem 1.6rem rgba(0, 0, 0, 0.1) !important;
  filter: blur(5px);
}
.slide.position-none{
   left: 50%;
  z-index: 0;
  transform: translate(-50%, 0) rotateY(0deg) scale(0.7, 0.7);
  opacity: 1;
  box-shadow: 0px 0.4rem 1.6rem rgba(0, 0, 0, 0);
}

.slider-container i{
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
}
.slider-container .left-arrow:hover i, .slider-container .right-arrow:hover i{
  background: rgba(22,22,220,0.1);
  color: #fff;
}


.slider-content .slide .card-button{
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slider-content .slide.position-3 .card-button{
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.slide > *{
  color: white;
  font-family: 'Inter';
  font-size: 90%;
  letter-spacing: -0.001em;
}

.media{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media img{
  position: absolute;
  height: 30rem;
}


@media screen and (max-width:620px){
  .slide.position-1, .slide.position-5 {
    opacity: 0.5 !important;
  }
  .slide.position-2, .slide.position-4 {
    opacity: 0.95 !important;
  }
} 
  
@media screen and (max-width: 445px){
  
  .slide.position-1, .slide.position-5 {
    opacity: 0 !important;
  }
.slide.position-2, .slide.position-4 {
  opacity: 0.5 !important;
}
}
@media screen and (max-width: 415px){
  .slide{
    opacity: 0 !important;
    box-shadow: none !important;
  }
  .slide.position-3{
    box-shadow: none !important;
    opacity: 1 !important;
  }
  .slide.position-1, .slide.position-2 {
    left: -50% !important;
    transform: translate(-50%, 0) rotateY(0deg) scale(0.7, 0.7) !important;
  }
  .slide.position-4, .slide.position-5 {
    left: 150% !important;
    transform: translate(-50%, 0) rotateY(0deg) scale(0.7, 0.7) !important;
  }
}

/* end slider */

@media screen and (max-width: 1680px){
  #ud8-2 .container{
    top: 5%;
  }
}
@media screen and (max-width: 1440px){
  #ud8-6 .bt-ud8 {
    margin: -70px auto 0;
  }
  #ud8-4 .bt-ud8 {
    margin: -75px auto 0;
  }
}
@media screen and (max-width: 1370px){
  .media img{
    height: 26rem;
  }
  #ud8-3 .ctn {
      max-width: 100%;
  }
  .title-ud8{
    font-size: 40px;
  }
  .tt-ud8 h3 {
    font-size: 30px;}
    .tt-ud8 p{
      font-size: 18px;
    }
    #ud8-5 .tt-ud8{
      top: -12%;
    }
    #ud8-7 .tt-ud8{
      top: -5%;
    }
}