.productos {
  padding: 32px 0;
}

.productos .wrapper h2 {
  font-size: 3.5rem;
  text-align: center;
  font-family: "Copperplate Gothic";
  text-transform: uppercase;
  color: #0e519d;
  margin-bottom: 1.6rem;
}

.productos .wrapper p {
  width: 50%;
  margin: auto;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.3;
}

.productos .prods {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 4rem;
}

.productos .prods li {
  padding: 5px;
  width: 25%;
  cursor: pointer;
}

.productos .prods li a {
  display: block;
  width: 100%;
  height: 100%;
}

.productos .prods li .bg {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.productos .prods li:first-child .bg {
  background: url("../images/pastas_rellenas.jpg");
  background-size: cover;
  background-position: center;
}

.productos .prods li:nth-child(2) .bg {
  background: url("../images/pastas_sin_relleno.jpg");
  background-size: cover;
  background-position: center;
}

.productos .prods li:nth-child(3) .bg {
  background: url("../images/pizza.jpg");
  background-size: cover;
  background-position: center;
}

.productos .prods li:last-child .bg {
  background: url("../images/prod8.jpg");
  background-size: cover;
  background-position: center;
}

.productos .prods li .bg h2 {
  color: #fff;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  transition: font-size 0.5s;
}

.productos .prods li:hover .bg h2 {
  font-size: 3.3rem;
}

@media screen and (max-width: 768px) {
  .productos .wrapper h2 {
    font-size: 3rem;
  }
  .productos .wrapper p {
    width: 80%;
  }
  .productos .prods {
    margin-top: 2rem;
  }
  .productos .prods li {
    width: 50%;
  }
  .productos .prods li .bg {
    min-height: 200px;
  }
  .productos .prods li .bg h2 {
    font-size: 2rem;
  }
}
