* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
        font-family: 'Kanit', sans-serif;
    background-color: rgb(255, 255, 255);
    margin-left: auto;
    margin-right: auto;
    max-width:768px;
  }
  
  .sitename {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 768px;
  }


  
  .imgr {
    width: 100%;
    max-width: 768px;
    height: auto;
  }
  
  .bgclr {
    background-color: #2b274d;
    background-image: linear-gradient(90deg,rgb(40, 37, 94),rgb(41, 127, 177));
  }
  
  .row1 {
    margin-left: auto;
    margin-right: auto;
  }
  
  #color-1, #color-2, #color-3, #color-4, #color-5, #color-6 {
    padding: 3px;
  }
  
  #color-1 {
    background-image: linear-gradient(15deg, rgb(255, 134, 205), rgb(189, 231, 255));
  }
  
  #color-2 {
    background-image: linear-gradient(15deg, rgb(244, 245, 177), rgb(248, 178, 205));
  }
  
  #color-3 {
    background-image: linear-gradient(15deg, rgb(185, 255, 212), rgb(250, 216, 153));
  }
  
  #color-4 {
    background-image: linear-gradient(15deg, rgb(217, 161, 255), rgb(181, 255, 251));
  }
  
  #color-5 {
    background-image: linear-gradient(15deg, rgb(185, 250, 255), rgb(255, 251, 190));
  }
  
  #color-6 {
    background-image: linear-gradient(15deg, rgb(255, 203, 134), rgb(189, 255, 246));
  }
  
  .nav_color {
    background-color: rgb(131, 5, 100);
  }
  
  .head_tital {
    background-color: #15113a;
    background-image: linear-gradient(15deg, rgb(179, 58, 128), rgb(74, 156, 204));
  }
  
  .nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #180846;
    font-family: 'Philosopher', sans-serif;
    margin-top: 10px;
    font-size: 20px; /* Default font size for desktop */
  }
  
  .nav-item {
    float: left;
    margin: 1px;
  }
  
  .nav-item a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-right: #ffffff solid 2px;
    margin-left: 0px;
  }
  
  .nav-item a:hover {
    background-color: #7cb0ffce;
  }
  
  .table-page2 {
    border: #000000 solid 2px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    font-size: 24px; /* Default table font size for desktop */
   
  }
  .post-info{
    color: rgb(36, 20, 129);font-size: 25px; text-align:justify;             
                            border-bottom-right-radius: 20px; padding: 2px;border-right: solid 5px red; border-bottom: 2px solid red;
  }
  
  td {
    border: #000000 solid 1px;
    font-size: 20px;
  }
  
  ul{
    margin-left: 15px;
  }
  ol {
    margin-left: 25px;
  }
  
  li {
    margin-left:5px;
    margin-bottom: 10px;
    font-size: 20px; /* Default list font size for desktop */
  }
  
  h2 {
    background-image: linear-gradient(45deg, rgb(235, 235, 235), rgb(164, 249, 255));
    border: #000000 solid 1px;
    margin: 5px;
    font-size: 32px; /* Default h2 size for desktop */
  }
  p{
    margin-left: 10px;
  }
  .main-head {
    text-align: center;
    background-image: linear-gradient(45deg, rgb(235, 235, 235), rgb(164, 249, 255));
    color: red;
    margin-bottom: 20px;
    margin-top: 30px;
    border: #140257 solid 1px;
    font-family: 'Barlow', sans-serif;
    font-size: 32px; /* Default h1 size for desktop */
  }
  
  .sub-head {
    font-size: 24px; /* Default sub-head size for desktop */
    font-weight: bold;
    margin-bottom: 15px;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 10px;
    text-align: center;
    background-image: linear-gradient(45deg,  rgb(235, 235, 235), rgb(164, 249, 255));
    color: red;
    border: #140257 solid 2px;
    border-radius: 5px;
    font-family: 'Varela Round', sans-serif;
  }
  
  .box-modalpage2 {
    border: #180846 solid 3px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 24px; /* Default size for box content on desktop */
    padding: 15px;
  }

  .apply_links{
    width: 55%; height: 50px;text-align: center;color: rgb(6, 103, 95);
    

  }
  .about{
    color: rgb(20, 4, 92);
    background-color: #ffffff4a;
    border-radius: 20px;
    padding-left: 10px;
    margin-bottom: 10px;
  }
  .about_list{
  
    margin-bottom: 2px;
  }
  .footer_one {
    width: 100%;
    max-width: 1024px;
    height: 170px;
    min-height: 150px;
    margin-top: 0px;
    background-image: linear-gradient(360deg, rgb(56, 50, 109), rgb(100, 177, 212));
    padding: 5px;
  }
  
  .footer_one1 {
    float: right;
    width: 80%;
    max-width: 1024px;
    height: 205px;
    margin-top: 30px;
    background-image: linear-gradient(210deg, rgb(175, 219, 241), rgb(166, 192, 207));
    padding: 10px;
  }
  
  .footer_2 {
    float: left;
    width: 20%;
    max-width: 1024px;
    height: 205px;
    min-height: 150px;
    margin-top: 30px;
    background-image: linear-gradient(360deg, rgb(40, 49, 102), rgb(147, 215, 247));
    padding: 20px;
  }
  
  .social-media-icons a {
    text-decoration: none;
    color: white;
  }
  
  .social-media-icons {
    text-align: center;
    margin-top: 25px;
    color: rgb(255, 255, 255);
    float: right;
    margin-right: 10%;
    padding-right: 5px;
  }
  
  .footer_h3 {
    border-bottom: 1px solid gold;
    width: 70%;
    margin: 0px;
  }
  
  .table_div {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    min-width: 768px;
  }
     


