* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  background-color: #e2e2e2;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}

.container {
  height: 100vh;
  overflow-y: auto;
}

h1 {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

  color: #0d0d0d;
  font-size: 5.6rem;
}

h2 {
  color: #000;
  font-family: "Cormorant", serif;
  font-size: 3.6rem;
  font-style: normal;
  font-weight: 300;
}

h3 {
  color: #000;
  font-family: "Cormorant", serif;
  font-size: 3.2rem;
  font-style: normal;
  font-weight: 300;
  line-height: 36.47px; /* 113.969% */
  letter-spacing: -1px;
}

.en-p {
  font-family: "Manrope", sans-serif;
}

.font-weight-300 {
  font-weight: 300;
}

/******* Header *******/
header {
  width: 100%;
  /* height: 20vw; */
  padding: 0;
  z-index: 9999;

  position: fixed;
  top: 0;
}

.container-nav {
  margin: 0.8rem;
  padding: 0 1.6rem;
  border-radius: 0.8rem;

  /* align-items: center; */
  display: flex;
  justify-content: space-between;
  height: 5.6rem;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: #fffffff2;
  transition: all 0.8s;
}

.container-nav.nav-active {
  height: 100vh;
  width: 100vw;
  margin: 0;
  border-radius: 0;
  padding: 2.4rem 1.6rem 5.6rem 4rem;
}

/* .container-nav.nav-active .header-logo {
  align-self: flex-end;
  height: 3.2rem;
} */
/* .container-nav.nav-active button {
  align-self: flex-start;
} */

.header-logo {
  height: 2rem;
  margin-top: 1.8rem;
}

.header-logo img {
  height: 100%;
}

.trigger {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  align-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  background-color: #fff;
}

.trigger span {
  position: relative;
  width: 2.8rem;
  height: 2px;
  display: flex;
  background-color: #000;
  transition: transform 0.8s, opacity 0.4s;
}

.trigger span:first-child {
  opacity: 1;
  transform: translate(0px, 0px);
  /* top: -1px; */
}

.trigger span:nth-child(2) {
  opacity: 1;
  transform: translate(0px, 0px);
}

.trigger span:last-child {
  opacity: 1;
  transform: translate(0px, -0px);
  /* bottom: -1px; */
}

.trigger.active {
  background-color: #2b4d8a;
}

.trigger.active span {
  background-color: #fff;
}

.trigger.active span:first-child {
  transform: translate(0px, 0.6rem) rotate(45deg);
}

.trigger.active span:nth-child(2) {
  opacity: 0;
}

.trigger.active span:last-child {
  transform: translate(0px, -0.6rem) rotate(-45deg);
}

nav {
  position: absolute;
  left: 4rem;
  top: 12rem;

  display: none;
  opacity: 0;
  visibility: hidden;

  transition: all 0.8s;
}

nav.nav-menu-active {
  display: unset;
  opacity: 1;
  visibility: visible;
}

.nav-lists {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.nav-lists li {
  list-style: none;
}

.nav-lists li a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-lists li a span:first-child {
  color: #000;
  font-family: "Cormorant", serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.nav-lists li a span:last-child {
  color: #000;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 300;
  line-height: 2rem; /* 163% */
}

.lan-container {
  margin-top: 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lan-container span,
.lan-container a,
.lan-container-desktop span,
.lan-container-desktop a {
  font-family: "Manrope", sans-serif;
  font-style: normal;
}

.lan-container span, .lan-container-desktop span{
    color: #000;
    text-decoration: underline;
}

.lan-container a, .lan-container-desktop a{
    color: #a6a6a6;
    text-decoration: none;
    cursor: pointer;
}


.lan-header {
  font-weight: 700;
  font-size: 1.4rem;
  padding-bottom: 0.4rem;
}

.lan {
  font-size: 1.2rem;
}

.lan-container-desktop {
  display: none;
  visibility: hidden;
  opacity: 0;
}

/******* Bread *******/

.bread-container {
  margin-top: 10rem;
  margin-left: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 1.6rem;
}

.home-icon {
  height: 100%;
}

.bread-txt {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 18px */
  text-decoration: none;
  color: #667085;
}

.bread-current {
  color: #6fb85e;
}
/******* Footer *******/
footer {
  padding-top: 8.8rem;
  background-color: #fff;
}

.footer-top-container,
.footer-bottom-container {
  padding: 0 2.4rem;
}

.footer-top-container {
  margin-bottom: 3.2rem;
}

.footer-bottom-container {
  padding-bottom: 4rem;
}

.logo-footer-container {
  height: 3.6rem;
  margin-bottom: 2rem;
}

.logo-footer {
  height: 100%;
}

.footer-txt-container {
  max-width: 34rem;
  margin-bottom: 4.8rem;
}

.footer-txt {
  font-size: 1.6rem;
}

.footer-txt,
.contact-detail-container p,
.contact-detail-container a,
.index-footer,
.copyright {
  font-family: "Manrope", sans-serif;
}

.social-media-container {
  display: flex;
  gap: 2.8rem;
  margin-bottom: 2.8rem;
}

.social-media-icon-container {
  width: 2.4rem;
  height: 2.4rem;
}

.social-media-icon {
  height: 100%;
}

.contact-footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-header {
  font-size: 1.4rem;
}

.contact-detail,
.index-footer {
  color: #757575;
  font-size: 1.6rem;
  text-decoration: none;
}

.index-footer-container-first {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.index-footer-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
}

.copyright-container {
  padding: 2rem 0;
  background: #e2e2e2;
  text-align: center;
}

.copyright {
  color: #808080;
  font-size: 1.2rem;
}

/* Fade-in-up */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  /* Ensure the element is not visible until the animation is triggered */
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}
