*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header
{
    width: 100%;
    background-color: #121530;
    height: 80px;
    padding: 1rem;
}

.mainpage{
    width: auto;
    margin: 0 auto;
    text-align: center;
}

.mainpage1{
    width: auto;
    margin: 0 auto;
}

.mainpage2{
    width: auto;
    margin: 0 auto;
    align-items: center;
}

.mainmenu{
    background-color: #121530;
    position: absolute;
    width: auto;
    margin: 0 auto;
}

.main-menu{
    background-color: #121530;
    width: auto;
    padding: 10px 0px;
    text-align: center;
    display: block;
    position: absolute;
}

.mainbox1 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

nav{
    padding: 1rem;
    background-color: #121530;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    height: 80px;
    text-align: center;
}

.mainbox1{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#header{
    width: 100%;
}

.logo a{
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
}

.menu{
    width: 100%;
    background-color: #121530;
    padding: 10px 0px;
    text-align: center;
    position: relative;
}

.menu li{
    list-style: none;
    display: inline-block;
    text-align: center;
    border-left: 1px solid rgb(255, 255, 255);
    font-size: 16px;
    padding: 5px 30px;
}

.menu li a{
    color: #ffffff;
    text-decoration: none;

}

.maincontent{
    background-color: #7a7a7a;
}

.maincontent-con{
    width: auto;
    justify-content: space-between;
}

.visions{
    background-color: #ffffff;
    padding: 2rem;
}

.visioncontent-con{
    display: flex;
}

.visioncontent-info{
    width: 100%;
    padding: 1rem;
    margin-left: 2rem;
}

.visioncontent-img{
    width: 100%;
    padding: 2rem;
    margin-left: 2rem;
}

.visioncontent-info h3{
    font-family: "Kanit", sans-serif;
    font-size: 3rem;
}

.visioncontent-info p{
    margin: 1rem 0;
}

.visioncontent-info hr{
    height: 1px;
    color: #ed1d61;
    background: #ed1d61;
    font-size: 0;
    border: 0;
}

.projects{
    background-color: #eceaea;
    padding: 1rem;
}

.projectscontent-con{
    width: 100%;
    padding: 2rem;
}

.projectscontent-con hr{
    height: 1px;
    color: #ed1d61;
    background: #ed1d61;
    font-size: 0;
    border: 0;
}

.projects h3{
    font-family: "Kanit", sans-serif;
    font-size: 3rem;
}

.projects h4{
    font-family: "Kanit", sans-serif;
    font-size: 1.5rem;
}

.projects h5{
    font-family: "Kanit", sans-serif;
    font-size: 15px;
}

.content-con{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
}

.content-con2{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
    margin-top: 2rem;
}

.content-con .content-btn{
    background-color: rgb(150, 63, 1);
    color: #ffffff;
    padding: 0.8rem;
    border-radius: 5px;
    text-decoration: none;
}

.content-con2 .content-btn{
    background-color: rgb(150, 63, 1);
    color: #ffffff;
    padding: 0.8rem;
    border-radius: 5px;
    text-decoration: none;
}

.content-item{
    margin: auto;
    padding: 2rem;
}

.content-item1{
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
}

.content-detel1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-detel2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.content-detel3{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.7rem;
}

.contactUS{
    background-color: #ffffff;
    padding: 1rem;
}

.contactUS-info{
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.contactUS-info h3{
    font-family: "Kanit", sans-serif;
    font-size: 3rem;
}

.contactUS-info hr{
    height: 1px;
    color: #ed1d61;
    background: #ed1d61;
    font-size: 0;
    border: 0;
}

.contactUS-add{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 3rem;
    text-indent: 2rem;
    margin-top: 2rem;
}

.contactUS-T{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 3rem;
    text-indent: 2rem;
    margin-top: 2rem;
}

.contactUS-T a{
    text-decoration: none;
}

.contactUS-email{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 3rem;
    text-indent: 2rem;
    margin-top: 2rem;
}

.contactUS-email a{
    text-decoration: none;
}

.contactUS-map1{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 3rem;
    text-indent: 2rem;
    margin-top: 2rem;
}

.contactUS-map1 a{
    text-decoration: none;
}

.location{
    background-color: #ffffff;
    padding: 1rem;
}

.location-vedeo{
    background-color: #121530;
    padding: 0.5rem;
    align-items: center;
    text-align: center;
}

.location-info{
    width: 100%;
    padding: 1rem;
    margin-left: 2rem;
}

.location-info hr{
    height: 1px;
    color: #ed1d61;
    background: #ed1d61;
    border: 0;
    width: 95%;
    text-align: center;
}

.location-info h3{
    font-family: "Kanit", sans-serif;
    font-size: 3rem;
    text-align: center;
}

.location-info p{
    text-align: center;
}

.container1 {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns */
    gap: 10px;
}
.column1 {
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    margin: 5px;
}

.footer{
    background-color: #121530;
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    position: relative;
}

.footer h2{
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    color: #ffffff;
}

.contactUS-map2{
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 3rem;
    text-indent: 2rem;
    margin-top: 2rem;
}

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
  }

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    text-decoration: none;
}

.button-container a{
    text-decoration: none;
}

button {
    background-color: rgb(150, 63, 1);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
}

/* Modal (popup) styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

/* Modal image */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Close button (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
