body {
  background-image: linear-gradient(180deg, #fff, #ffd5ea);
  margin: auto;
  padding-bottom: 0;
  justify-content: center;
  }

h2 {
    font-family: 'Kanit', sans-serif;
    color: #E93093;
    font-size: 18pt;
    line-height: 30px;

}

h3{
  color: #333;
  font-family: 'Sarabun', sans-serif;
  font-size: 10pt;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.5;
}

h4{
  color: red;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 25pt;
  padding: 0;
  margin: 5;
}

h5{
  color: #333;
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 14pt;
  padding: 0;
  margin: 0;
  align-content: center;
  align-items: center;
  line-height: 8px;
}

h6{
  font-family: 'Sarabun', sans-serif;
  color: #333;
  text-align: left;
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 5px;
  font-size: 15px;
  line-height: 23px;
}



.container {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
}

.container1 {
  text-align: center;
  align-items: center;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}


.topic1 {
    background-color: #FDEBF4;
    padding: 20px;
}

/* The navigation bar */
.navbar1 {
    overflow: hidden;
    background-color: #Fff;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
  }
  
  /* Links inside the navbar */

  .navbar1 a img{
    float: left;
    height: 30px;
  }

  .navbar1 a{
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  

  
  /* Main content */
  .main {
    margin-top: 30px; /* Add a top margin to avoid content overlay */
  }

  .panel-group {
    margin: 0px;
  }

.panel .panel-default {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border: 0;
}

.panel-default {
    border-color: #Fff;
}


.panel-group .panel+.panel {
    margin-top: 0px;
}

.panel-default .panel-heading {
    color: #fff;
    background-color: #E93093;
    border-color: #fff;
    margin-bottom: 0;
    border-radius: 0px;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.panel-default .panel-heading h4{
    color: #fff;
    font-size: 15pt;
}

.panel-default .panel-heading :after {
    font-family: "Glyphicons Halflings";
    font-size: 10pt;
    content: "\002B";
    float: right;
    margin-left: 15px;
    padding-top: 3px;
}

.panel-default .panel-heading .collapse :after {
    content: "\2212";

}


.panel-body {
    font-family: 'Sarabun', sans-serif;
    font-size: 11pt;
}

a:link {
    text-decoration: none;
}

/* Style the footer */
footer {
    background-color: #FDEBF4;
    text-align: center;
    color: #E93093;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
  }

  footer h3{
    color: #333;
    font-family: 'Sarabun', sans-serif;
    font-size: 11pt;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  footer h4{
    color: #333;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 17pt;
    padding: 0;
    margin: 0;
  }

  footer h6{
    font-family: 'Sarabun', sans-serif;
    color: #333;
    text-align: center;
    font-size: 15px;
    line-height: 23px;
  }

  .btn1 {
    padding: 2px;
    font-family: 'Kanit', sans-serif;
    font-weight:500;
    font-size: 16px;
    text-align: left;
    padding-left: 20px;
    color: #333;
    border-radius: 15px;

  }


 .btn1 a:link, a:visited, a:active { 
    color: #333;

 }

 a:hover { 
    color: #333;
}

.btn2 {
  z-index: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid #ff52a1;
  transition: none 0s ease 0s;
  box-shadow: #ff52a1 5px 5px 0px 0px;
  color: rgb(0, 0, 0);
  background-color: #fff;
  width: calc(100% - 12px);
  border-radius: 30px;
  position: relative;
  height: auto;
  max-width: 900px;
}

.btn2:hover{ 
  transform: translate(4px, 4px);
    box-shadow: #E93093 4px 4px 0px 0px;

}


.btn2 p{
  position: relative;
  hyphens: none;
  padding-left: 15px;
  margin: 0px;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  font: inherit;
  vertical-align: baseline;
  font-family: 'Sarabun', sans-serif;
}



.btnstyle1 {
    hyphens: auto;
    white-space: normal;
    background: none;
    color: inherit;
    transition: box-shadow 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, border-color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, transform 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s, background-color 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99) 0s;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-left: 66px;
    padding-right: 66px;
}

.btnstyle1:hover {
  color: inherit !important;
}

.btnstyle2 {
  margin: 0px;
    border: none;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-align: center;
    cursor: pointer;
    background: none;
    text-decoration: none;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: auto;
    position: relative;
    padding: 16px 20px;
    width: 100%;
    appearance: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.btnimage {
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 50%;
    display: flex;
    left: 4px;
    width: 46px;
    height: 46px;
}

.btnimage img{
  border-radius: 50%;
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: initial;
}

.button1 {
  font-family: 'Kanit', sans-serif;
  padding: 7px 15px;
  border-radius: 30px;
  background-color: #FF5C9E;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  margin: 3px 3px;}

  .center{
    width: 350px;
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
  }




  .countdown {
    text-align: center;
}


h1{
  font-family: 'Kanit', sans-serif;
  font-size: 25pt;
  color: red;
  line-height: 5px;
}

.button2 {
  font-family: 'Kanit', sans-serif;
  padding: 7px 15px;
  border-radius: 30px;
  background-color: red;
  color: yellow;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 25pt;
  margin: 0px 3px;}

  .footgrid {
    display: grid;
    background-color: #FDEBF4;
    grid-template-columns: 30% 70% ; /* กำหนดคอลัมน์แรก 25% และคอลัมน์ที่สอง 75% */
    gap: 5px; /* ช่องว่างระหว่างคอลัมน์ */
    align-items: center;
    align-content: center;
    text-align: center;
    width: 650px;
    justify-content: center;
    box-sizing: border-box;
}

.grid1 {
    align-items: center;
    align-content: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}



@media (max-width: 768px) {
  .footgrid {
      grid-template-columns: 1fr; /* เปลี่ยนให้คอลัมน์ทั้งสองอยู่ในแนวตั้ง */
      width: 100%;
      text-align: center;
  }
}