/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.noto-sans-tc {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* {
  -webkit-tap-highlight-color: transparent;
  /* 移除點擊高亮（針對手機/平板設備） */
  user-select: none;
  /* 禁止選中文本 */
  outline: none;
  /* 禁止元素的 outline，例如按鈕點擊後的虛線框 */
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  /* 保持基礎字體大小一致 */
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
  /* 移除點擊時的陰影效果 */
}

body {
  font-family: Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

@font-face {
  font-family: "KGSummerStorm";
  src: url("../fonts/KGSummerStormRough.ttf") format("truetype");
  font-weight: normal;
  /* 可選：設定字重 */
  font-style: normal;
  /* 可選：設定字型 */
}

body {
  font-family: "KGSummerStorm", sans-serif;
  background-color: #FDFBD2;
  display: flex;
  flex-direction: column;
}

.container {
  flex-grow: 1;
  position: relative;
}

.start-btn {
  z-index: 2;
  position: absolute;
  bottom: 0;
  height: 16%;
}

.landing-bottom {
  position: absolute;
  bottom: 0;
}

.center {
  display: flex;
  justify-content: center;
}

.menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  height: 16vw;
  width: 16vw;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(253, 251, 210, 0.5);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.close-btn {
  align-self: end;
  padding: 10px;
  height: 16vw;
  width: 16vw;
}

.menu-container {
  background-image: url("/images/menu_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #FDFBD2;
  display: flex;
  flex-direction: column;
  background-position: center;
}


.menu-item:first-of-type {
  margin-top: 2rem;
}

.menu-item:last-child {
  margin-bottom: 2rem;
}

.menu-item-img {
  width: 60vw;
  margin: auto;
}

.overflow-y-hidden {
  overflow-y: hidden;
}

.hidden {
  display: none;
}


.menu-outside {
  flex-grow: 1;
}