.main-content {
  position: relative;
  max-width: 1620px;
  height: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 25px;
}

.blog_srhop {
  margin: auto;
  height: 85%;
  width: 100%;
  opacity: 0;
}

.blog_title {
  text-align: center;
}

.img_blog {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 3rem;
  width: 100%;
  height: 60%;
  background-color: rgb(190, 190, 190);
  overflow: hidden;
}

.img_blog.one {
  transition: transform 0.2s ease-in-out;
}

.img_blog.one::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/BrewerSr.Hop.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.one:hover::after {
  transform: scale(1.1);
}

.img_blog.two {
  transition: transform 0.2s ease-in-out;
}

.img_blog.two::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/blog_2.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.two:hover::after {
  transform: scale(1.1);
}

.img_blog.three {
  transition: transform 0.2s ease-in-out;
}

.img_blog.three::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/Blog_tropicalg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.three:hover::after {
  transform: scale(1.1);
}

.img_blog.four {
  transition: transform 0.2s ease-in-out;
}

.img_blog.four::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/Blog_maridaje.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.four:hover::after {
  transform: scale(1.1);
}

.img_blog.five {
  transition: transform 0.2s ease-in-out;
}

.img_blog.five::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/Blog_cata.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.five:hover::after {
  transform: scale(1.1);
}

.img_blog.six {
  transition: transform 0.2s ease-in-out;
}

.img_blog.six::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url(IMG/Blog_mitos.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease-in-out;
}

.img_blog.six:hover::after {
  transform: scale(1.1);
}

.content_blog {
  text-align: justify;
  margin-bottom: 25px;
}

.content_blog h5 {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
}

.content_blog p {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
}

.content_blog .btn-yes {
  margin-left: 0;
}

.blog_title {
  font-size: 1.3rem;
}

@media (max-width: 500px) {
  html,
  body {
    overflow-x: hidden; /* Eliminar scroll horizontal */
    overscroll-behavior: none; /* Evitar forzar scroll extra */
    margin: 0; /* Eliminar márgenes que puedan causar desplazamiento */
    padding: 0;
    /* Elimina esta línea para que se mantenga el scroll vertical */
    /* overflow-y: hidden; */ /* Esta línea estaba bloqueando el scroll vertical */
  }

  body {
    touch-action: manipulation; /* Mejora la experiencia en dispositivos táctiles */
  }

  .main-content {
    height: 3800px;
    position: relative;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .img_blog {
    position: relative;
    display: grid;
    place-items: center;
    font-size: 3rem;
    width: 100%;
    height: 300px;
    background-color: rgb(190, 190, 190);
    overflow: hidden;
  }

  .content_blog {
    margin-bottom: 0;
  }

  .blog_title {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .blog_srhop {
    height: 600px;
    width: 100%;
    opacity: 0;
  }

  .content_blog h5 {
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
  }
}
