html,
body {
  height: 100%;
  margin: 0;
  color: black;
  background-color: whitesmoke;
} 

.image-row,
.image-row a,
.page-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-row {
  flex-wrap: wrap;
  gap: 10px;
}

.image-row a {
  flex: 1 1 18%;
  max-width: 18%;
  text-decoration: none;
}

.image-row img {
  width: 100%;
  height: auto;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.image-row a:hover img {
  filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.4));
  transform: scale(1.03);
}

/* Fonts */
.image-row-label,
.page-container h1,
.page-container p,
.back-link,
.section-subtitle {
  font-family: "Shizuru", system-ui;
}

.image-row-label {
  margin-top: 30vh;
  text-align: center;
  font-size: 2.5em;
  font-weight: 400;
  font-style: normal;
  color: black;
}

.page-container h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-container p {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.5;
}

.back-link {
  font-size: 1.2em;
  display: inline-block;
  text-decoration: none;
  color: black;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: gray;
}

.back-link-fixed {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10;
}

.snap-root {
  height: 100vh;                 
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.page-section {
  min-height: 100vh;             
  padding: 20px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.section-subtitle {
  font-size: 2rem;
  text-align: right;
  margin: 0;
}

.scroll-image {
  max-width: 30vw;
}

.ingredient-list {
  font-family: "Barriecito", cursive;
  font-size: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.ingredient-list li+li {
  margin-top: 4px;
}

/* Web ring */
.next-page-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
}

.next-page-img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.next-page-img:hover {
  transform: scale(1.1);
}
