body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #161418;
  color: #eee;
  user-select: none;
}


.auth-full-bg2 {
  background-color: rgba(85,110,230,.25);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
}

.auth-full-bg2 .bg-overlay2 {
  background: url(../images/bg-auth-overlay.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bg-overlay2 {
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  opacity: .7;
  background-color: #000;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.nft {
  user-select: none;
  max-width: 370px;
  margin: 2rem auto;
  border: 1px solid #ffffff22;
  background: rgb(184,233,255);
  background: linear-gradient(0deg, rgba(184,233,255,1) 0%, rgba(0,133,250,1) 97%, rgba(15,118,226,1) 100%);
  box-shadow: 0 7px 20px 5px #00000088;
  border-radius: 0.7rem;
  overflow: hidden;
  transition: 0.5s all;
}
.nft hr {
  width: 100%;
  border: none;
  border-bottom: 1px solid #88888855;
  margin-top: 0;
}
.nft ins {
  text-decoration: none;
}
.nft .main {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
}
.nft .main .tokenImage {
  border-radius: 0.5rem;
  max-width: 100%;
  height: 250px;
  object-fit: cover;
}
.nft .main .description {
  margin: 0.5rem 0;
  color: #000000;
}
.nft .main .tokenInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nft .main .tokenInfo .price {
  display: flex;
  align-items: center;
  color: #ee83e5;
  font-weight: 700;
}
.nft .main .tokenInfo .price ins {
  margin-left: -0.3rem;
  margin-right: 0.5rem;
}
.nft .main .tokenInfo .duration {
  display: flex;
  align-items: center;
  color: #a89ec9;
  margin-right: 0.2rem;
}
.nft .main .tokenInfo .duration ins {
  margin: 0.5rem;
  margin-bottom: 0.4rem;
}
.nft .main .creator {
  display: flex;
  align-items: center;
  margin-top: 0.2rem;
  margin-bottom: -0.3rem;
}
.nft .main .creator ins {
  color: #a89ec9;
  text-decoration: none;
}
.nft .main .creator .wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff22;
  padding: 0.3rem;
  margin: 0;
  margin-right: 0.5rem;
  border-radius: 100%;
  box-shadow: inset 0 0 0 4px #000000aa;
}
.nft .main .creator .wrapper img {
  border-radius: 100%;
  border: 1px solid #ffffff22;
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  margin: 0;
}
.nft ::before {
  position: fixed;
  content: "";
  box-shadow: 0 0 100px 40px #ffffff08;
  top: -10%;
  left: -100%;
  transform: rotate(-45deg);
  height: 60rem;
  transition: 0.8s all;
}
.nft:hover {
  border: 1px solid #ffffff44;
  box-shadow: 0 7px 50px 10px #000000aa;
  transform: scale(1.015);
  filter: brightness(1.1);
}
.nft:hover ::before {
  filter: brightness(1.5);
  top: -100%;
  left: 100%;
}

.bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.bg h1 {
  font-size: 20rem;
  filter: opacity(0.5);
}

.logo {
  width: 180px;
  height: 180px;
  background-color: #3498db; /* Logo background color */
  border: 5px solid white; /* White border */
  border-radius: 50%; /* Creates the circular shape */
}

@font-face {
  font-family: EkkamaiNew-Regular;
  src: url(../fonts/EkkamaiNew-Regular.ttf);
}
@font-face {
  font-family: EkkamaiNew-Bold;
  src: url(../fonts/EkkamaiNew-Bold.ttf);
}
@font-face {
    font-family: Kanit-Regular;
    src: url(../fonts/Kanit-Regular.ttf);
  }

.fs-36{
  font-size: 36px;
}
.fs-24{
  font-size: 24px;
}
.fs-16{
  font-size: 16px;
}

.ekkamai {
  font-family: EkkamaiNew-Regular; /* Use the custom font, and fall back to a generic sans-serif font if not available */
  font-weight: bold;
}
.ekkamai-bold {
  font-family: EkkamaiNew-Bold; /* Use the custom font, and fall back to a generic sans-serif font if not available */
  font-weight: normal;
}
.kanit {
    font-family: Kanit-Regular; /* Use the custom font, and fall back to a generic sans-serif font if not available */
    font-weight: 500;
  }

.tbold{
  font-weight: bold;
}

.text-heading {
  font-family: EkkamaiNew-Regular; /* Use the custom font, and fall back to a generic sans-serif font if not available */
  font-size: 18px;
  font-weight: 700;
}

.card-heading {
  padding: 25px 0 12px 0;
  background: #181818;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  border-top-right-radius: 10px;
}

.title {
  font-family: EkkamaiNew-Regular; /* Use the custom font, and fall back to a generic sans-serif font if not available */
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.bg1{
    background-color: #FFF;
  }
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF; /* หรือสีอื่นๆ ตามที่คุณต้องการ */
    padding: 20px 20px;
  }

  header img {
    height: 70px; /* ปรับขนาดตามความต้องการ */
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* ระยะห่างระหว่างเมนู */
    padding: 15px 0 10px 0;
  }

  nav ul li a {
    text-decoration: none;
    color: #000; /* สีของข้อความในเมนู */
    font-size: 16px;
  }

  /* เพิ่มสไตล์เมื่อเอาเมาส์ไปวาง */
  nav ul li a:hover {
    color: #42b0fc;
  }
  .banner {
    background-image: url('../../assets/images/check.jpg'); /* ใส่ทางเข้ารูปภาพของคุณ */
    background-size: cover; /* รูปภาพจะถูกขยายเพื่อปกคลุมพื้นที่ทั้งหมด */
    background-position: center; /* จัดวางรูปภาพให้อยู่กึ่งกลาง */
    text-align: center; /* ข้อความอยู่กึ่งกลาง */
    color: white; /* สีข้อความ */
    height: 300px; /* สามารถปรับตามความต้องการ */
    display: flex;
    justify-content: center;
    align-items: center; /* จัดให้ข้อความอยู่กลางแนวตั้ง */
  }
  .banner1 {
    background-image: url('../../assets/images/banner-06.jpg'); /* ใส่ทางเข้ารูปภาพของคุณ */
    background-position: center; /* จัดวางรูปภาพให้อยู่กึ่งกลาง */
    text-align: center; /* ข้อความอยู่กึ่งกลาง */
    color: white; /* สีข้อความ */
    height: 120px; /* สามารถปรับตามความต้องการ */
    display: flex;
    justify-content: center;
    align-items: center; /* จัดให้ข้อความอยู่กลางแนวตั้ง */
    object-fit: cover;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
  }
  .banner2 {
    background-image: url('../../assets/images/banner-06.jpg'); /* ใส่ทางเข้ารูปภาพของคุณ */
    background-position: center; /* จัดวางรูปภาพให้อยู่กึ่งกลาง */
    text-align: center; /* ข้อความอยู่กึ่งกลาง */
    color: white; /* สีข้อความ */
    height: 120px; /* สามารถปรับตามความต้องการ */
    display: flex;
    justify-content: center;
    align-items: center; /* จัดให้ข้อความอยู่กลางแนวตั้ง */
    object-fit: cover;
  }
  .banner3 {
    background-image: url('../../assets/images/217.jpg'); /* ใส่ทางเข้ารูปภาพของคุณ */
    background-position: center; /* จัดวางรูปภาพให้อยู่กึ่งกลาง */
    text-align: center; /* ข้อความอยู่กึ่งกลาง */
    color: white; /* สีข้อความ */
    height: 120px; /* สามารถปรับตามความต้องการ */
    display: flex;
    justify-content: center;
    align-items: center; /* จัดให้ข้อความอยู่กลางแนวตั้ง */
    object-fit: cover;
  }
  .banner4 {
    background-image: url('../../assets/images/6.jpg'); /* ใส่ทางเข้ารูปภาพของคุณ */
    background-position: center; /* จัดวางรูปภาพให้อยู่กึ่งกลาง */
    text-align: center; /* ข้อความอยู่กึ่งกลาง */
    color: white; /* สีข้อความ */
    height: 120px; /* สามารถปรับตามความต้องการ */
    display: flex;
    justify-content: center;
    align-items: center; /* จัดให้ข้อความอยู่กลางแนวตั้ง */
    object-fit: cover;
  }

  .banner-content h1 {
    font-size: 2em; /* ขนาดของหัวข้อ */
  }
  .banner-menu-content h1 {
    font-size: 1.3em; /* ขนาดของหัวข้อ */
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
  }

  /* Responsive design */
  @media (max-width: 768px) {
    .banner {
      height: 200px; /* ลดขนาดเมื่ออยู่บนอุปกรณ์ขนาดเล็ก */
    }

    .banner-content h1 {
      font-size: 1.5em; /* ลดขนาดข้อความหัวข้อ */
    }
  }

  @media (max-width: 480px) {
    .banner {
      height: 150px; /* ลดขนาดเมื่ออยู่บนอุปกรณ์ขนาดเล็กมาก */
    }

    .banner-content h1 {
      font-size: 1em; /* ลดขนาดข้อความหัวข้อสำหรับมือถือ */
    }

    .social-media {
      text-align: center;
      min-width: 370px;
    }
  }

  @media (min-width: 1028px) {
    .social-media {
      text-align: right;
      min-width: 500px;
    }
  }
  
  footer {
    background-color: #333333; /* Replace with the color of your choice */
    color: white;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    bottom: 0px;
    left: 0px;
    padding: 10px;
    text-align: center;
    width: 100%;
    color: white;
  }

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 90px;
  margin-top: 40px;
}
.footer-container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 20px;
}
.footer-container3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 40px;
}

