/* INDEX PAGE */
.hero {
  text-align: center;
}

.hero h2 {
  color: var(--dutch-blue);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

article {
  background: var(--dutch-white);
  border: 2px solid var(--dutch-red);
  padding: 1rem;
  box-shadow: 4px 4px 0 var(--dutch-red);
  transition: transform 0.3s ease;
}

article:hover {
  transform: translateY(-5px);
}

article h3 {
  color: var(--dutch-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

article p {
  font-size: 1rem;
}

article button {
  float: right;
}

.more-to-come {
  max-width: 800px;
  margin: 0 auto;
  background: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* END INDEX PAGE */

@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

@keyframes slide-from-right { from { transform: translateX(90px); } }
@keyframes slide-to-left { to { transform: translateX(-90px); } }

wc-wordcard {
  view-transition-name: slide-it;
}

::view-transition-old(slide-it) {
  animation: 180ms cubic-bezier(0.4, 0, 1, 1) both fade-out,
  300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}
::view-transition-new(slide-it) {
  animation: 420ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in,
  300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}

