:root {
  --color-beige: #F1EAE2;
  --color-red: #800001;
  --flame-trace-duration: 2.6s;
  --circle-trace-duration: 1.8s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    background-color: var(--color-beige);
    overflow-x: clip;
}

.background-flame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
  transform: translateY(var(--background-flame-offset, 0px));
}

.background-flame-svg {
  grid-area: 1 / 1;
  width: min(60vmin, 790px);
  height: auto;
}

.background-flame-svg path {
  fill: none;
  stroke: rgba(245, 110, 5, 1);
  stroke-width: 0.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: traceFlame var(--flame-trace-duration) ease-out forwards;
}

.background-circle-svg {
  z-index: 1;
}

.background-circle-svg path {
  stroke: rgba(245, 110, 5, 1);
  stroke-width: 0.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: traceCircle var(--circle-trace-duration) ease-out var(--flame-trace-duration) forwards;
}

.background-flame-outer {
  z-index: 1;
}

.page-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInPage 4s ease forwards;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}

.main-splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    max-width: 900px;
    img {
      min-height: 20vh;
    }
}

.buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.button {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--color-red);
  cursor: pointer;
  border: 1px solid var(--color-red);
  &:hover {
    background-color: var(--color-beige);
    color: var(--color-red);
    border: 1px solid var(--color-red);
  }
}

.subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-red);
  text-align: center;
  /* margin-top: 10px; */
}

.side-space {
  width: 192px;
  flex-shrink: 0;
  /* background-color: var(--color-red); */
  /* Brick-like texture with staggered vertical joints */
  /* background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.18) 0 2px,
      transparent 2px 34px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 0 2px,
      transparent 2px 96px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 0 2px,
      transparent 2px 96px
    );
  background-size: 100% 28px, 96px 28px, 96px 28px;
  background-position: 0 0, 0 0, 48px 14px;
  img {
    position: absolute;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
  } */
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  padding: 20px;
  margin-top: 15vh;
  img {
    width: fit-content;
  }
}

.about-description {
  text-align: center;
  max-width: 400px;
}

.menu-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  margin-top: 15vh;
  gap: 2.5rem;
}

.title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-red);
  text-align: center;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding-bottom: 50px;
}

.menu-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-red);
}

.menu-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  /* text-align: center; */
}

.menu-section-rule {
  width: 100%;
  height: 1px;
  background-color: var(--color-red);
  opacity: 0.45;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  width: 100%;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  min-width: 0;
}

.menu-item-top {
  display: contents;
}

.item-name {
  grid-column: 1;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

.item-price {
  grid-column: 2;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.item-description {
  grid-column: 1;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background-color: var(--color-red);
  color: #fff;
  text-align: center;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes traceFlame {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes traceCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-flame-svg path,
  .background-circle-svg path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 768px) {
  .background-flame-svg {
    width: 95vw;
  }
  .container {
    justify-content: center;
  }
  .buttons {
    flex-direction: column;
    width: 70%;
  }
  .side-space {
    display: none;
  }
  .main-space {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-splash-content {
    width: 100%;
  }
  .menu-container,
  .about-container {
    margin-left: auto;
    margin-right: auto;
  }
  .menu-items {
    grid-template-columns: 1fr;
  }
}