html {
  height: 100%;
  font-size: 1rem;
  box-sizing: border-box;
}
* {
  box-sizing: inherit;
}
body {
  height: 100%;
  margin: 0;
  /* display: grid; */
  width: 100%;
  font-family: system-ui, sans-serif;
}
h1,
h2,
h3 {
  margin-top: 0;
}
li {
  list-style: none;
  margin: 0;
}
ul {
  padding: 0;
}
a {
  text-decoration: none;
}
/* utilities */
.flex {
  display: flex;
}
.wrappable {
  flex-wrap: wrap;
}
.header-text {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  background-image: linear-gradient(to right, red, blue);
  background-position: center;
  background-clip: text;
}
/* primary header */
header.primary_header {
  --hover-clr: gold;
  width: 100%;
  margin: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  padding-inline: 2rem;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  background-color: hsla(0, 0%, 0%, 0.1);
  backdrop-filter: blur(4px);
}
.logo img {
  width: 100px;
}
nav {
  justify-content: space-between;
}
ul.flex {
  gap: 1rem;
}
section {
  width: 100%;
  font-size: clamp(1.1rem, 5vw, 1.2rem);
}
header a {
  color: white;
  font-size: 1.6rem;
  font-family: "agency fb", "Smooch Sans";
  padding-bottom: 8px;
  position: relative;
  transition: 0.4s ease color;
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 5px;
    background-color: var(--hover-clr);
    transition: 0.5s ease width;
  }
  &:hover {
    color: var(--hover-clr);
    &::after {
      width: 100%;
    }
  }
}
#nav-open-btn {
  background-color: transparent;
  border: none;
  display: none;
  & .rect {
    width: 32px;
    height: 5px;
    background-image: linear-gradient(
      to right,
      var(--hover-clr),
      rgba(255, 102, 0, 0.459)
    );
  }
  & .rect:not(:last-of-type) {
    margin-bottom: 6px;
  }
}
#nav-close-btn {
  display: none;
  position: relative;
  height: 50px;
  width: 40px;
  background-color: transparent;
  border: none;
  translate: 120px 10px;
  & .rect {
    width: 5px;
    height: 60%;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    rotate: -45deg;
    background-color: white;
  }
  & .rect:first-of-type {
    rotate: 45deg;
  }
  & .rect:last-of-type {
    rotate: -45deg;
  }
}

@media (width < 768px) {
  #nav-open-btn,
  #nav-close-btn {
    display: block;
  }
  nav.flex {
    translate: 100% 0;
    display: none;
  }
  ul.detail {
    display: none;
  }
  /*nav bar responsive*/
  nav.responsive {
    translate: 0 0;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    padding-inline: 3rem;
    background-color: hsla(0, 0%, 0%, 0.637);
    backdrop-filter: blur(2px);
    & ul.flex {
      display: block;
    }
    & a {
      display: block;
      text-align: center;
      margin: 20px;
    }
  }
  nav.responsive + ul.detail {
    display: block;
    position: absolute;
    right: 30px;
    top: 230px;
  }
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(assets/22.jpg);
  background-size: cover;
  background-position: center center;
}
.menu-hero {
  background-image: none;
  height: 60vh;
  font-family: "forte";
  text-shadow: 0px 3px 5px rgb(247, 177, 0);
  color: white;
  /* background-image: linear-gradient(to right, rgb(94, 12, 12), rgb(85, 0, 0)); */
  background-image: url(assets/IMG-20250121-WA0021.jpg);
}

.img_section {
  background-image: linear-gradient(to right, rgb(116, 0, 0), black);
  align-items: center;
  justify-content: space-around;
  padding: 1rem;
  margin-block: 2rem;
  gap: 2rem;
  border-block: 10px solid rgba(77, 0, 0, 0.384);
  & img {
    width: max(30%, 350px);
    height: 60vh;
    object-fit: cover;
    object-position: center -100px;
    box-shadow: 6px 5px 2px rgba(0, 0, 0, 0.377);
  }
  & p {
    width: max(50%, 350px);
    font-family: sans-serif;
    line-height: 1.6;
    color: white;
    text-align: justify;
  }
  h1 {
    color: white;
    font-size: 3rem;
    font-family: "Smooch Sans";
  }
}
main section:nth-of-type(3) {
  color: rgb(88, 88, 88);
  & h2 {
    text-align: center;
    font-family: consolas;
    text-transform: uppercase;
    letter-spacing: 4px;
  }
  & p {
    width: min(80%, 900px);
    margin-inline: auto;
  }
}

