/* style.css */
body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  background-color: #FAF4E6;
  color: #3C3C3C;
  line-height: 1.8;
}
header {
  background-color: #80bbca;
  padding: 20px;
  color: white;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
}
nav {
  background-color: #80bbca;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #556B2F;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.card {
  background-color: #FFFFFF;
  border: 2px solid #E7D7C5;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.character-card {
  background-color: #fff;
  border: 2px solid #E7D7C5;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
.character-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.character-card:hover {
  transform: scale(1.03);
}
footer {
  background-color: #80bbca;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
.home-link {
  display: block;
  margin-bottom: 10px;
  color:#80bbca;
  font-weight: bold;
}
