html,
body {
  font-family: "Noto Sans TC", sans-serif;
  background-color: #fff8f0;
  background-image: url("/bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin: 0;
  padding: 0;

  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  opacity: 0.9; /* 調整這個數值來控制淡化程度 */
  z-index: -1;
}

footer a {
  color: #555;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  margin-bottom: 24px;
  color: #999;
}

/* sweetAlert */
.swal-btn-gray {
  background-color: #4b5563; /* Tailwind 的 gray-600 */
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.swal-btn-gray:hover {
  background-color: #374151; /* gray-700 */
}

.swal-btn-cancel {
  background-color: #e5e7eb; /* gray-200 */
  color: #374151; /* gray-700 */
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
  transition: background-color 0.3s ease;
}

.swal-btn-cancel:hover {
  background-color: #d1d5db; /* gray-300 */
}

.startBtn {
  padding: 10px 16px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #ff6b6b, #ffa726);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.startBtn:hover {
  transform: scale(1.05);
}
