* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: black;
    font-family: "Special Elite", system-ui;
  } 

  .card .pipi {
    width: 150px; 
    height: 45px; 
    object-fit: cover;
    margin: 0 auto; 
  }
  

/*menu horizontal*/

.menu {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: black;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 10px;
  }

.menu .logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  }

.menu ul {
  list-style: none; 
  padding: 0;
  margin: 0;
  display: flex; 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch; 
  }

.menu li {
  margin:  10px 5px; 
  }

.menu li:first-child {
  margin-left: 10px; 
  }

.menu li:last-child {
  margin-right: 0; 
  }

.menu a {
  display: block; 
  text-decoration: none; 
  color: inherit; 
  }

.menu span {
  display: none; 
  }

.menu img {
  display: block; 
  height: 50px; 
  width: auto; 
  border: none; 
  }

section {
  min-height: 100vh;
  }

/*imagen de presentacion de cada seccion*/

.header {
  margin-bottom: 30px;
  }

.button-with-image { 
  position: relative; 
  display: inline-block; 
  width: 100%; 
  height: 180px; 
  cursor: pointer; 
  overflow: hidden; 
  border:none;
  border-bottom:1px solid grey;
  transform:translateY(30px)
  } 

.button-with-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  } 

.button-with-image .overlay { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1;
  } 

.button-with-image .title-menu { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  color: white; 
  font-size: 30px; 
  text-align: center; 
  z-index: 2; 
  pointer-events: none; 
  }

.button-with-image .subtitle-menu {  
  position: absolute;
  top: 70%; 
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; 
  font-size: 14px; 
  text-align: center;
  z-index: 2;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  } 

.button-with-image  .recomendaciones-title {
  color: #f47b8dfe;
  }

.button-with-image  .nachos-title {
  color: #8ec984ff;
  }

.button-with-image  .chilaquiles-title {
  color: #faaf6eff;
  }

.button-with-image .quesadillas-title {
  color: rgb(144, 145, 179);
  }

.button-with-image .tacos-title {
  color: #eee663ff;
  }

.button-with-image .postres-title {
  color: #84abc9ff;
  }

.button-with-image .cocteles-title {
  color: #e182c9ff;
  }

.button-with-image .chupitos-title {
  color: #7bf0ecff;
  }

.new1 {
  color: white;
  font-size: 14px;
  }

.new2 {
  color: #f47b8dfe;
  font-weight: bold;
  font-size: 12px;
  }

.button-with-image .subtitle-menu1 {  
  position: absolute;
  top: 80%; 
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; 
  font-size: 12px; 
  text-align: center;
  z-index: 2;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  } 

  /*contenido de las cards*/

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1rem;
  align-items: stretch;
  justify-items: center; 
  }
  
.card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background-color: transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  border: 9px solid transparent;
  width: 100%;
  min-height: 150px; 
  transition: transform 0.1s ease-out; 
  }
.card:active {
  transform: scale(0.96); 
  }
.parcard {
  grid-template-columns: 1fr auto;
  }

.parcard  .card-content {
  order: 0; 
  transform: translatex(5px);
  }

.parcard  picture {
  order: 1; 
  }

.card img {
  width: 100%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  }

.card-content {
  display: grid;
  transform: translateX(-10px);
  color: white;
  border: 9px solid transparent;
  min-width: 200px;
  margin-top: 15px;
  }


.card-fadeout {
  opacity: 0;
  }

.card-fadein {
  opacity: 1;
  }

.section-recomendaciones .card {
  border-image: url("/img/menu/borderecomendaciones.avif") 50 round;
  }

.section-nachos .card {
  border-image: url("/img/menu/bordenachos.avif") 50 round;
  }

.section-chilaquiles .card {
  border-image: url("/img/menu/bordeflautas.avif") 50 round;
  }

.section-quesadillas .card {
  border-image: url("/img/menu/bordequesadillas.avif") 50 round;
  }

.section-tacos .card  {
  border-image: url("/img/menu/bordetacos.avif") 50 round;
  }

.section-postres .card  {
  border-image: url("/img/menu/bordepostres.avif") 50 round;
  }

.section-cocteles .card  {
  border-image: url("/img/menu/bordecocteles.avif") 50 round;
  }

.section-chupitos .card  {
  border-image: url("/img/menu/bordechupitos.avif") 50 round;
  }

.section-bebidas .card  {
  border-image: url("/img/menu/bordebebidas.avif") 50 round;
  }

.card-content h3 {
  font-size:14px;
  margin:10px 3px;
  font-weight:bold ;
  margin:0 0 5px 0;
  }

.card-content p {
  margin-right: 3px;
  font-size: 12px;
  line-height: 1.4;
  max-height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-right: 0;
  text-align: left
  }

.card-content .comida-pvp {
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  margin: 4px;
  font-size: 13px;
  margin-top: 8px;
  }

.card-content .comida-pvp span {
  margin-left: auto;
  }

.card-content .comida-pvp svg {
  margin-left: 3px;
  }

