body {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  color: #464646; /*font color*/
  font-weight: lighter;
}

.container {
  display: block;
  box-sizing: border-box;
  background-image: white;
}
.header,
.topic,
.content,
.foot,
.foot-2 {
  padding: 0 5%;
  align-items: center;
  text-align: left;
}
.header {
  position: fixed;
  height: 80px;
  width: 100%;
  background-color: black;
  top: 0;
}
.topic {
  margin-top: 80px;
  display: flex;
  height: 70px;
  background-color: rgb(244, 246, 248);
}
.topic-l {
  text-align: left;
}
.topic-r {
  margin-left: auto;
  text-align: right;
}
.content {
  margin-top: 60px;
  padding-bottom: 100px;
  padding-left: 30%;
  padding-right: 30%;
}
.foot,
.foot-2 {
  display: flex;
  flex-wrap: wrap;
  background-color: black;
  justify-content: space-between;
  padding-top: 30px;
}
.foot-l,
.foot-c,
.foot-r {
  flex: 1; 
  align-items: center;
  text-align: left;
  padding-top: 30px;
  padding-bottom: 30px;
}
.img-logo {
  width: auto;
  height: 100%;
}
.logo-foot {
  width: auto;
  height: 150px;
  padding-left: 15%;
  object-fit: contain;
}
.img-store {
  width: auto;
  height: 60px;
}
.text-style-1,
.text-style-2,
.text-style-3,
.text-style-4 {
  margin-top: 0px;
  margin-bottom: 6px;
  font-size: 13px;
}
.text-style-1 {
  font-size: 15px;
}
.text-style-3 {
  padding-top: 20px;
  padding-left: 30px;
  padding-bottom: 1px;
}
.text-style-4,
.text-style-5 {
  color: white;
  margin-top: 0px;
  margin-bottom: 2px;
  font-size: 14px;
}
.text-style-5 {
  font-weight: bolder;
}
.foot-2{
  /* padding-top: 15px; */
  padding-bottom: 15px;
}

.txt-box,
.txt-box-2{
  width: 100%;
  padding: 12px 16px;
  font-size: 12px;
  border: 2px solid #ccc;
  border-radius: 25px;
  outline: none;
  transition: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  color: #7c7c7c;
}
.txt-box-2 {
  height: 150px;
}
.txt-box::placeholder,
.txt-box-2::placeholder,
.error-placeholder::placeholder {
  font-size: 10px;
}
.txt-box:focus,
.txt-box-2:focus{
  font-size: 12px;
}
.error-placeholder::placeholder {
  color: red;
}

.send-button {
  display: block;
  background-color: #008CBA;
  color: white;
  border: none;
  text-align: center;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease-in-out;
}

.send-button:hover {
  background-color: #005f73;
}

.shake {
  animation: shake 0.3s ease-in-out 2;
  /* border: 2px solid red; */
}
a {
  color: #4b4b4b;  /* สีลิงก์ */
  text-decoration: none; /* เอาเส้นใต้ลิงก์ออก */
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  font-size: 14px;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

@media screen and (max-width: 870px) {
  .foot {
    display: block;
  }
  .foot-l,
  .foot-c,
  .foot-r {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .content {
    padding-left: 5%;
    padding-right: 15%;
  }
}
