* {
  padding: 0;
  margin: 0;
}

body {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;

  overflow-x: hidden;
  background-color: #1f1f1f;
  min-width: 100vw;
  transition: 600ms ease-in-out !important;

  position: relative; /*OJO*/

  box-sizing: border-box;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: normal;
  padding: 1rem;
  background-color: #1f1f1f;
  color: #eaeaea;
  /* margin: 1rem; */
  overflow-x: auto;
  position: relative;
  width: 100vw;
  box-sizing: border-box;
}

/* ICONOS DENTRO DE CONTENEDOR IMAGENES */

.container-images {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: 10px;
  padding: 1rem;
  margin: 1rem;
  border: 3px solid #7360df;
  background-color: #2d2d44;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  box-sizing: border-box;
}

.container-images.album {
  grid-template-columns: repeat(5, minmax(250px, 1fr));
}

.container-images.video {
  grid-template-columns: repeat(5, minmax(250px, 1fr));
}

.container-images img {
  width: 100%;
  height: auto;
  /* height: 100%;
  object-fit: cover; */

  border-radius: 10px;
}

.container-images video {
  width: 100%;
  height: auto;
  /* height: 100%;
  object-fit: cover; */

  border-radius: 10px;
}

.container-images img,
.container-images video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #3c3c54;
}

main .title {
  color: white;
  font-size: 1.5rem;
  font-weight: bolder;
  align-self: center;
  text-align: center !important;
}

.imagen-zoom {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100vh;
  /* width: 100%;
  height: 100%; */

  background-color: rgb(31, 31, 31, 0.9);
  overflow-x: auto;
}

.imagen-zoom.visible {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#imagenZoom {
  height: 100vh;

  /* object-fit: cover; */
}

#imageClose {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 5rem;
  height: 5rem;
  z-index: 10;
  cursor: pointer;
  overflow-x: scroll;
  opacity: 0.5;
}

#imageBorrar {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 5rem;
  height: 5rem;
  z-index: 50;
  cursor: pointer;
  overflow-x: scroll;
  opacity: 0.5;
}

#imageEnter {
  position: absolute;
  top: 140px;
  right: 20px;
  width: 5rem;
  height: 5rem;
  z-index: 50;
  cursor: pointer;
  overflow-x: scroll;
  opacity: 0.5;
}

#imageNext {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8rem;
  height: 8rem;
  z-index: 50;
  cursor: pointer;
  overflow-x: scroll;

  opacity: 0.5;
}

#imageLeft {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 8rem;
  height: 8rem;
  z-index: 50;
  cursor: pointer;
  overflow-x: scroll;

  opacity: 0.5;
}

#tituloImagen {
  position: absolute;

  top: 0;
  font-size: 0.7rem;
  z-index: 51;
  opacity: 0.5;
}

.container-images.top.ocultar {
  display: none;
}

/* HTML: <div class="loader"></div> */
.loader {
  margin: auto;
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 720px) {
  #imagenZoom {
    height: 50vh;
  }

  #imageLeft,
  #imageNext,
  #imageEnter,
  #imageBorrar,
  #imageClose {
    width: 4rem;
    height: 4rem;
  }

  /* .imagen-zoom.visible {

  } */
}

/* BARRA DE DESPLAZAMIENTO */

/* Grosor */
::-webkit-scrollbar {
  height: 8px;
}

/* Color y borde */
::-webkit-scrollbar-thumb {
  background: #5c5470;
  border-radius: 4px;
}

/* Color de fondo de barra */
::-webkit-scrollbar-track {
  background: #363062;
}

/* Oculta el input */
.input-box #fileInputI {
  display: none;
}
