/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kaushan Script", cursive;
  list-style: none;
  color: #774f38;

}

body {
  background-color: #ece5ce;
}

/* Header */

header {
  height: 300px;
  position: relative;
}

.header-img {
  background-image: url('../img/banner.png');
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-titulo {
  font-size: 2.5em;
  background-color: rgba(229, 221, 196, 0.75);
  /* fondo claro semitransparente */
  padding: 0.5em 1em;
  border-radius: 1em;
  font-weight: 600;
}

/* Nav */
nav {
  background-color: #c5e0dc;
}

.nav-link {
  color: #774f38;
  font-weight: bold;
  font-size: 1.7em;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #e08e79;
}


/* Main */

ul {
  padding: 0;
}

.titulo-productos-index {
  margin: 6rem 0 3rem 0;
}

.seccion-productos li {
  background-color: #f1d4af;
}

.card-productos {
  width: 20em;
  height: 20em;
  border-radius: 1.2rem;
  box-shadow: 0 4px 6px #774f3888;
}

.productos-img {
  width: 15em;
  height: 15em;
  object-fit: cover;
  border-radius: 1.2rem;
}

.banner {
  background-image: url("../img/alimentos.avif");
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
  opacity: 0.6; 
}
.banner-text {
  color: white;
  font-size: 3rem; 
  font-weight: bold;
  text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.829);
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.438);
  border-radius: 1em;
  padding: 2rem;

}

/* Pages Button */

button {
  background-color: #e08e79;
  color: #c5e0dc;
  border-color: #c5e0dc;
  border-radius: 0.8em;
  height: 2.5em;
  width: 6em;
}

/* Contacto Formulario */

.contacto-formulario {
  padding: 2rem;
}

/* Nosotros */

.nosotros-titulo{
  font-size: 2rem;
  font-weight: bold;
}
.nosotros-texto{
  padding: 0 3rem 0 3rem;
  font-size: 1.5rem;
}
.img-carrusel{
  width: 30rem;
  height: 30rem;
  object-fit: contain;
}

/* Frutos Secos */

.titulo-productos{
  text-align: center;
  margin: 1em 0;
  font-weight: bold;
}

.lista-productos{
  padding: 1rem;
  margin: 0 auto;
  max-width: 600px;
}

.lista-productos li{
  background-color: #f1d4af;
  margin: 0.5em 0;
  padding: 0.8em;
  border-radius: 0.5em;
  text-align: center;
  font-weight: 500;
  font-size: 1.3rem;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #774f38;
  color: #c5e0dc;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}
footer p{
  padding-top: 0.5rem;
  font-size: 1.3rem;
}

.redes {
  width: 4rem;
  height: 4rem;
}

@media only screen and (min-width: 900px) {
  .contacto-formulario {
    max-width: 60%;
    margin: 0 auto;
    font-size: 1.6rem;
  }
  .btn{
    font-size: 1.6rem;
  }
}