footer {
  border-block: 10px solid rgb(0, 0, 0);
  background-image: linear-gradient(rgb(41, 41, 41), black);
  /* background-image: url(assets/IMG-20250121-WA0014.jpg); */
  height: fit-content;
  color: white;
  align-items: center;
  justify-content: space-evenly;
  gap: 3rem;
  padding-block: 1rem;
  & .logo img {
    width: 200px;
  }
  & address {
    font-style: normal;
    & h3 {
      text-align: center;
      font-size: 2.5rem;
      font-family: "agency fb", "Smooch Sans";
    }
    & ul {
      font-family: "Caveat", sans-serif;
      border-inline: 5px double white;
      border-bottom: 5px double white;
      padding: 1rem;
      max-width: 450px;
    }
    & li {
      margin-bottom: 10px;
      text-align: right;
      font-size: 1.1rem;
      margin-inline: auto;
    }
  }
}
.items-list {
  width: max(80%, 320px);
  margin-left: 10px;
  padding-left: 0;
  & li {
    font-family: "agency fb", "Smooch Sans";
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    & .divider {
      flex: 1;
      height: 5px;
      /* background-color: black; */
      border-top: 1px dashed rgb(95, 95, 95);
    }
    & span:first-child {
      width: 30%;
    }
  }
}

.left {
  padding-left: 10px;
}

.menu-list {
  & a {
    --radius: 1.5rem;
    display: block;
    padding: 0.7rem;
    color: white;
    background-color: rgb(252, 151, 0);
    transition: 0.6s ease box-shadow, 1.2s ease-out border-radius;
    &:hover,
    &.active {
      box-shadow: 5px 5px 2px rgb(46, 11, 0);
      border-top-left-radius: var(--radius);
      border-bottom-right-radius: var(--radius);
    }
    &.active {
      background-color: red;
    }
  }
}

/* form box */
.formbox {
  --gold-clr: gold;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 40%, 0.8);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  & form {
    width: max(30%, 350px);
    padding: 1rem;
    padding-inline: 1.5rem;
    border-radius: 10px;
    background-color: black;
    position: relative;
    box-shadow: 5px 5px 10px var(--gold-clr);
  }
  & input:not([type="submit"]) {
    width: 100%;
    border: none;
    background-color: transparent;
    display: block;
    border-bottom: 1px solid var(--gold-clr);
    font-size: 1.3rem;
    color: var(--gold-clr);
    &:focus {
      border: none;
      border-bottom: 1px solid var(--gold-clr);
      outline: none;
    }
  }
  & label {
    color: var(--gold-clr);
    font-size: 1.1rem;
    margin: 20px;
    display: block;
    &::before,
    &::after {
      content: "*";
    }
  }
  & input[type="submit"] {
    background-color: var(--gold-clr);
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
    font-family: agency fb;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 100ms ease, scale 1s ease;
    margin-top: 10px;
    border: none;
    width: 100%;
  }
  & input[type="submit"]:hover {
    background-color: black;
    border: 2px double var(--gold-clr);
    color: var(--gold-clr);
    scale: 1.05;
  }
  & .closeForm {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: transparent;
    width: 50px;
    height: 50px;
    border: none;
    &::before,
    &::after {
      content: "";
      position: absolute;
      width: 5px;
      height: 60%;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      background-color: var(--gold-clr);
      border-radius: 5px;
    }
    &::before {
      transform: rotate(45deg);
      &:hover {
        scale: 1.1;
        background-color: red;
      }
    }
    &::after {
      transform: rotate(-45deg);
    }
  }
}

#menuContainer {
  border-block: 1px solid grey;
  padding-block: 1rem;
  margin-bottom: 20px;
  width: 97%;
  margin-inline: auto;
  & ul {
    scale: 0.8;
    opacity: 0;
    animation: showMenu 2s ease forwards;
  }
}

@keyframes showMenu {
  to {
    scale: 1;
    opacity: 1;
  }
}

#drinksList {
  margin-top: 30px;
  & a {
    font-size: 0.9rem;
  }
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s ease-out height, 0.8s ease-in opacity;
  &.drinks {
    height: fit-content;
    opacity: 1;
  }
}

.os {
  font-size: clamp(2rem, 3vw, 5rem);
  margin-top: 1rem;
}