.contact-info {
  text-align: left;
  margin-bottom: 10px;
}

.school-emblem img {
  width: 350px; /* Adjust as necessary */
  height: auto;
}

.social-link {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  display: inline-block;
  /* Add more styling for your social media links here */
}
.border-line{
  width:100%;
  height:1px;
  background-color:#888;
  float:left;
}
.text-foot{
  float:left;
  width:100%;
}
.footer-push{
  margin-top:350px;
}

/* Add responsiveness if needed */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-media {
    margin-top: 20px;
  }
}

/* .menu {
  display: block;
  margin: 0 auto;
  position: relative;
  width: 200px;
} */

/* .menu > li > a {
  background: blue;
  color: #fff;
  display: block;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
} */

.menu ul {
  background: #FFF;
  height: 220px;
  left: 0;
  opacity: 1;
  position: absolute;
  /* z-index: 9999;
  transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out; */
   
  top: 100px;
  width: 100%;
}

.menu ul.about-hover {
  background: #FFF;
  height: 220px;
  left: 0;
  display: none;
  z-index: 9999;
   
  top: 100px;
  width: 100%;
  border-top: 2px solid #42b0fc;
}

.menu ul.submenu {
  background: #FFF;
  height: 220px;
  left: 0;
  display: none;
  z-index: 9999;
   
  top: 100px;
  width: 100%;
  border-top: 2px solid #42b0fc;
}

