.art_gallery {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
  gap: 20px;
}

.art_gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art_gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.imageWrapper {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 90%;
  max-width: 90%;
  gap: 15px;
}

.modalContent img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.infoText {
  color: #fff;
  text-align: center;
  /*font-family: sans-serif;*/
  font-size: 1.2rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s;
}
.nav-btn:hover { color: #ccc; scale: 1.1; }

.prev-btn { left: 20px; }
.next-btn { right: 20px; }