body {
    background-color: currentColor;
}
h2 {
    color: white;
    text-align: center;
    margin-top: 2%;
}
h6 {
    color: white;
    text-align: center;
    font-weight: 100;
    margin-bottom: 2%;
}
h7 {
    color: white;
    text-align: center;
    font-weight: 100;
    margin-bottom: 5%;
    font-size: 13pt;
    display: none;
}
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: white;
  transition: transform 0.3s;
}

.item:hover {
  cursor: pointer;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
}

.zoomed {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 15%;
  transform: translate(-50%, -50%) scale(2);
  z-index: 999;
  border-radius: 10px;
  cursor: pointer;
  width: auto !important;
  height: 350px !important;
}

.zoomedPrompt {
  display: block !important;
  position: absolute;
  left: 70%;
  width: 15%;
  transform: translate(-50%, -50%) scale(2);
  z-index: 999;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  font-size: 10pt;
  text-align: justify;
  top: 200px !important;
}

#zoomedOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1); /* Initially transparent */
}
.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  z-index: 999;
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-device-width: 1660px) {
  .zoomed {
    top:35% !important;
    left: 50% !important;
    height: 250px !important;
  }
  .zoomedPrompt {
    top: 70vh;
    left: 50%;
    font-size: 10pt;
    text-align: center;
    width: 35%;
  }
  
  @media (min-height: 500px) {
    .zoomed {
      top: 32.5% !important;
      height: 200px !important;
    }
    .zoomedPrompt {
      font-size: 10px !important;
      text-align: center;
      width: 35%;
      top: 70vh !important;
    }
  }
}
@media((min-device-width: 400px) and (max-device-width:1093px)) {
  h2{
    margin-top: 5%;
  }
  h6 {
    margin-bottom: 0%;
  }
  h7 {
    display: block;
  }
}