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

body {
  margin: 0;
  background-color: #EFEEDB;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.18  0 0 0 0 0.13  0 0 0 0 0.11  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: #FDC21C;
  color: #2E1A1A;
}

a {
  color: #52541C;
}

a:hover {
  color: #2E1A1A;
}

img {
  display: block;
  max-width: 100%;
}

/* ---- Page ---- */

.page {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 48px;
  background-color: #FAFAE5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.18  0 0 0 0 0.13  0 0 0 0 0.11  0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: 'Mulish', sans-serif;
  color: #2E1A1A;
}

/* ---- Pet badge ---- */

.pet-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 84px;
  text-align: center;
}

.pet-badge__img {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.pet-badge__caption {
  width: 84px;
  margin: 2px auto 0;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: #52541C;
  text-align: center;
}

/* ---- Header ---- */

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 36px 24px 20px;
  text-align: center;
}

.header__logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 4px;
}

.header__location {
  margin-top: -6px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #52541C;
}

.header__hours-label {
  margin-top: 16px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #2E1A1A;
}

.header__hours {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}

/* ---- Instagram row ---- */

.instagram-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 24px 24px;
  text-align: center;
}

.instagram-row__text {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #2E1A1A;
}

.instagram-row__link {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #52541C;
  text-decoration: none;
}

/* ---- Menu sections ---- */

.menu-section {
  padding: 8px 24px 32px;
  scroll-margin-top: 64px;
}

.menu-section--last {
  padding-bottom: 8px;
}

.menu-section__rule {
  width: 48px;
  height: 3px;
  margin-bottom: 12px;
  background: #52541C;
}

.menu-section__title {
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  color: #3B211E;
}

.menu-section__title--tight {
  margin-bottom: 4px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 0;
}

.menu-item__name {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-item__leader {
  flex: 1;
  margin: 0 2px;
  border-bottom: 2px dotted #C9C7A0;
  transform: translateY(-4px);
}

.menu-item__price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* Rows with an ingredient description underneath */

.menu-item--desc {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #EDEBCC;
}

.menu-item--desc-tight {
  padding: 14px 0;
}

.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.menu-item__desc {
  margin-top: 2px;
  font-size: 13.5px;
  font-style: italic;
  color: #6b6a54;
}

/* Cold Coffee note pill */

.note-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #F1EFD6;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #52541C;
}

/* ---- Footer ---- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 0;
  text-align: center;
}

.footer__badge {
  width: 88px;
  height: auto;
  object-fit: contain;
}

.footer__credit {
  margin-top: 14px;
  font-size: 12px;
  color: #9a9878;
}

/* ---- Credits ---- */

.credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 28px 24px 0;
  text-align: center;
  opacity: 0.6;
}

.credits__name {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #2E1A1A;
}

.credits__contact {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #2E1A1A;
}

.credits__ig {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #2E1A1A;
  text-decoration: none;
}
