* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans Thai', sans-serif;
}

/* Desktop (หน้าจอใหญ่กว่า 1025px) */
@media (min-width: 1025px) {
  .overlay-image {
    content: url('/img/monster_hunter.svg');
    width: 80%;
  }
  .btn {
    width: 250px;
  }
  .btn1 {
    position: absolute;
    bottom: 20%;
    left: 35%;
  }
  .btn2 {
    position: absolute;
    bottom: 20%;
    left: 48%;
  }
}

/* Tablet (หน้าจอ 768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .overlay-image {
    content: url('/img/monster_hunter.svg');
    width: 80%;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
  }
  .btn {
    width: 200px;
  }
  .btn1 {
    position: absolute;
    bottom: 25%;
    left: 30%;
  }
  .btn2 {
    position: absolute;
    bottom: 25%;
    left: 50%;
  }
}

/* Mobile (หน้าจอเล็กกว่า 768px) */
@media (max-width: 767px) {
  .overlay-image {
    content: url('/img/monster_hunter_mobile.svg');
    width: 90%;
    top:5%;
  }
  .btn {
    width: 200px;
  }
  .btn1 {
    position: absolute;
    bottom: 20%;
    left: 3%;
    z-index: 10;
  }
  .btn2 {
    position: absolute;
    bottom: 20%;
    left: 48%;
    z-index: 10;
  }
}

.background-container {
  position: relative;
  background-image: url('/img/bg-monster-hunter.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh; /* ความสูงเต็มหน้าจอ */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* จัดตำแหน่งภาพ Overlay */
.overlay-image {
  position: absolute;
  height: auto;
  z-index: 1;
}

/* ปุ่ม */
.btn {
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
