/* Basic styling for header, sections, and footer */
@font-face {
    font-family: 'Century Gothic';
    src: url('path-to-your-font.woff2') format('woff2'), /* Modern Browsers */
         url('path-to-your-font.woff') format('woff'); /* Older Browsers */
    font-weight: normal;
    font-style: normal;
}
.sahakijdotcom{
    text-decoration: none;
    font-size: 1.4rem;
    float: right;
    margin: 3% 3% 0 0 !important;
}
.sahakijthainame{
    text-decoration: none;
    font-size: 2.2rem;
    float: right;
    margin: 0 3% 0 0!important;
    /*top right bottom left*/
}
.spacingtab{
    padding:0 3% 0 3%!important;
}
.arrowtab{
    padding:0 10% 0 0!important;
}
.mainpicture{
    max-width: 100%;
    /*max-height: 100%;*/
    height: auto;
    width: 100%;
    margin-left:auto;
    margin-right:auto;
   top: 0px;
   display: block;

}
.aboutposter{
    max-width: 100%;
    /*max-height: 100%;*/
    height: auto;
    width: auto;
    margin-left:auto;
    margin-right:auto;
   top: 0px;
   display: block;

}
.logo p{
    margin:5% 0 0 15%;
   
}
#webtitle{
    width: 35%;
}
.contain-thing{
    object-fit: contain;
    width: 100%;
    height: auto;
}
.m-container{
    display: grid;
    width: 100%;
    height: auto;
  grid-template-columns: 62.5% 7.5% 10% 10% 10%;
}
.aa{
  width: 40%;
    left: 0;
    color: white;
  height: auto;

  
}
.aa img{
      height: auto;
      width: 20%;
}
.ab{
    position: absolute;
    padding: 1% 0 0 15% !important;
}
.ab img{
    padding: 0 0 0 50% !important;
    width: 50% !important;

}
.bb{
    position: absolute;

    right: 0;
  
    text-align: right;
}
.bb img{
    max-width: 50%;
width: 20%;
    height: auto;
}
.bb a{
    text-decoration: none;
    color: white;
  

}

header {
    display: flex;
    justify-content: space-between;
    align-items: left;
    
    background: linear-gradient(to bottom, #FF9300 0%, #F2611E 100%);
    font-family: "Anuphan", sans-serif;
    color: white;
    list-style-type: none;
}
.webname{
    display: flex;
    width: 100%;
      height: auto;
     align-items: right;
     background-color: #F2611E;
     
   
}
.CenturyGothic{
    font-family:"DM Sans", sans-serif;
    font-weight:100!important;
    display: flex;
    margin: 0 0 0 10px!important;
      /*top right bottom left*/
            justify-content: center; /* Horizontally center content */
            align-items: center; /* Vertically center content */
            text-align: center; 
}
.arrow {
  border: solid white;
  border-width: 0 10px 10px 0;
  display: inline-block;
  padding: 10px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


nav ul li {
    display: inline;
    margin-right: 20px;
}
.bluemachine{
    width: 100%;
    float: left;
  
}
.hero-content{

}
.hero-content p{
    text-align: right;
    padding: 0 3% 1% 0;
    font-size: 2.5rem !important;
    margin-block-start: -1% !important;
    /*top right bottom left*/
}
.secondmainpicturelinepadding{
    padding-top:  7% !important;
}
.firstlinepadding{
    padding-top:  5% !important;
}
.hero {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;

  
}
.navi{
    display: block;
}
.navi li{
   
    list-style-type: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.topmenubar a{
    color:white;
     text-decoration:none;
     float: inline;
     text-align: right;
}
.rightaligntop p{
    margin-top: -9%;
    text-align: right;
    margin-right: 3%;
}

.numberbtn{

}
.hero p {
    font-size: 2rem;
}
.s_logo{
    width: 100%;
      /*top right bottom left*/
}
.rightsidehead{
    list-style-type: none;
    float: right;
    padding: 10px;
}


.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #0056b3;
}

.about {
    height: 5rem;
    text-align: center;
    background-color: #262626;
}
.sample_img{
    width: 100%;
}
.part_img{
    width: 100%;
    display: block;
}
.about-content{
    font-size: 2rem;
    min-height:3.2em;
    line-height: 3.2em;
    color: #fff;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #262626;
    text-align: center;
    position: absolute;

}
.greenmachine{
    width: 100%;
        padding: 0;
    margin: 0;
}



.grid-container {
      display: inline-flex;
    width: 100%;
}

.grid-item {
  

  text-align: center;
}

.grid-item img{
    min-width: 100%;
  min-height: 100%;
  width: 70%;
  height: auto;
}

.mainpaper{
    vertical-align: center;
    justify-content: center;
    height: 100%;
}
.imgcredit p{
    color:pink!important;
}
.slidepicturepapera4{
height: auto;
}
.nextbtn{
height: auto;
}
.prevbtn{
height: auto;
}
.mySlides {display:none}
.about-machine{
    font-size: 2rem;
    line-height: 5.5em;
    color: white;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    
    background-color: #262626;
}

.about-machine p{
    margin: 0;
    line-height: 3.5em;
}
.img_belowtext{
width: 100%;
height: auto;
display: block;
}
.footercss{
    width: 100%;
    height: auto; 
}
.img_bigposter{
    width: 100%;
 
}
.img_greenposter{
    width: 100%;
 max-width: 100%;
 height:auto;
 display: block;
}

body{
     font-family: "Anuphan", sans-serif;
     margin:0px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    display: inline;
    margin-right: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
