div.gallery {
  border: 1px solid hsl(35, 70%, 95%);
}

div.gallery:hover {
  border: 1px solid var(--clr-gold);
}

div.desc {
  padding: 15px;
  text-align: center;
  font-family: var(--ff-tertiary);
  font-size: 2vw;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 32.99999%;
}


.image-container {
  position: relative;
  width: 25vw;
  height: 22vw;
}

.image {
  position: absolute;
  top: 2vw;
  left: 1.2vw;
  width: 21vw;
  height: 19vw;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 25vw;
  height: auto;
  opacity: 100; /* Ajusta la opacidad según sea necesario */
}




@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }

  div.desc {
    font-size: 1rem;
  }

  .image-container {
    position: relative;
    width: 25vw;
    height: 35vw;
  }

  .image {
    position: absolute;
    top: 3vw;
    left: 2vw;
    width: 32vw;
    height: auto;
  }
  
  .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 38vw;
    height: auto;
    opacity: 100; /* Ajusta la opacidad según sea necesario */
  }

}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }

  div.desc {
    font-size: 2rem;
  }

  .image-container {
    position: relative;
    width: 25vw;
    height: 87vw;
  }

  .image {
    position: absolute;
    top: 7vw;
    left: 5vw;
    width: 80vw;
    height: auto;
  }
  
  .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 95vw;
    height: auto;
    opacity: 100; /* Ajusta la opacidad según sea necesario */
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
