    body {
      font-family: 'Kanit', sans-serif;
      margin: 0;
      padding: 0;
    }
    
    header {
      background-color: #333;
      padding: 20px;
      color: #fff;
    }
    
    h1 {
      margin: 0;
      font-size: 28px;
    }
    
    
    
    main {
      /*padding: 20px;*/
    }
    
    section {
      /*margin-bottom: 10px;*/
      padding: 20px;
    }
    
    #about {
      background-color: #1a1a1a;
      
    }
#about h2 {
    color: white;
    
    border: 5px solid #007BFF; /* Choose your desired border color and thickness */
    padding: 10px; /* Add padding to create space between text and border */
    border-radius: 10px; 
    /* Add rounded corners to the border */
    text-align: center; /* Center-align the text within the border */
}
#about p{
    color: white;
}
    #knowledge {
      background-color: #f1f1f1;
      
    }
#knowledge h2 {
    
    border: 5px solid #007BFF; /* Choose your desired border color and thickness */
    padding: 10px; /* Add padding to create space between text and border */
    border-radius: 10px; /* Add rounded corners to the border */
    text-align: center; /* Center-align the text within the border */
}
#knowledge p{
    
}
    #story {
        
      background-color: #002266;
      
    }
#story h2 {
    color: white;
    border: 5px solid white; /* Choose your desired border color and thickness */
    padding: 10px; /* Add padding to create space between text and border */
    border-radius: 10px; /* Add rounded corners to the border */
    text-align: center; /* Center-align the text within the border */
}
#story p{
    color: white;
}

#link {
    text-align: center;
  }
#link h1 {
    border: 2px solid #007BFF; /* Choose your desired border color and thickness */
    padding: 10px; /* Add padding to create space between text and border */
    border-radius: 10px; /* Add rounded corners to the border */
    text-align: center; /* Center-align the text within the border */
}

#contact {
    position: relative;
    background-color: black;
      
    }
#contact h2 {
    
    border: 5px solid #007BFF; /* Choose your desired border color and thickness */
    padding: 10px; /* Add padding to create space between text and border */
    border-radius: 10px; /* Add rounded corners to the border */
    text-align: center; /* Center-align the text within the border */
    
}
#iframeContainer {
            display: flex;
            justify-content: center;
        }
#map-image {
    margin-left: 100px;
    width: 400px;
    height: 250px;
}
#lineoa-image {
    margin-left: 100px;
    width: 300px;
    height: 300px;
}
    
    #products {
      background-color: #f1f1f1;
    }
    
    #contact {
      background-color: #f1f1f1;
    }
#fornav {
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value (0.5) as needed */
}
#fornav1 {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff; /* Add your desired background color */
    z-index: 1000;
    background-color: rgba(0, 0, 0, 1); /* Adjust the alpha value (0.5) as needed */
}

      box{
          border:solid;
      }
    
    h2 {
      font-size: 24px;
      margin: 0;
      margin-bottom: 10px;
    }
    
    p {
      margin: 0;
      margin-bottom: 10px;
    }
    
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    li {
      margin-bottom: 5px;
    }
    
    footer {
      background-color: #333;
      padding: 10px;
      color: #fff;
      text-align: center;
        position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  z-index: 1000; /* Set a high z-index to keep it on top of other elements */
    }
@media only screen and (min-width: 1400px) {
    /* Hide the urgent phone number on screens wider than 600px */
    .urgent-phone {
        display: none;
    }
}
/* Style the blog box */
.blog-box {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    white-space: nowrap;
}

.blog-post {
    display: inline-block;
    flex: 0 0 calc(33.33% - 20px);
    margin-right: 20px; /* Adjust spacing between posts */
    scroll-snap-align: start;
}

.blog-post img {
    max-width: 100%;
    height: 300px;

}

.blog-post h3 {
    font-size: 18px;
    white-space: normal;
}

.blog-post p {
    font-size: 14px;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #0078D4;
}

