/* @import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap'); */
@font-face {
  font-family: 'Fraunces';
  src: url('./Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
}

html {
  background: linear-gradient(180deg, #23211d 0%, #5b4242, 50%, #422d2d 100%);
  height: 'fit-content';
}

body {
  font-family: 'Arial';
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}

body.home {
  background-image: url('./assets/soil_top_0.png');
}
.menu-item {
  background-image: url('./assets/yellowBG.png');
  background-size: cover;
  background-position: center;
}

.submenu-item {
  background-image: url('./assets/yellowBG.png');
  background-size: cover;
  background-position: center;
}

.content {
  margin: 0 auto;
  max-width: 1080px;
  color: #fff;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}
.h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 60%;
}
p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding-bottom: 24px;
  text-align: justify;
}

p::before {
  content: ''; /* Four spaces */
  width: 24px;
  display: inline-block;
}

table {
  color: #000;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.image-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
}
.image-container figcaption {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7280;
}
.neon-text {
  color: #fabec0;
  text-shadow: 0 0 5px #fabec0, /* 粉色光暈 */ 0 0 10px #fabec0;
}
.title {
  font-size: 77px;
  text-align: center;
  margin-bottom: 24px;
}
.name {
  font-size: 60px;
  text-align: center;
}
.mbti {
  font-size: 40px;
  color: #fabec0;
  text-shadow: 0 0 5px #fabec0;
}

.highlight {
  color: #fd288d;
  font-weight: bold;
}

.ita {
  font-style: italic;
}

.engi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  place-items: center;
  margin-top: 24px;
}
.engi2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  place-items: center;
  margin-top: 24px;
}
.box {
  width: 200px;
  height: 200px;
  padding: 5px;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
