/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.pc_gallery {
  width: 80%;
  margin: 100px auto 50px;
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
}

.pc_gallery img {
  width: 80%;
  cursor: pointer;
  transition: 1s ease;
}

.pc_gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 32px 75px rgba(68, 77, 135, 0.2);
}

.pc_gallery img[data-have="missing"] {
    filter: grayscale(100%);
    opacity: 0.6;
}

/* Wrapper */
.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: 100;
}

/*.imageWrapper img {*/
    /* width: 90%; */
    /*max-height: 500px;
}*/

.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-height: 80%;
  max-width: 90%;
  gap: 20px;
}

.modalContent img {
  max-height: 500px;
  object-fit: contain;
}

.infoText {
  color: #000;
  max-width: 300px;
}

/*.imageWrapper span {
    position: absolute;
    top: 5%;
    right: 5%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}*/

.close-btn {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
}

.prev-btn {
    position: absolute;
    left: 5%;
}

.next-btn {
    position: absolute;
    right: 5%;
}