.menu ul.news {
  background: #FFF;
  height: 300px;
  left: 0;
  display: none;
  /* position: absolute;
  transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out; */
  z-index: 9999;

  top: 100px;
  width: 100%;
  border-top: 2px solid #42b0fc;
}

/* .menu li:hover ul {
  border-top: 2px solid #42b0fc;
  height: 220px;
  opacity: 1;
  z-index: 9999;
}

.menu li:hover ul.news {
  border-top: 2px solid #42b0fc;
  height: 300px;
  opacity: 1;
  z-index: 9999;
}

.menu ul a {
  color: #000;
  display: block;
  padding: 5px 20px;
} */

.outer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    padding: 0 20px;
    margin: auto;
}
.outer-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    margin: auto;
}

.styled-div {
  background-color: #f0f0f0; /* Light gray background */
  padding: 20px 10px; /* Spacing around content except bottom */
  padding-bottom: 0; /* No padding at the bottom to allow subtitle to stick to the bottom */
  text-align: center; /* Center text horizontally */
  
  margin: auto; /* Center div in the page */
  position: relative; /* Needed to position the subtitle absolutely within the container */
  float:left;

  flex: 0 1 calc(16.67% - 2px); /* Each box will take up a third of the container width minus margin */
    height: 190px; /* Fixed height for each box */
}
.styled-div4 {
  background-color: #f0f0f0; /* Light gray background */
  padding: 20px 10px; /* Spacing around content except bottom */
  padding-bottom: 0; /* No padding at the bottom to allow subtitle to stick to the bottom */
  text-align: center; /* Center text horizontally */
  
  margin: auto; /* Center div in the page */
  position: relative; /* Needed to position the subtitle absolutely within the container */

  /* flex: 0 1 calc(25% - 20px); */
  flex: 0 0 calc(25% - 20px); /* Do not grow or shrink the div */
  height: 190px; /* Fixed height for each box */
}
.styled-div2 {
  
  padding-bottom: 0; /* No padding at the bottom to allow subtitle to stick to the bottom */
  text-align: left; /* Center text horizontally */
  
  margin: auto; /* Center div in the page */
  position: relative; /* Needed to position the subtitle absolutely within the container */

  /* flex: 0 1 calc(25% - 20px); */
  flex: 0 0 calc(50% - 20px); /* Do not grow or shrink the div */
  height: 190px; /* Fixed height for each box */
}
.styled-div2-sub {
  padding-bottom: 0; 
  text-align: left; 
  margin: auto; 
  flex: 0 0 calc(50%);
  height: 298px;
}
.styled-div2-2 {
  padding-bottom: 0; 
  text-align: left; 
  margin: auto;
  position: relative; 
  flex: 0 1 calc(50% - 25px);
  height: 120px;
}

