
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #111111;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

.contenedor {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 30px;
}

h1 {
  font-size: 2rem;
  color: violet;
}

h2 {
  font-size: 1rem;
  color: #ccc;
}

/* Galería estilo Pinterest */
.galeria {
    grid-template-columns:repeat(auto-fit, minmax(400px,1fr));
  column-count: 2;
  column-gap: 10px;
  padding: 10px;
}

@media (min-width: 1024px) {
  .galeria {
    column-count: 2;
  }
}

/*@media (min-width: 1024px) {
  .galeria {
    column-count: 4;
  }
}*/

.galeria a {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
}

.galeria img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria a:hover img {
  transform: scale(1.02);
  box-shadow: 0 0 10px violet;
}
/*
html, body {
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: #111111;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

.contenedor {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  flex: 0 0 80px;
  text-align: center;
  padding: 10px;
}

h1 {
  font-size: 2rem;
  color: violet;
}

h2 {
  font-size: 1rem;
  color: #ccc;
}

.galeria {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));    
  gap: 6px;
  padding: 6px;
}


.galeria img {

  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.galeria a:hover img {
  transform: scale(1.02);
  box-shadow: 0 0 10px violet;
}*/