/* Vista principal */
.galeriaContent {
  display: grid;
  grid-auto-rows: 400px;
  grid-gap: 5px;
  padding: 10px;
}

.galeriaImagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
/* ----------------------------- */

/* Vista completa */
.fullImgContent {
  width: 100%;
  height: 101vh;
  background-color: rgb(0, 0, 0);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  align-content: center;
  justify-content: center;
  z-index: 500;
}

.fullImg {
  max-width: 90%;
  max-height: 90%;
}

.btnCloseImg {
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 3.5em;
  color: white;
  cursor: pointer;
}

.btnRightImg {
  position: absolute;
  top: 50%;
  right: 2%;
  font-size: 3em;
  color: white;
  cursor: pointer;
}

.btnLeftImg {
  position: absolute;
  top: 50%;
  left: 2%;
  font-size: 3em;
  color: white;
  cursor: pointer;
  height: 100px;
}

.btnCloseImg:hover {
  color: #d71434;
  transform: scale(1.1);
  transition: all 50ms ease-out;
}
.btnRightImg:hover {
  color: #389e24;
  transform: scale(1.1);
  transition: all 50ms ease-out;
}
.btnLeftImg :hover {
  color: #389e24;
  transform: scale(1.1);
  transition: all 50ms ease-out;
}

.btnCargarFotos {
  color: #fff;
  width: 100%;
  border: 0;
  background: #011a38;
  padding: 16px 37px;
  border-radius: 50px;
  font-size: 1.8em;
}

.btnCargarFotos:hover {
  background: #389e24;
  transition: background-color 0.35s;
}
/* ----------------------------- */

.galeriaImagen:hover {
  transform: scale(1.015);
  transition: all 200ms ease-out;
  border-radius: 4px;
}

@media (min-width: 1401px) {
  .galeriaContent {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 701px) and (max-width: 1400px) {
  .galeriaContent {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 700px) {
  .galeriaContent {
    grid-template-columns: repeat(1, 1fr);
  }
  .galeriaItem:nth-child(n) {
    grid-row-start: span 1;
    grid-column-start: span 1;
  }
}

.encimarElemento {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
