@charset "UTF-8";
/*reset*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* estilos del body y main */
body {
  background-color: rgb(221, 207, 192);
  font-family: "Nunito Sans", sans-serif;
  color: #333;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* encabezados*/
h1 {
  color: blanchedalmond;
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

h2, h3 {
  font-family: "Martian Mono", monospace;
  color: rgb(204, 56, 11);
  font-weight: 700;
}

h3 {
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
  text-decoration: underline;
}

/*parrafos*/
p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  text-indent: 2em;
}

/* links */
a {
  color: #0f0202;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: rgb(145, 14, 20);
  text-decoration: underline;
}

.custom-nav {
  font-family: "Martian Mono", monospace;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 10px 20px;
}
.custom-nav .navbar-brand {
  color: #141413;
  font-weight: bold;
  letter-spacing: 1px;
}
.custom-nav .navbar-brand:hover {
  color: rgb(145, 14, 20);
  transition: transform 0.3s ease-in-out;
}
.custom-nav .navbar-brand:hover:hover {
  transform: scale(1.05);
}
.custom-nav .nav-link {
  color: #000;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
}
.custom-nav .nav-link:hover {
  transform: scale(1.05);
}
.custom-nav .nav-link:hover, .custom-nav .nav-link.active {
  color: rgb(145, 14, 20);
  text-decoration: underline;
}

.titulo {
  background-color: #af4609;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  border-radius: 8px;
  margin: 20px 15px;
}
.titulo h1 {
  animation: fadeInDown 1s ease-in-out;
}

.introduccion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 20px;
  padding: 10px;
  background-color: rgba(20, 20, 19, 0.32);
  color: blanchedalmond;
  border-radius: 8px;
}
.introduccion .texto-introduccion {
  flex: 1;
  font-weight: bold;
  margin: 20px;
  min-width: 250px;
}
.introduccion img {
  max-width: 100%;
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}
.introduccion img:hover {
  animation: pulse 0.6s infinite;
}

.subtextos-introduccion {
  margin-top: 30px;
}

/* contenedores receta */
.contenido-introduccion,
.contenido,
.consejos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* titulos */
h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
}

h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

p, li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/*  ingredientes + videos */
.fila-ingredientes_video {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /*desktop por defecto */
}

/*tarjetas */
.ingredientes,
.tarjeta-video,
.pasos {
  background-color: #fff3e0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ingredientes y video desktop */
.ingredientes {
  flex: 0 0 25%;
}

.tarjeta-video {
  flex: 0 0 75%;
}

.pasos {
  flex: 1 1 100%;
  margin-top: 20px;
}


.tarjeta-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
}

/*listas*/
ul, ol {
  margin-left: 20px;
}

/* enlace "volver a" */
.volver a {
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  color: #ff7043;
  transition: color 0.3s;
}

.volver a:hover {
  color: #ffa726;
}

/*footer*/
footer {
  text-align: center;
  padding: 15px;
  background-color: #fff3e0;
  margin-top: 30px;
}

/* media */
@media (max-width: 600px) {
  .contenido-introduccion,
  .contenido,
  .consejos {
    padding: 15px;
  }
  .fila-ingredientes_video {
    flex-direction: column;
    gap: 15px;
  }
  .ingredientes,
  .tarjeta-video,
  .pasos {
    flex: 1 1 100%;
    padding: 15px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  p, li {
    font-size: 14px;
  }
}
/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  .contenido-introduccion,
  .contenido,
  .consejos {
    padding: 18px;
  }
  .fila-ingredientes_video {
    flex-wrap: wrap;
  }
  .ingredientes {
    flex: 0 0 35%;
  }
  .tarjeta-video {
    flex: 0 0 60%;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  p, li {
    font-size: 15px;
  }
}

@media (min-width: 1025px) {
  .contenido-introduccion,
  .contenido,
  .consejos {
    padding: 20px;
  }
  .ingredientes {
    flex: 0 0 25%;
  }
  .tarjeta-video {
    flex: 0 0 75%;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  p, li {
    font-size: 16px;
  }
}
#carrusel_curiosidades {
  max-width: 600px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
}
#carrusel_curiosidades img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
}

footer {
  background-color: #af4609;
  color: blanchedalmond;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  border-radius: 8px;
  margin: 20px 15px;
  text-align: center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2, h3 {
    font-size: 1.1rem;
  }
  .introduccion {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 768px) and (min-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  .introduccion {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.Formulario {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: #fff3e0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-in-out;
}
.Formulario form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.Formulario label {
  font-weight: bold;
  color: #af4609;
}
.Formulario input,
.Formulario textarea {
  padding: 0.8rem;
  border: 1px solid rgb(255, 194.2, 103);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}
.Formulario input:focus,
.Formulario textarea:focus {
  outline: none;
  border-color: #af4609;
  box-shadow: 0 0 10px rgba(175, 70, 9, 0.4);
}
.Formulario textarea {
  min-height: 120px;
  resize: vertical;
}
.Formulario button {
  background: #af4609;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.Formulario button:hover {
  background: rgb(223.5054347826, 89.402173913, 11.4945652174);
  animation: pulse 0.6s infinite;
}

@media (max-width: 480px) {
  .Formulario {
    margin: 20px;
    padding: 15px;
  }
  .Formulario input,
  .Formulario textarea {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
  .Formulario button {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}
@media (max-width: 768px) and (min-width: 480px) {
  .Formulario {
    max-width: 400px;
    margin: 30px auto;
    padding: 18px;
  }
  .Formulario input,
  .Formulario textarea {
    font-size: 0.95rem;
    padding: 0.7rem;
  }
  .Formulario button {
    font-size: 0.95rem;
    padding: 0.75rem 1.1rem;
  }
}/*# sourceMappingURL=style.css.map */