body {
  background-color: black;
  font-family: "Calibri", "Raleway", "Roboto", "Nunito Sans", "Lora",
    "Montserrat", sans-serif;
 /* -webkit-user-select: none;*/
 /** -moz-user-select: none;**/
 /** -ms-user-select: none;**/
  /**user-select: none;**/
}

/**************************/
/*************filter navegacion html*************/
/**************************/

.menu-filter button:hover {
  background-color: white;
}

.menu-filter {
  margin-bottom: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.menu-filter button {
  margin: 5px;
  padding: 10px 20px; /* Botones más grandes */
  background-color: orange;
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s; /* Añade una transición suave */
}

/************/
/******Muestran cards html /js***********/
/*******************/

.menu-container {
  display: flex;
  flex-direction: column; /* Apilar elementos verticalmente */
  align-items: center; /* Centrar elementos horizontalmente */
  padding: 20px;
}

.menu-item {
  width: 80%; /* Ancho del contenedor */
  margin: 10px auto; /* Esto lo centra horizontalmente en su contenedor padre */
  background-color: blanchedalmond; /* Fondo para los elementos de menú */
  border: 1px solid #ddd; /* Borde */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra */
  text-align: center; /* Centrar texto dentro del contenedor */
  padding: 20px; /* Espaciado interno */
  box-sizing: border-box; /* Asegura que el padding no afecte al tamaño total */
}

@media (min-width: 768px) {
  .menu-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/**********************************************/

/*************encabezado titulo*********/
/**********************************************/

.lang-horario {
  font-size: 12px;
  color: #888;
  font-style: italic;
  text-align: center;
  margin-top: 5px;
  display: inline-block;
  padding: 2px 5px;
  font-size: 1em;
}

.lang-horario span {
  display: inline;
  margin: 0 5px;
  color: #888;
}

.lang-horario-carta span::after {
  content: " |";
  margin-left: 5px;
}

@media (max-width: 768px) {
  .lang-horario {
    display: block;
    text-align: left;
  }

  .lang-horario span {
    display: block;
    margin: 5px 0;
  }

  .lang-horario span::after {
    content: none;
  }

}








/**************titulo**********/
.lang-title {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px;
    background-color: brown;
    color: #fff;
    display: inline-block;
}

.lang-title .title-part {
    display: inline;
}

.lang-title .separator {
    display: inline;
    margin: 0 5px;
}

@media (max-width: 1024px) {
    .lang-title {
        font-size: 14px;
        padding: 4px;
    }
}

@media (max-width: 768px) {
    .lang-title {
        font-size: 1px;
        padding: 6px;
    }

    .lang-title .title-part {
        display: block; /* Hace que cada parte del título esté en una línea separada */
        margin: 5px 0; /* Espaciado entre las partes */
    }

    .lang-title .separator {
        display: none; /* Elimina el separador | en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .lang-title {
        font-size: 10px;
        padding: 8px;
    }
}

















/**********************************************/

/*************menu-filtros*********/
/**********************************************/

.lang-es {
  color: black;
  font-weight: 600;
  font-size: 1rem;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.prices {
  font-weight: bolder;
  text-align: center;
}

@media (max-width: 768px) {
  .prices {
    display: none;
  }

  .prices::after {
    content: "Preu Precio Price: ";
    display: block;
    text-align: center;
  }

  .lang-title {
    padding: 5px;
  }
}

/************************/
/**********titulo******/
/*********************/

.title {
  text-align: center;
  margin-bottom: 20px;
}

.title span {
  font-size: 1rem;
  font-weight: bold;
  display: block;
}

.title p.prices {
  font-size: 1.2rem;
  color: #333;
}

.item-title span {
  display: block;
  margin: 5px 0;
}

.item-title-es,
.item-title-en {
  color: #757575;
  font-style: italic;
  font-size: 0.9rem;
}

.items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.item-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
  min-width: 280px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
}

.item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Media queries */
@media (max-width: 768px) {
  .items {
    justify-content: flex-start;
  }

  .item-card {
    width: 100%; /* Cambia el tamaño de la tarjeta */
    min-width: 100%;
    padding: 12px; /* Ajusta el padding para pantallas pequeñas */
    transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease,
      padding 0.3s ease; /* Transición añadida para el ancho y el padding */
  }
}

/********content-cards*******/

/*****************/

.allergens {
  margin-top: 10px;
  text-align: center;
}

.allergens .alergenos-imagenes {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.allergens .alergeno-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.no-allergens {
  font-size: 1rem;
  color: #777;
}

/***********************************/
/*******modal*********/
/**********************************/
/***********************************/

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 300px;
}

.modal-content {
  margin: auto;
  display: block;
  width: 20%;
  height: 30vh; /* Usa vh para el alto relativo a la altura de la pantalla */
  object-fit: cover;
  border-radius: 8px;
  border: 5px solid white;
}

@media (max-width: 1024px) {
  .modal-content {
    width: 30%;
    height: 35vh; /* Ajusta según el tamaño de la pantalla */
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 50%;
    height: 40vh; /* Más grande en pantallas más pequeñas */
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 70%;
    height: 45vh; /* Ajuste para dispositivos móviles */
  }
}

/*
#caption {
    margin: auto;
    display: block;
    text-align: center; 
    color: white; 
    padding: 10px; 
}

*/

/****
.close {
    position: relative;
    top: -40px;
    right: 500px;
    width: 40px;
    height: 40px;
    background-color: brown;
    color: black;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    border-radius: 50%; 
    cursor: pointer;
    z-index: 10000;
}
***/

/************/
/****prices**/
/*************/
.price-container {
  display: flex; /* Habilita Flexbox */
  justify-content: center; /* Centra los elementos en el contenedor */
  align-items: center; /* Alinea verticalmente los elementos en el centro */
  width: 100%; /* Asegúrate de que ocupa todo el ancho disponible */
  margin-top: 10px; /* Espaciado superior */
}

.prices {
  color: black;
  font-weight: bolder; /* Negrita */
  text-align: center; /* Alinea el texto al centro */
  margin-right: 10px; /* Espaciado a la derecha para separar del precio */
}

.price {
  border: 1px solid #ccc;
  border-radius: 5px; /* Bordes redondeados */
  padding: 2px;
  background-color: brown; /* Color de fondo */
  color: #fff; /* Color del texto */
  display: inline-block; /* Asegura que el precio se comporte como un bloque en línea */
}

/**************imagenes comida*/

.cartel-alergenos {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: auto;
  position: relative;
}

/*********************/
/******cartel alergenos***/
/**************************/
.img-carta-alergenos {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.cartel-alergenos:hover .img-carta-alergenos {
  transform: scale(1.5);
}

@media (max-width: 767px) {
  .cartel-alergenos {
    overflow: visible;
  }

  .img-carta-alergenos {
    max-width: 300px;
    max-height: 200px;
    position: relative;
  }

  .cartel-alergenos:hover .img-carta-alergenos {
    transform: scale(1.5);
  }
}






/*******************************/
/*************iconos***********/
/*******************************/
.rest {
  text-align: center;
  padding: 15px 30px;
  margin: 40px auto;
  border: 3px solid orange;
  border-radius: 25px;
  font-size: 2.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo {
  width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.logo-container {
  width: 100%;
  margin: 0 auto 20px; /* Ajusta el margen inferior para separar el logo del texto */
  text-align: center;
  display: flex;
  justify-content: center;
}

.demos {
  font-size: 22px;
  font-weight: bolder;
}

@media (max-width: 767px) {
  .rest {
    font-size: 1.5rem; /* Ajusta el tamaño del texto para pantallas pequeñas */
    padding: 10px 20px;
  }

  .logo {
    width: 100px; /* Ajusta el tamaño del logo en dispositivos pequeños */
  }

  .demos {
    font-size: 18px;
  }
}
.disclaimer {
  font-size: 14px;
  color: #ffffff;
  margin-top: 20px;
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  opacity: 0.8;
}








/*****despalzamienyo dedo***/
@media only screen and (max-width: 768px) {
  .scrolling-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
  }
  .menu-filter {
    white-space: nowrap;
    display: flex;
  }
  .menu-filter button {
    flex: 0 0 100px;
    margin: 5px;
    scroll-snap-align: center;
  }
}

/*********************************/

/************tabs-info-card********/
/* Estilos base para las tabs */


/***boton subir arriba***/
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: orange;
  color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.scroll-to-top:hover {
  opacity: 0.8;
}
