.img-galeria{
  object-fit: cover;
  /*width: 30%;*/
  display: inline-block;
  margin-bottom: 15px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.49);
  cursor: pointer;
}

/*---Lightbox---*/

.imagen-light{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  transform: translate(100%);
  transition: transform .2s ease-in-out;
  z-index: 10000;
}

.slideshow{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.49);
  backdrop-filter: blur(5px);
  color: #323232;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.agregar-imagen{
  object-fit: cover;
  width: 80%;
  height: auto;
  border-radius: 10px;
  transform: scale(0);
  transition: transform .3s .2s;
}

.btn-cerrar{
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 35px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.botones{
  background-color: rgba(0, 0, 0, 0.49);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.atras{
  left: 20px;
}

.adelante{
  right: 20px;
}

.show{
  transform: translate(0);
}

.showImage{
  transform: scale(1);
}

@media screen and (min-width: 900px) {
  .agregar-imagen{
      width: auto;
      height: 80%;
  }
}