@charset "utf-8";
/* displacement.css */
/* Specific styles for the Displacement theme */

body {
  background-color: #eaeaea;
}

.theme-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.theme-thumb {
  width: 500px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.theme-thumb:hover {
  transform: scale(1.05);
}

.theme-content p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
}

.theme-content h1 {
  font-size: 8rem;
  line-height: 1.1;
  color: #E9FF32;
  margin: 13rem auto 13rem auto;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 768px) {
  .theme-content h1 {
    font-size: 3.5rem;
  }
}

.theme-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 4rem;
}

.theme-images img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease;
  margin-top: 4rem;
}

.theme-images img:hover {
  transform: scale(1.02);
}

#door {
  fill: #000000;
  stroke: #000000; /* almost-black, textured edge */
  stroke-width: 1.5;
  filter: drop-shadow(0 0 2px rgba(20, 20, 20, 0.3));
}

#figure {
  fill: rgba(20, 20, 20, 0.05);
  stroke: #2a2a2a;
  stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}


.flame-wrapper svg {
  overflow: visible;
  padding: 2rem; /* or just add margin */
  max-width: 230px;
  height: auto;
  display: block;
  margin: 6rem auto 3rem auto;
}

.figure-wrapper svg {
  padding: 2rem; /* or just add margin */
  max-width: 400px;
  height: auto;
  display: block;
  margin: 6rem auto 2rem auto;
}

.vitrine-wrapper {
  display: flex;
  justify-content: center;
  margin: 6rem auto 2rem auto; /* farther from title, closer to text */
  padding: 2rem;
  overflow: visible;
  max-width: 300px;
  height: auto;
  z-index: 1;
  position: relative;
}

.vitrine-wrapper svg {
  overflow: visible;
  padding: 2rem;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#vitrine path {
  fill: rgba(130, 215, 255, 0.25); /* vibrant icy blue */
  stroke: rgba(0, 180, 255, 0.8);  /* bold edge to define against gray */
  stroke-width: 2.5;
}

.box-wrapper {
  display: flex;
  justify-content: center;
  margin: 6rem auto 2rem auto; /* farther from title, closer to text */
  padding: 2rem;
  overflow: visible;
  max-width: 500px;
  height: auto;
  z-index: 1;
  position: relative;
}

/* === GLOWING FLOATING PARTICLES AROUND BUTTERFLY (ENHANCED VISIBILITY) === */
.pink-dot {
  fill: #fff0fb;
  opacity: 0.75;
  r: 5;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 1))
    drop-shadow(0 0 12px rgba(255, 105, 180, 0.8))
    drop-shadow(0 0 24px rgba(255, 105, 180, 0.6));
  animation: floatOrbitBlink 14s ease-in-out infinite;
  transform-origin: center;
}

.pink-dot:nth-child(odd) {
  animation-duration: 18s;
  animation-delay: -4s;
  transform: scale(1.2);
}

.pink-dot:nth-child(even) {
  animation-duration: 20s;
  animation-delay: -2s;
  transform: scale(1.4);
}

@keyframes floatOrbitBlink {
  0%   { transform: translate(0px, 0px) scale(1); opacity: 0.6; }
  25%  { transform: translate(-18px, 10px) scale(1.1); opacity: 1; }
  50%  { transform: translate(14px, -15px) scale(1.15); opacity: 0.7; }
  75%  { transform: translate(-10px, 18px) scale(1.25); opacity: 0.85; }
  100% { transform: translate(0px, 0px) scale(1); opacity: 0.6; }
}

#butterfly {
  animation: flutter 8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

#butterfly path {
  fill: url(#butterflyGradient); /* soft lavender-pink */
  filter: drop-shadow(0 0 6px rgba(218, 184, 247, 0.4));
}

@keyframes flutter {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  10%  { transform: translate(-30px, 20px) rotate(15deg) scale(1.1); }
  20%  { transform: translate(25px, -35px) rotate(-12deg) scale(1.05); }
  30%  { transform: translate(-40px, 25px) rotate(10deg) scale(0.95); }
  40%  { transform: translate(20px, 30px) rotate(-18deg) scale(1.15); }
  50%  { transform: translate(-25px, -20px) rotate(0deg) scale(1); }
  60%  { transform: translate(35px, 15px) rotate(12deg) scale(0.9); }
  70%  { transform: translate(-30px, 35px) rotate(-8deg) scale(1.08); }
  80%  { transform: translate(22px, -10px) rotate(6deg) scale(1.12); }
  90%  { transform: translate(-15px, 20px) rotate(-3deg) scale(0.98); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

.footer {
  background-color: #ffffff;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-family: Courier New, 'monospace';
}

