body {
  margin: 0;
  padding: 0;
}

.menu-poster {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-top: -40px;
}
.menu-banner {
  width: 100vw;
  height: 100vh;
  max-height: 70vh;
  background-size: cover;
  background-image: url('/assets/png/menu-banner.png');
  font-family: 'taco-lon', sans-serif;
  color: white;
  text-shadow: 4px 4px 4px #000000;
}
.main-content {
  width: 60%;
  position: relative;
  top: 50%;
  padding-left: 110px;
  color: white;
  font-size: 2.5rem;
}

.menu-banner {
  width: 100%;
  height: 70vh;
  max-height: 70vh;
  object-fit: cover;
}

.menu-navbar {
  display: flex;
  justify-content: center;
  padding: 5px;
  position: sticky;
  top: 0;
  background-color: #ffc217;
  z-index: 1;
}

.menu-navbar a {
  color: white;
  text-decoration: none;
  padding: 14px 16px;
  font-family: sans-serif;
  font-weight: 600;
  display: flex;
  /* margin: 16px; */
}

.sub-active {
  border-bottom: 2px solid #ffffff;
}

.menu-section {
  padding: 20px;
  text-align: center;
  .desc{
  font-family: 'taco-din','IBM Plex Sans Condensed', 'sans-serif';
  font-size: 1.5rem;
  }
  .name {
    padding: 8px 2px;
    font-family: 'taco-din','IBM Plex Sans Condensed', 'sans-serif';
    font-size: 1.3rem;
  }
  .price {
    font-family: 'taco-avenir','IBM Plex Sans Condensed', 'sans-serif';
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    background-image: url(/assets/png/icons/v3_TacoTime_Web_Menu_PriceTag-05.png);
    background-repeat: no-repeat;
    background-size: 7rem 3rem;
    background-position: 50%;
  }
}

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

.menu-section h1 {
  color: #b22222;
  font-family: 'taco-din','IBM Plex Sans Condensed', 'sans-serif';
  font-size: 2rem;
}

@media screen and (min-width: 768px) {
  .decorated{
    text-align: center;
  }
  .decorated > span{
   position: relative;
   display: inline-block;
  }
  .decorated > span:before, .decorated > span:after{
   content: '';
   position: absolute;
   top: 38%;
   border-bottom: 2px solid;
   width: 30vw;
   margin: 0 20px;
  }
  .decorated > span:before{
   right: 100%;
  }
  .decorated > span:after{
   left: 100%;
  } 
} 

.menu-section p {
  color: #333;
  margin-bottom: 20px;
  padding: 0 110px;
}

.menu-items {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line */
  justify-content: space-evenly; /* Adjusts spacing between items */
  gap: 16px; /* Optional: Adds spacing between items */
}

.menu-item {
  flex: 1 1 calc(33.33% - 16px); /* Ensures each item takes 1/3 of the row's width, minus the gap */
  max-width: 350px; 
  box-sizing: border-box; /* Ensures padding/margin are included in the width */
  img {
    max-width: 350px;
    height: auto;
  }
}

.details {
  display: flex;
  flex-direction: column;
}

.section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  width: 30%;
}

.menu-image {
  width: 150px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.item-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.menu-item p {
  margin: 5px 0;
}

.hidden {
  display: none;
}

@media only screen and (max-width: 768px) {
  html, body {
    height: auto;
  }

  .menu-poster {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: -40px;
    height: 60vh;
  }

  .menu-banner {
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-image: url('/assets/png/mobile-menu-banner.png');
    font-family: 'taco-lon', sans-serif;
    color: white;
    text-shadow: 4px 4px 4px #000000;
  }
  .main-content {
    width: 70%;
    position: relative;
    top: 40%;
    padding-left: 40px;
    color: white;
    font-size: 1.5rem;
  }

  .menu-navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;

    position: sticky;
    top: 0;
    background-color: #ffc217;
    > a{
      flex: 1 1 calc(20% - 10px);
      justify-content: space-evenly;
      padding: 0;
      margin: 10px 5px 0 5px;
      /* margin-bottom: 8px; */
    }
  }

  .menu-section p{
    padding: 0 10px;
  }

  .section-container {
    width: 100%;
  }

  .announcement-content {
    display: inline-block;
    padding-left: 50%;
    animation: scroll 20s linear infinite;
  } 

  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }


}

#announcement-banner {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #f70404;
  color: #F4FFA1;
  text-align: center;
  padding: 10px 0;
  font-size: 24px;
  font-weight: 400;
  z-index: 1000;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-content {
  display: inline-block;
  padding-left: 50%;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}