.floating-button {
  position: fixed;
  left: 20px; /* Distance from the left edge */
  top: 20px; /* Distance from the top edge */
  background-color: #075b7d; /* Button color */
  color: white; /* Text color */
  padding: 15px; /* Button padding */
  border-radius: 50%; /* Circular button */
  text-decoration: none; /* Remove underline */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
  transition: background-color 0.3s; /* Transition effect */
  font-size: 24px; /* Icon size */
  display: flex; /* Center icon */
  justify-content: center; /* Center icon */
  align-items: center; /* Center icon */
  width: 60px; /* Button width */
  height: 60px; /* Button height */
}

.floating-button:hover {
  background-color: #143961; /* Darker shade on hover */

}
  /* Responsive font sizes */
  /* Tablet view */
  @media (max-width:2560px) {
    body {
        width: 100%;
    }
    .main-head {
        font-size: 32px; /* H1 size for tablet */
    }
    .sub-head {
        font-size: 20px; /* Sub-head size for tablet */
    }
    h1,h2,h4 {
        font-size: 26px; /* H2 size for tablet */
    }
    h3{
      font-size: 22px; /* H2 size for mobile */
  }

   
      .about{
        font-size: 24px;
      }
      .about_list{
        font-size: 14px;
      }
   
    p, li, .box-modalpage2,td {
        font-size: 20px; /* Paragraph and list font size for tablet */
    }
    .table-page2 {
        font-size: 20px; /* Table font size for tablet */
    }
    .nav {
        font-size: 20px; /* Navigation font size for tablet */
    }
    .apply_links{
      font-size: 26px;
    }
    .floating-button{
      display: none;
    }
  }
  
  /* Mobile view */
  @media (max-width: 600px) {
    body {
        width: 100%;
    }
    .main-head {
        font-size: 20px; /* H1 size for mobile */
    }
    .sub-head{
        font-size: 16px; /* Sub-head size for mobile */
    }
    .post-info{
      font-size: 16px;
    }
    .about {
      font-size: 12px;
    }
    .about_list{
      font-size: 10px;
    }
   h1,h2,h4{
        font-size: 18px; /* H2 size for mobile */
    }
    h3{
      font-size: 15px; /* H2 size for mobile */
  }
    p, li, .box-modalpage2,td {
        font-size: 14px; /* Paragraph and list font size for mobile */
    }
    .table-page2 {
        font-size: 14px; /* Table font size for mobile */
    }
    .nav {
        font-size: 14px; /* Navigation font size for mobile */
            }
   .apply_links{
    font-size: 18px;
   }         
  }

  