:root {
  font-size: 16px;
  font-family: "Anonymous Pro", monospace;
  font-weight: 400;
  font-style: normal;

  --black: #191515;
  --white: #dfdfdf;
  --red: var(--red-lm);

  --red-lm: #89312d;
  --red-dm: #a41c1c;

  --font-color-lm: var(--black);
  --font-color-dm: var(--white);
  --font-color: var(--font-color-lm);

  --intro-bg-lm: #fffffe;
  --intro-bg-dm: #1a1816;
  --intro-background: var(--intro-bg-lm);

  --bg-lm: #efefe6;
  --bg-dm: #1a1816;
  --background: var(--bg-lm);

  --bgi-lm: url(images/wallpaper-lm.png);
  --bgi-dm: url(images/wallpaper-dm.png);
  --backgroundImage: var(--bgi-lm);
}
html {
  scroll-behavior: smooth;
}
a:hover,
label:hover {
  scale: 1.1;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  background-size: 500px;
  transition: background-color 0.5s;
}

a {
  display: grid;
  place-content: center;
  transition: 0.1s;
}
main {
  width: 100%;
  max-width: 1200px;
  container-type: inline-size;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  transition: 0.2s;
}
h1 {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--red);
  font-family: "Dancing Script", cursive;
}
h2 {
  color: var(--font-color);
  font-size: 1.3rem;
  opacity: 0.9;
}
h3 {
  color: var(--font-color);
  font-size: 1rem;
  font-weight: 700;
}
h4 {
  color: var(--font-color);

  font-size: 1rem;
}
h5 {
  font-size: 2rem;
  font-family: "Dancing Script", cursive;
  color: var(--font-color);
  text-align: center;
}
p {
  color: var(--font-color);

  font-size: 0.8rem;
}

header {
  max-width: 1200px;
  padding: 0.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: 0.15s;
  opacity: 0.5;
  display: flex;
  justify-content: space-between;
  opacity: 1;
  translate: 0 -100%;
}

nav.social-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-nav figure {
  height: 2rem;
}

header figure {
  height: 4rem;
  position: relative;
}
.menu {
  display: flex;
  flex-direction: column;
}
.menu h1 {
  padding-bottom: 0.5rem;
}
.menu-item {
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr auto;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  padding-bottom: 1rem;
  width: 100%;
}

section {
  padding: 1rem;
  width: 100%;
  max-width: 600px;
}

.food .menu-header,
.drinks .menu-header,
.contact-header {
  padding-bottom: 1rem;
}

.section-title {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  padding-top: 0rem;
}
.section-title .title-img {
  max-height: 2rem;
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.wine-heading {
  padding-left: 1rem;
  padding-bottom: 1rem;
}

.wine .menu-item {
  display: grid;
  grid-template-columns: 1fr 3ch 3ch 3ch;
}

figure {
  display: flex;
  justify-content: center;
}

.hero figure {
  position: relative;
}
.food-menus,
.drink-menus {
  transition: 0.2s;
}
.sign-lights {
  position: absolute;
  animation-name: sign-lights;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, -0.29, 0.63, 1.15);
  opacity: 0;
  height: calc(100% - 1rem);
}

header .sign-lights {
  height: 100%;
}
@keyframes sign-lights {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 100;
  }
  0% {
    opacity: 0;
  }
}

@media screen and (min-width: 600px) {
  .animated-intro,
  .spacer,
  .hero,
  .gallery,
  .contact {
    max-width: unset;
    width: 100%;
  }
}

.contact-info h3 {
  padding-bottom: 0.5rem;
}
.blurb {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  :root {
    font-size: 19px;
  }
  .contact-info {
    flex-direction: row-reverse;
  }
}

.contact-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-info .info {
  width: 100%;
  max-width: 600px;
  padding: 1rem;
}

.map {
  width: 100%;
  height: 20rem;
  overflow: hidden;
  max-width: 600px;
  padding: 1rem;
}

