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

body {
  font-family: Arial, sans-serif;
  background-image: url(/images/bg2.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

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

.logo {
  width: 30%;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: wave-effect 1.5s infinite linear;
}

@keyframes wave-effect {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 400% 0;
  }
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

.btn:hover::before {
  left: 150%;
}

.btn-primary {
  background: linear-gradient(to right, #ae0821, #fab114, #ae0821);
  color: white;
  background-size: 200% 100%;
}

.btn-primary:hover {
  background: linear-gradient(to right, #fd1d1d, #833ab4, #fcb045);
}

.btn-secondary {
  background: linear-gradient(to right, #0da533, #3af754, #0da533);
  color: white;
  background-size: 200% 100%;
}

.btn-secondary:hover {
  background: linear-gradient(to right, #56ccf2, #2f80ed);
}

.btn-main {
  display: block;
  width: 100%;
  background-color: #ff6f00;
  color: white;
  margin: 20px 0;
  font-size: 1.2em;
}

.btn h3 {
  margin: 0;
  font-size: 1em;
}

.promotion {
  text-align: center;
  margin-bottom: 20px;
}

.promo-image {
  width: 100%;
  border-radius: 10px;
}

.register-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.register-image > img {
  width: 80%;
}

.img-offers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offer-img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .logo {
    width: 50%;
  }
}

.image-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.contact {
  width: 100px;
  margin-top: 50px;
  display: block;
  text-align: start;
  color: #960101;
  text-decoration: none;
}
.contact:hover {
  color: #9f1313;
}

@media (max-width: 1024px) {
  /* Hide on screens 1024px and below (tablets and phones) */
  .contact {
    display: none;
  }
}

.blur-image {
  /* width: 100%; */
  height: auto;
  filter: blur(8px); /* ปรับค่าความเบลอได้ตามต้องการ เช่น 5px, 10px เป็นต้น */
}