.nuevo {
  color:red;
  }

.asterisco {
  color: white;
  font-size:12px;
  margin-top: 20px;
  }

.card-content .comida-pvp .alergenoimg {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 5px;
  }

.footer {
  color:white;
  display:flex;
  border-top:1px solid white;
  }

.footer img {
  width:50px;
  height:50px;
  border-radius:50%;
  margin:8px 5px;
  }

.title-footer {
  margin-left:-10px;
  font-size: 20px;
  margin-top:30px;
  }

/*cards emergentes*/

.fadeout {
  display: none;
  }

.container-item {
  background-color: black;
  color: white;
  border-radius: 15px;
  margin: 15px 15px 15px -5px;
  padding: 5px;
  position: fixed;
  bottom: 100px;
  z-index: 10000;
  left: 50%; 
  transform: translateX(-50%); 
  width: calc(100% - 30px); 
  max-width: 380px;
  bottom: 70px;    
  }

#c101, #c102{
  border: 3px solid #f47b8dfe;
  }

#c201, #c202, #c203, #c204 {
  border: 3px solid #8ec984ff;
  }

#c301, #c302 {
  border: 3px solid #faaf6eff;
  }

#c401, #c402, #c403, #c404 {
  border: 3px solid rgb(144, 145, 179);
  }

#c501, #c502, #c503, #c504, #c505 {
  border: 3px solid #eee663ff;
  }

#c601, #c602, #c603 {
  border: 3px solid #84abc9ff;
  }

#c701, #c702, #c703, #c704, #c705, #c706, #c707, #c708, #c709 {
  border: 3px solid #e182c9ff;
  }

#c801, #c802, #c803 {
  border: 3px solid #7bf0ecff;
  }

#c901, #c902, #c903, #c904, #c905, #c906, #c907, #c908, #c909 {
  border: 3px solid white;
  }

#c101 .name, #c102 .name {
  color: #f47b8dfe; 
  }

#c201 .name, #c202 .name, #c203 .name, #c204 name {
  color: #8ec984ff;
  }

#c301 .name, #c302 .name {
  color: #faaf6eff;
  }

#c401 .name, #c402 .name, #c403 .name, #c404 name {
  color: rgb(144, 145, 179);
  }

#c501 .name, #c502 .name, #c503 .name, #c504 .name, #c505 name {
  color: #eee663ff;
  }

#c601 .name, #c602 .name, #c603 .name {
  color: #84abc9ff;
  }

#c701 .name, #c702 .name, #c703 .name, #c704 .name, #c705 .name, #c706 .name, #c707 .name, #c708 .name, #c709 .name {
  color: #e182c9ff;
  }

#c801 .name, #c802 .name, #c803 .name {
  color: #7bf0ecff;
  }

#c901 .name, #c902 .name, #c903 .name, #c904 .name, #c905 .name, #c906 .name, #c907 .name, #c908 .name, #c909 .name {
  color: white;
  }

.name {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  transform: translatey(15px);
  margin-bottom:10px;
  color: #8ec984ff;
  }
  
.item {
  text-align: left;
  margin: 5px;
  flex-direction: column;
  justify-content: flex-start; 
  height: auto; 
  width: 100%;
  flex-grow: 1;
  flex-basis: 0;
  align-items: center; 
  }
  
.items .item img {
  width: 100%;
  max-width: 300px;
  height: 250px; 
  object-fit: cover;
  margin-bottom: 5px;
  border-radius: 5px;
  align-self: center;
  transform: translateX(10px);
}
    
.item-header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.card-copy, .ale {
  font-weight: 300;
  margin: 8px 0 16px 0;
  }
  
.boton-cerrar {
  border: none;
  cursor: pointer;
  background-color: black;
  }
    
.boton-cerrar svg {
  transform: translateY(10px);
  }

.price {
  text-align: right;
  margin-right: 5px;
  color:#8ec984ff;
  }

.alergenos-title {
  margin-bottom: 15px;
  }

.contenedor-texto .tacos-pvp {
  font-weight: bold;
  font-size: 13px;
 }

.tacos-pvp span{
  display: block;
  margin: 10px 0;
  text-align: right;
  margin-right: 10px;
  margin-bottom: 15px;
  color:#8ec984ff;
 }
 .card-no-image {
  grid-template-columns: 1fr;
}

.card-no-image .card-content {
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-no-image .card-content h3 {
  text-align: center;
}

.card-no-image .card-content p {
  -webkit-line-clamp: unset;
  max-height: none;
}

.card-no-image .card-content .comida-pvp {
  justify-content: flex-end;
  width: 100%;
  padding-right: 15px; 
}

  @media (max-width: 375px) {
    .container-item {
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 20px); 
      max-width: 300px; 
      height: auto;
      max-height: calc(100vh - 30px);
      overflow-y: auto;
      bottom: 70px;
      }
      .items .item img {
        max-width: 250px;
      }
    }

  @media (min-width: 768px) {
    .items .item img {
      max-width: 330px;
    }
  }

  