footer {
  max-width: 1200px;
  padding: 1rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.needs-fixing {
  background-color: rgba(0, 242, 255, 0.148);
}

.spacer {
  height: 200vh;
  z-index: -10;
  pointer-events: none;
}

.enter-button {
  position: absolute;
  bottom: 18.5%;
  left: calc(50% - 0.8rem);
  z-index: 100000;
  animation-name: pulse;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.enter-button figure {
  width: 3rem;
}
.enter-button h1 {
  font-family: "Anonymous Pro", monospace;
  padding: 0.5rem 1rem;
  background-color: var(--white);
  color: var(--black);
}
@keyframes pulse {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.2;
  }
  100% {
    scale: 1;
  }
}
.animated-intro {
  position: fixed;
  height: 100vh;
  width: 100%;
  max-width: unset;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.outside,
.inside {
  position: absolute;
  top: 0;
  height: 100vh;
  transform-origin: 50% 86%;
  aspect-ratio: 1;
}

.outside .building {
  height: 100%;
  aspect-ratio: 1;
}

.inside .building {
  width: 100%;
  position: absolute;
  bottom: -10%;
}
.inside {
  z-index: 1;
}
.outside {
  z-index: 3;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  position: relative;
  justify-content: space-between;
  transition: opacity 0.5s;
  padding-top: none;
}
.hero-image {
  padding-top: 1rem;
}

.large-light {
  position: absolute;
  width: 40%;
  top: -80%;
  left: 30%;
  z-index: 1;
  rotate: 10deg;
  transform-origin: top center;
  animation-name: light-sway;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 2;
}

@keyframes light-sway {
  0% {
    rotate: 3deg;
  }

  50% {
    rotate: -3deg;
  }
  100% {
    rotate: 3deg;
  }
}
.light-colour {
  position: absolute;
  background-size: contain;
  height: 100%;
  width: 100%;
  animation-name: large-light-colours;
  animation-iteration-count: infinite;
  animation-duration: 2s;
}
@keyframes large-light-colours {
  0% {
    background-image: url(images/large-light-blue.png);
  }

  33.3% {
    background-image: url(images/large-light-purp.png);
  }
  66.6% {
    background-image: url(images/large-light-yellow.png);
  }
  100% {
    background-image: url(images/large-light-blue.png);
  }
}

.show-header {
  translate: 0 0;
  opacity: 1;
  scale: 1;
}

.contact {
  padding: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --intro-background: var(--intro-bg-dm);
    --background: var(--bg-dm);
    --backgroundImage: var(--bgi-dm);
    --font-color: var(--font-color-dm);
    --red: var(--red-dm);
  }
  .line {
    filter: invert();
  }
  figure {
    filter: brightness(0.7);
  }
  .title-img {
    filter: brightness(1.5);
  }
  iframe {
    filter: invert(85%);
  }
}

.outside-sign {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: contain;
  animation: outside-sign-lights ease-in-out 3s infinite;
}

@keyframes outside-sign-lights {
  0% {
    background-image: unset;
  }
  1% {
    background-image: url(images/sign-lights/1.png);
  }
  2% {
    background-image: url(images/sign-lights/2.png);
  }
  3% {
    background-image: url(images/sign-lights/3.png);
  }
  4% {
    background-image: url(images/sign-lights/4.png);
  }
  5% {
    background-image: url(images/sign-lights/5.png);
  }
  6% {
    background-image: url(images/sign-lights/6.png);
  }
  7% {
    background-image: url(images/sign-lights/7.png);
  }
  8% {
    background-image: url(images/sign-lights/8.png);
  }
  8% {
    background-image: url(images/sign-lights/9.png);
  }
  10% {
    background-image: url(images/sign-lights/10.png);
  }
  11% {
    background-image: url(images/sign-lights/11.png);
  }
  12% {
    background-image: url(images/sign-lights/12.png);
  }
  13% {
    background-image: url(images/sign-lights/13.png);
  }
  14% {
    background-image: url(images/sign-lights/14.png);
  }
  15% {
    background-image: url(images/sign-lights/15.png);
  }
  16% {
    background-image: url(images/sign-lights/16.png);
  }
  17% {
    background-image: url(images/sign-lights/17.png);
  }
  18% {
    background-image: url(images/sign-lights/18.png);
  }
  19% {
    background-image: url(images/sign-lights/19.png);
  }
  20% {
    background-image: url(images/sign-lights/20.png);
  }
  21% {
    background-image: url(images/sign-lights/21.png);
  }
  22% {
    background-image: url(images/sign-lights/22.png);
  }
  23% {
    background-image: url(images/sign-lights/23.png);
  }
  24% {
    background-image: url(images/sign-lights/24.png);
  }
  25% {
    background-image: url(images/sign-lights/25.png);
  }
  26% {
    background-image: url(images/sign-lights/26.png);
  }
  27% {
    background-image: url(images/sign-lights/27.png);
  }
  28% {
    background-image: url(images/sign-lights/28.png);
  }
  29% {
    background-image: url(images/sign-lights/29.png);
  }
  30% {
    background-image: url(images/sign-lights/30.png);
  }
  31% {
    background-image: unset;
  }
}
