body {
  
    background-image: url('image/พื้นหลังเทา.jpg');
  
    background-repeat: no-repeat;
    background-attachment: fixed;  
    background-size: cover;
  }
  
  .line2{
    float: left;
    width: 33.69%;
    padding: 35px;
  }  
  .line::after{
    clear: both;
    display: table;
  
  }
  
  
  
      h1{
        color:#286D8B;
        font-size: 40px;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
      }
      h2{
        color:#1D6F92;
        font-family:Arial, Helvetica, sans-serif
      }
  
    .Machine{
      max-width: 850px;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  
  
  
  
      .img-respon{
          width: 100%;
          height: auto;
  
      }
      *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
  body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #F4F4F4;
  
  
  }
  nav{
  background: #F2EFEE;
  padding: 5px 20px;
  }
  ul{
  list-style-type: none;
  }
  a{
  color: rgb(0, 106, 133);
  text-decoration: none;
  }
  a:hover{
  text-decoration: underline;
  
  }
  .logo a:hover {
  text-decoration: none;
  }
  .เมนู li{
  font-size: 16px;
  padding: 15px 5px;
  white-space: nowrap;
  }
  .logo a,
  .toggle a{
  font-size: 20px;
  }
  /* Mobile Menu */
  .เมนู {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  }
  .item {
  width: 100%;
  text-align: center;
  order: 3;
  display: none;
  
  }
  .item.active{
  display: block;
  }
  .forupbody{
    font-size: 10px;
  }
  h1{
    font-size: 25px;
  }
  
  /* Tablet Menu*/
  @media all and (min-width: 600px) {
  .เมนู {
      justify-content: center;
  }
  .logo {
      flex: 1;
  }
  .toggle {
      flex: 1;
      text-align: right;
  }
  .item.button {
      width: auto;
      order: 1;
      display: block;
  }
  .toggle {
      order: 2;
  }
  .button.secodary{
      border: 0;
  }
  .button.secodary a{
  background: transparent;
  } 
  .button a :hover{
  text-decoration: none;
  }
  .button:not(.secodary) a :hover{
  background: #006d6d;
  border-color: #005959;
  }
  .button.secodary a :hover{
  color: #ddd;
  
  }
  .forupbody{
    font-size: 18px;
  }
  h1{
    font-size: 35px;
  }
  
  }
  
  /* Destop Menu */
  @media all and (min-width: 900px) {
  .item{
      display: block;
      width: auto;
  }
  
  .toggle{
      display: none;
  }
  .logo{
      order: 0;
  }
  .item{
      order: 1;
  }
  .button{
      order: 2;
  }
  .เมนู li{
      padding: 15px 10px;
  }
  .เมนู li.button{
      padding-right: 0;
  }
  .forupbody{
    font-size: 18px;
  }
  h1{
    font-size: 35px;
  }
  }
  
  
  
  
  * {box-sizing: border-box}
  body {font-family: Verdana, sans-serif; margin:0}
  .mySlides {display: none}
  img {vertical-align: middle;}
  
  
  .img-respon{
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Slideshow container */
  
  
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    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;
    animation: fade 20s infinite linear;
  }
  
  
  .slide{
  
  max-width: 1220px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: 0px 0px 0px 0px rgb(151, 151, 150);
  
  border:0px solid rgb(0, 0, 0);
  border-radius: 10px;
  
  
  
  
  }
  .slide figure img{
  width: 20%;
  height: 500px;
  float: left;
  
  
  }
  
  
  .slide figure{
  position: relative;
  width: 500%;
  margin: 0px;
  left: 0px;
  animation: pg 20s infinite linear;
  object-fit: contain;
  }
  @keyframes pg{
  
    0%{left: 0%;}
  15%{left: 0%;}
  20%{left: -100%;}
  35%{left: -100%;}
  40%{left: -200%;}
  60%{left: -200%;}
  65%{left: -300%;}
  80%{left: -300%;}
  85%{left: -400%;}
  100%{left: -400%;}
  
  
  }
  
  
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
    .foruphead {font-size: 20px}
  }
  
  
  
  
  
  