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

#hero-header {
  width: 100%;
  min-height: 40vh;
  background: url('../../assets/imagenes/restaurant/bagazo2.webp') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

#hero-header {
  position: relative;
}

#hero-header > .container {
  position: relative;
  z-index: 1;
}

.container h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#p-hero {
  color: #fff;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

main {
  min-height: 40vh;
}


input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.searchContainer i {
  pointer-events: none;
  color: #aaa;
}

.img-receta {
  height: 200px;   
  object-fit: cover;   
  width: 100%;      
}

.card {
  max-width: 320px;
  border: 1 solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border: 1px solid #aaa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}