@font-face {
  font-family: "SOV JomYuth";
  src: url("assets/SOV_JomYuth.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 600;
  size-adjust: 139%;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}
@font-face {
  font-family: "SOV JomYuth";
  src: url("assets/SOV_JomYuth-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  size-adjust: 139%;
  font-display: swap;
  unicode-range: U+0E01-0E5B;
}

:root {
  --thai-display: "SOV JomYuth", "Thai Display", Georgia, serif;
  --serif: "SOV JomYuth", "Menu Serif", Georgia, serif;
}

#restaurant {
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0;
}

/* The decorations sit behind the content. The native checkbox also works offline. */
.cloud-layer {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.gold-cloud {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  opacity: .72;
  filter: drop-shadow(0 2px 2px #690d1d59);
  animation: drift-cloud 13s ease-in-out infinite alternate;
}
.cloud-left {
  --facing: 1;
  top: .7%;
  left: -2.1%;
  width: clamp(120px, 17%, 250px);
  animation-delay: -4s;
}
.cloud-right {
  --facing: -1;
  top: 1.9%;
  right: -2.5%;
  width: clamp(140px, 19%, 270px);
  animation-duration: 17s;
  animation-delay: -10s;
}
@keyframes drift-cloud {
  from { transform: translate3d(-10px, -2px, 0) scaleX(var(--facing)); }
  to { transform: translate3d(13px, 4px, 0) scaleX(var(--facing)); }
}
.cloud-pause {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.cloud-switch {
  position: absolute;
  z-index: 3;
  bottom: clamp(13px, 1.7vw, 26px);
  right: 4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.cloud-switch > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #e8c99aa3;
  border-radius: 50%;
  background: #761724d9;
}
.cloud-switch > span::before {
  content: "";
  width: 4px;
  height: 9px;
  border-inline: 2px solid #ffe1ab;
  box-sizing: content-box;
}
.cloud-pause:checked + .cloud-switch > span::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-inline: 7px solid #ffe1ab;
  border-inline-end: 0;
}
.cloud-pause:focus-visible + .cloud-switch > span { outline: 2px solid #fff0bb; outline-offset: 3px; }
.cloud-pause:checked ~ .cloud-layer .gold-cloud { animation-play-state: paused; }
.menu-heading::before, .menu-heading::after { display: none; }
.menu-heading .cloud-left { top: 12%; }
.menu-heading .cloud-right { top: 17%; }
.menu-heading .cloud-switch { bottom: 4px; }
@media (max-width: 767px) {
  .cloud-left { top: 0; left: -1%; width: clamp(112px, 34%, 190px); }
  .cloud-right { top: 3px; right: -.4%; width: clamp(122px, 37%, 206px); opacity: .74; }
  .cloud-switch { bottom: 8px; right: 0; width: 32px; }
  .menu-heading { padding-top: clamp(44px, 11.3vw, 64px); }
  .menu-heading .cloud-left { top: 0; }
  .menu-heading .cloud-right { top: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .gold-cloud { animation: none; transform: scaleX(var(--facing)); }
  .cloud-pause, .cloud-switch { display: none; }
}