.icon {
  display: block;
  font-size: 24px; /* Size of the icon, adjust as needed */
  margin-bottom: 10px; /* Spacing between icon and text */
}

.text-content {
    color: #333; /* Dark text color */
    margin-bottom: 12px; /* Adjust the margin to the height of your subtitle */
}

.title-menu {
    margin: 0; /* Remove default margins */
    color: #000; /* Color for the title, a blue shade */
    font-size: 18px;
    transition: all 0.25s ease-out;
}
.title-menu:hover {
    color: #9f7432;
}

.subtitle-menu {
    position: absolute; /* Absolute position to stick it to the bottom */
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left edge */
    width: 100%; /* Full width to extend across the container */
    background-color: #42b0fc; /* Blue background */
    color: white; /* White text color */
    padding: 10px 0; /* Padding top and bottom */
    margin: 0; /* Remove default margins */
    font-size: 18px;
    transition: all 0.25s ease-out;
}
.subtitle-menu:hover {
  background-color: #9f7432;
}

#about-hover{
  display: none;
}
ul.about-hover {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Establish flex container */
    justify-content: center; /* Center children horizontally */
}

ul.about-hover li {
  margin-top: 15px;
    width:100%;
}

ul.submenu {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Establish flex container */
    justify-content: center; /* Center children horizontally */
}

ul.submenu li {
  margin-top: 15px;
    width:100%;
}
ul.news {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Establish flex container */
    justify-content: center; /* Center children horizontally */
}

ul.news li {
    width:100%;
}

.container_img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin-left: 15px;
} 

.overlay-text {
  background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.phone-container {
    background-color: #454545; /* Dark background */
    color: #fff; /* White text */
    border-radius: 10px; /* Rounded corners */
    padding: 15px 40px; /* Padding around the content */
    display: inline-flex; /* Use flexbox for inline layout */
    align-items: center; /* Center items vertically */
    font-family: Arial, sans-serif; /* Font style */
}

.icons {
    margin-right: 10px; /* Space between icon and phone number */
    /* If you're using a font icon library, you might not need this */
}

.phone-number {
  font-size: 20px;
  font-weight: normal; /* Make the phone number bold */
}