.gallerytasp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}
.gallerytasp img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.gallerytasp img:hover {
  transform: scale(1.05);
}

.imgboxtasp {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.imgboxtasp img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.imgboxtasp .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}
.imgboxtasp .prev { left: 30px; }
.imgboxtasp .next { right: 30px; }
.imgboxtasp .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

