
.gallery-container {
    width:80%;
    margin-left: auto;
    margin-right:auto;
    background-color: rgba(0,255,255, 0.0);
    text-align:center;
  }
  
  .wrapper-gallery {
    background-color: rgba(0,0,255, 0.0);
    margin: 0 0;
  }
  
  /* Gallery Container */

    /* GRID */

    #index-gallery {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr; 
      /* grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); */
      grid-template-rows: auto;
      gap: 10px;
      background-color: rgba(255,255,0, 0.0);
      justify-content: space-evenly;
      align-items: center;
      width:100%;
      height:100%;
      margin: 0;
    }
  
    #index-gallery .gallery-img {
      width: 100%;
      height: 100%;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      cursor: pointer;
      background-color: rgba(255,0,0, 0.5);
      margin:0;
    }
  
    /* END GRID */
  
  /* Images */
  
  #index-gallery p {
    background-color: rgba(255,0,0, 0.0);
    /* grid-area: gallery-p; */
  }
  
  #index-gallery h2 {
    background-color: rgba(255,0,0, 0.0);
    /* grid-area: gallery-h2; */
  }

  #index-gallery .img1 {
      /* grid-area: img1; */
    background-image: url("../img/port/port16/thm/img1.jpg");
  }
  
  #index-gallery .img2 {
      /* grid-area: img2; */
    background-image: url("../img/port/port16/thm/img2.jpg");
  }
  
  #index-gallery .img3 {
      /* grid-area: img3; */
    background-image: url("../img/port/port16/thm/img3.jpg");
  }
  
  #index-gallery .img4 {
      /* grid-area: img4; */
    background-image: url("../img/port/port16/thm/img4.jpg");
  }

  #index-gallery .img5 {
    /* grid-area: img3; */
    background-image: url("../img/port/port16/thm/img5.jpg");
}

  #index-gallery .img6 {
    /* grid-area: img4; */
    background-image: url("../img/port/port16/thm/img6.jpg");
}

    #index-gallery .img7 {
        /* grid-area: img1; */
    background-image: url("../img/port/port16/thm/img7.jpg");
}

    #index-gallery .img8 {
        /* grid-area: img2; */
    background-image: url("../img/port/port16/thm/img8.jpg");
}

    #index-gallery .img9 {
        /* grid-area: img3; */
    background-image: url("../img/port/port16/thm/img9.jpg");
}

    #index-gallery .img10 {
        /* grid-area: img4; */
    background-image: url("../img/port/port16/thm/img10.jpg");
}

    #index-gallery .img11 {
    /* grid-area: img3; */
    background-image: url("../img/port/port16/thm/img11.jpg");
}

    #index-gallery .img12 {
    /* grid-area: img4; */
    background-image: url("../img/port/port16/thm/img12.jpg");
}

  /* Gallery image titles */
  
  .gallery-img div {
    width:100%;
    height:auto;
    aspect-ratio: 1 / 1;
    background-color: rgba(12,93,120, 1.0);
    opacity: 0;
    display:flex;
    justify-content:center;
    align-items: center;
    cursor: pointer;
  }
  
  .gallery-img a {
  display:flex;
  justify-content:center;
  align-items: center;
  width:100%;
  height:auto;
  aspect-ratio: 1 / 1;
  background-color: rgba(255,255,255, 0.0);
  font-family: 'Pierson-Light', serif;
  font-size: 2rem;
  color: rgba(0,0,0, 0.0);
  text-decoration: none;
  text-transform: uppercase;
  }
  
  .gallery-img div:hover {
    opacity: 0.8;
    transition: all ease-in-out 100ms;
  }

  /* Popup window when clicked */

 .img-window {
    width:100%;
    height:100%;
    background-color: rgba(0,0,0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content:center;
    align-items: center;
    z-index: 100;
  }
  
  .img-window img{
    max-height: 80vh;
    max-width: 80vw;
  }

  /* Next img styling */
  
 .img-btn-next {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: rgba(1,1,1, 1.0);
    position: fixed;
    top: 48vh;
    z-index: 500;
    font-family: Arial, sans-serif;
    color: rgba(255,255,255, 1.0);
    cursor: pointer;
    text-transform: uppercase;
  }
  
  .img-btn-next:hover {
    opacity: 0.8;
  }
  
  .img-btn-prev {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: rgba(1,1,1, 1.0);
    position: fixed;
    top: 48vh;
    z-index: 500;
    font-family: Arial, sans-serif;
    color: rgba(255,255,255, 1.0);
    cursor: pointer;
    text-transform: uppercase;
  }
  
  .img-btn-prev:hover {
    opacity: 0.8;
  }