/* Import at top */
@import url('https://fonts.googleapis.com/css2?family=WDXL+Lubrifont+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500&display=swap');

/* Body */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #2b2a26;
  color: #f4f1ea;
  margin: 0;
  padding: 0;
  display: flex;
}

/* Sidebar */
.sidebar {
  background-color: #3b3a2e;
  border-right: 4px solid #4f5036;
  padding: 20px;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar h3 {
  font-family: 'WDXL Lubrifont TC', cursive;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
  border-bottom: 2px solid #8b7d65;
  padding-bottom: 5px;
}
.sidebar a {
  display: block;
  padding: 10px 12px;
  background-color: #4f5036;
  color: #f4f1ea;
  text-decoration: none;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: background 0.3s;
}
.sidebar a:hover {
  background-color: #6a6b4e;
}

/* Content */
.content {
  flex: 1;
  padding: 20px;
}
header h1 {
  font-family: 'WDXL Lubrifont TC', cursive;
  font-size: 3rem;
  margin: 0;
  color: #ffffff;
}
.nav-links {
  margin-top: 10px;
}
.nav-links a {
  margin-right: 15px;
  color: #f4f1ea;
  text-decoration: none;
  font-weight: bold;
}
.nav-links a:hover {
  text-decoration: underline;
}

/* Tiles */
.tile {
  background: #3b3a2e;
  border: 2px solid #4f5036;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.tile img {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 10px;
}
.tile h2 {
  font-family: 'WDXL Lubrifont TC', cursive;
  font-size: 2rem;
  color: #ffffff;
  margin-top: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-card {
  background: #4f5036;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s;
}
.gallery-card img {
  width: 100%;
  border-radius: 6px;
}
.gallery-card:hover {
  transform: scale(1.03);
}

/* Transient Text */
#transient-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.7rem;
  text-align: center;
  margin: 2rem auto;
  color: white;
  position: relative;
  height: 3.5rem;
  overflow: hidden;
  letter-spacing: 0.05em;
}

.shaky-text {
  display: inline-block;
  position: relative;
  animation: shake 0.3s infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes shake {
  0% { transform: translate(0px, 0px) rotate(0deg); }
  25% { transform: translate(1px, -1px) rotate(-0.5deg); }
  50% { transform: translate(-1px, 1px) rotate(0.5deg); }
  75% { transform: translate(1px, 1px) rotate(-0.5deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

