/* Page 404 (templates/bundles/TwigBundle/Exception/error404.html.twig) */
.mbb-404 {
  background: var(--mbb-crumb);
}

.mbb-404__code {
  display: inline-flex;
  align-items: flex-end;
  gap: .08em;
  font-family: var(--mbb-font-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(5.5rem, 26vw, 10rem);
  line-height: 1;
  color: var(--mbb-crust);
}

.mbb-404__loaf {
  position: relative;
  display: inline-block;
  width: .74em;
  height: .74em;
  margin-bottom: .02em;
}

.mbb-404__bread {
  display: block;
  width: 100%;
  height: 100%;
}

.mbb-404__steam {
  position: absolute;
  left: 20%;
  bottom: 100%;
  width: 60%;
  overflow: visible;
}

.mbb-404__steam path {
  fill: none;
  stroke: var(--mbb-ink-2);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  animation: mbb-404-steam 3.2s ease-in-out infinite;
}

.mbb-404__steam path:nth-child(2) { animation-delay: 1s; }
.mbb-404__steam path:nth-child(3) { animation-delay: 2s; }

@keyframes mbb-404-steam {
  0% { opacity: 0; transform: translateY(6px); }
  40% { opacity: .45; }
  100% { opacity: 0; transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .mbb-404__steam path {
    animation: none;
    opacity: .35;
  }
}

.mbb-404__title {
  max-width: 40rem;
  margin-inline: auto;
}