.floating-button {
    position: absolute;
    bottom: 550px; /* Adjust as needed */
    left: 75%; /* Adjust as needed */
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 10px 40px;
    border-radius: 1px;
    cursor: pointer;
    z-index: 1; /* Ensures the button is on top of other content */
}
.banner{
    width: 200px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
}
.floating-button a {
    text-decoration: none;
    color: white;
    font-size: 30px;
     font-family: 'Kanit', sans-serif;
}   
.header{
  min-height: 100vh;
  width: 100%;
  /*background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/banner.jpg);*/
    background-color:#191970;
    background-position:top;
    background-size: cover;
    position:relative;
}

nav{
    display: flex;
    padding 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 250px;
}
.nav-links{
    flex: 1;
    text-align: right;
    
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
    
}
.nav-links ul li:hover::after{
    width: 100%
}
.text-box{
    position: relative;
    height: 60px;
    width: 90%;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-family: 'Kanit', sans-serif;
    font-size: 60px;
    color: #fff;
    position: relative;
}
.text-box p{
    font-family: 'Kanit', sans-serif;
    font-size: 25px;
    margin: 10px 0 40px;
    color: #fff;
    position: relative;
    
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
 
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
h1.section-title {
    color: white;
    font-size: 36px; /* Default font size */
}

.contact-info {
        font-size: 30px; /* Adjust font size for smaller screens */
    }
.img-responsive {
    max-width: 100%;
    height: auto;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
@media only screen and (max-width: 1400px) {
    /* Hide the floating button on screens narrower than 1024px (e.g., mobile devices and iPads) */
    .floating-button {
        display: none;
    }
}
@media only screen and (max-width: 800px) {
    #fornav1 {
    position: relative;
    top: 0;
    width: 100%;
    background-color: #ffffff; /* Add your desired background color */
    z-index: 1000;
    background-color: rgba(0, 0, 0, 1); /* Adjust the alpha value (0.5) as needed */
}
    body {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
    h1.section-title {
        font-size: 16px; /* Adjust font size for smaller screens */
    }
    h1{
       font-size: 20px; 
    }
    /* Adjust the layout for smaller screens */
    .header {
        padding: 3px;
        font-size: 13px;
    }
    #fornav nav {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: center; /* Align items to the start */
        margin-right: 5px;
        margin-bottom: 5px;
    }
    #fornav .nav-links {
        flex-direction: column; /* Change to row layout on smaller screens */
        align-items: center; /* Align items vertically centered */
        justify-content: center; /* Align items horizontally centered */
    }

    #fornav .nav-links ul {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: align-items: center;; /* Align items to the start */
    }

    #fornav .nav-links ul li {
    }
    #fornav .nav-links ul li a {
         margin-right: 1px;
        margin-bottom: 1px;
        font-size: 13px;
    }
    #fornav img {
        
    width: 25px; /* Adjust the width of the logo as needed */
    height: 50px; /* Maintain aspect ratio */
}
    #fornav1 nav {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: center; /* Align items to the start */
        margin-right: 5px;
        margin-bottom: 5px;
    }
    #fornav1 .nav-links {
        flex-direction: column; /* Change to row layout on smaller screens */
        align-items: center; /* Align items vertically centered */
        justify-content: center; /* Align items horizontally centered */
    }

    #fornav1 .nav-links ul {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: align-items: center;; /* Align items to the start */
    }
    #fornav1 h1 {
        font-size: 10px;
    }

    #fornav1 .nav-links ul li {
    }
    #fornav1 .nav-links ul li a {
         margin-right: 1px;
        margin-bottom: 1px;
        font-size: 10px;
    }
    #fornav1 img {
       
    width: 25px; /* Adjust the width of the logo as needed */
    height: 50px; /* Maintain aspect ratio */
}
    .section-title {
    /* CSS styles for the .section-title class */
    font-size: 100px;
}
    #map-image {
        display: none;
    }
    #map-frame {
        display: none; /* Hide the iframe on mobile devices */
    }
    .floating-button {
        display: none;
    }
    .blog-post {
    display: inline-block;
    flex: 0 0 calc(100% - 20px);
    margin-right: 20px; /* Adjust spacing between posts */
    scroll-snap-align: start;
}
    footer p {
        font-size: 10px; /* Adjust font size for smaller screens */
    }
    .contact-info {
        font-size: 15px; /* Adjust font size for smaller screens */
    }
    
    

}