body {
  margin: 0;
  padding: 0;
  background-color: transparent;
}

.mainRecetas {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image: url("/images/Lienzo01vero.jpeg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Título 'RECETAS' con línea blanca inferior */
#recetas {
  padding: 0.5rem;
  border-bottom: 1px solid white;
  width: 100%;
}

/* Subtítulos alineados al centro */
.subtitulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.5rem;
}

/* Cards contenedoras de recetas */
.recetas_subidas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Grilla de cards */
.moverlo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 1rem;
  max-width: 95vw;
  justify-content: center;
}

/* Estilo individual de cada card */
.card {
  width: 100%;
  max-width: 12rem;
  padding: 0.4rem;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
}

/* Título de la card */
.card-title {
  font-size: 13px;
  margin-bottom: 0.4rem;
  color: white;
}

/* Contenido interno de la card */
.card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

/* Imagen de la card */
.card-img-top {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Botón de 'Consultar' */
.consultar {
  margin-top: 1.5rem;
}

.consultar a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid white;
  padding: 6px 10px;
  font-weight: 500;
  border-radius: 6px;
  backdrop-filter: blur(3px);
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.consultar a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .moverlo {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .moverlo {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    max-width: 12rem;
  }
}

@media screen and (max-width: 480px) {
  .moverlo {
    grid-template-columns: 1fr;
  }
}

.container-allMain {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
#recetas h2 {
  color: white;
  font-size: 22px; /* solo el título 'RECETAS' */
}

