@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{

  
  --bg-color:#fdfdfd;
  --text-color:#333;
  --main-color:#754ef9;
  --white-color:#fdfdfd;
  --shadow-color:rgba(0,0,0,.2);
 
}
body{
  font-family: "Prompt", serif;
}
.text-vision{
  display: flex;
  align-items: center;
}
.text{
  line-height: 40px;
  color: #0c3c53;
}
.hero{
  height: 40px;
  background-color: #f5ce07;
}

@media (max-width:768px){

    .hero h5 .multiple-text{
        font-size: 12px;
    }
  }
  
/* --------------------- */

.header{
  position: fixed;
  /* top: 0;
  left: 0; */
  width: 100%;
  
  /* padding: 2rem 7%; */
  /* background: yellowgreen; */
  display: flex;
  z-index: 100;
  align-items: center;
  /* align-items: center;justify-content: space-between; */
  transition: all .5s ease;

}

.navbar {
    
    padding: 0;
    width: 100%;
  
  }
  
  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
  }
  
  .navbar li {
    position: relative;
    transition: 0.5s all ease;
    display: flex;
    align-items: center;
    justify-content: center;
   
  }

  
 
  .navbar a,
  .navbar a:focus {
    display: block;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 10px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }
  
  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
/*
  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #d6d6d6;
     color: #310404; 
  }
  */
  .navbar a:hover
   {
    color:#d6d6d6;
    
  }
   
  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
  }
  
  .navbar .dropdown ul li {
    min-width: 200px;
  }
  
  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    color: #0c3c53;
  }
  
  .navbar .dropdown ul a i {
    font-size: 12px;
  }
  
  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: #78797a;
  }
  
  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  
  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }
  
  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
  /* ---------------------------- */
  .nav-link{
    transition: 0.5s all ease;
    border-radius: 8px;

  }
  .nav-link:hover{
    background-color: #52a056;
  }
  
  .navbar-nav .nav-item {
    margin-right: 10px; /* ระยะห่างขนาด 20px ระหว่างรายการเมนู */
  }

  
/* --------- skcky ------------- */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .hero{
  padding-top: 60px;
}



.carousel{
  margin-top: 83px;
}

  /* --------------news--------------- */
.news{
  display: flex;
  align-items: center;
  justify-content: center;

}
.news-box{
  /* width: 90%; */
  width: 300px;
  position: relative;
  display: flex;
 
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, .1);
  overflow: hidden;
  
  
}




.news-box img {
  width: 100%; 
  transition: all .5s ease;
}


.news-box:hover img{
  transform: scale(1.1);
 

}

.news-box .box-layer{
  position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(255, 254, 173, 0.114),rgba(250, 248, 151, 0.74));
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
padding: 0 4rem;
transform: translateY(100%);
transition: .5s ease;
}
.news-box:hover .box-layer{
  transform: translateY(0%);
}
.box-layer a{
  display: inline-flex;
  justify-content: center;
  align-items: center;

 
}
.news-box1{
  /* width: 90%; */
  width: 340px;
  height: 600;
  position: relative;
  display: flex;
 
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, .1);
  overflow: hidden;
  
  
}


.news-box1 img {
  width: 100%; 
  transition: all .5s ease;
}


.news-box1:hover img{
  transform: scale(1.1);

}


.news-box2{
  /* width: 90%; */
  width: 15%;
  /* height: 600; */
  position: relative;
  display: flex;
 
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, .1);
  overflow: hidden;
  
  
}


.news-box2 img {
  width: 100%; 
  transition: all .5s ease;
}


.news-box2:hover img{
  transform: scale(1.1);

}


.image_news1{
  transition: 0.5s all ease;
}

.image_news1:hover{
  /* transform: translate(20px,20px); */
  /* transform: rotate(5deg); */
  transform: scale(1.1);
 
}



.footer{
  
  background-color: #0b6651;
}
.footer{
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  color: #ffffff;
  
 
}

.social-media a{

  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background: transparent;
  border: .2rem solid #f5ce07;
  border-radius: 50%;
  box-shadow: 0 .2rem .5rem var(--shadow-color);
  font-size: 1.5rem;
  background-color: #fff;
  color: #1000bc;
  /*margin: 2.5rem 1.5rem 3rem 0;*/
  transition: all .5s ease;
}
.social-media a:hover{
  background: var(--main-color);
  color: var(--white-color);
}


@media (max-width:768px){

  .footer{
      flex-direction: column-reverse;
      
      background-color: #0b6651;
  }
  .footer p{
      text-align: left;
      margin-top: 2rem;
  }
}

.footer-buttom
  {
     display: flex;
    align-items: center; 
  justify-content: space-between;
  font-size: 1rem;
  background-color: #f5ce07;

  color: #0c3c53;
  padding-left: 100px;
  padding-right: 100px;
  height: auto;
  line-height: 30px;
  font-weight: 300;
 
 
}


@media (max-width: 768px) {
  .footer-buttom {
    padding-left: 5px;
    padding-right: 5px;

    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 20px;
    
    
  }

  .footer-buttom .copyright,
  .footer-buttom .credits {
    text-align: center;
    float: none; 
  
  
  }

  .footer-buttom .credits {
    padding-top: 4px;
  }
}


@media (max-width: 400px) {
  .footer-bottom {
     padding-top: 1px;
     padding-bottom: 2px;
     box-sizing: border-box;
   }
 
   .footer-buttom .copyright,
   .footer-buttom .credits {
    text-align: left;
     font-size: 12px;
   
   }
 
   .footer-buttom .credits {
     padding-top: 2px;
     font-size: 12px;
   }
 }
 
 




.card-menager{
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-img{
  display: flex;
  justify-content: center;
  
}

.box-img{
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-img1{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* แสดงความคิดเห็น */

.contact{
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.contact form{
  max-width: 60rem;
  margin: 1rem auto;
  text-align: center;
  margin-bottom: 3rem;
}
.contact form .input-box{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-color);
  background: var(--bg-color);
  border-radius: .8rem;
  margin: .7rem 0;
  box-shadow: 0 .1rem .5rem var(--shadow-color);

}
.contact form .input-box input {
  width: 100%;
}
.contact form textarea{
  resize: none;
}
.contact form .btn {
  margin-top: 2rem;
  cursor: pointer;
}

.heading{
  color: #076c6d;
}

.heading span{
  color: #e09d00;
}

@media (max-width: 768px) {
 
  .heading{
    font-size: 1.35rem;
  }

  
}


.calendar {
  border: 1px solid #ccc;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.calendar header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  width: 14%;
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #007bff;
  color: #fff;
}
.profile-1 h3{
  font-size: 3rem;
  color: #0b6651;
}
.profile-1 h3 span{
  color: #ffb300;
}

/* next page */

.nav-page{
display: grid;
place-items: center;
}